diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-09-15 23:16:43 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2012-09-19 13:31:29 (GMT) |
commit | 78bfee35d5bd5cba879d92eda4310d25bc54b30e (patch) | |
tree | b8263240be0775e713a985546a2176ca8ac49fb5 /Source/cmLocalGenerator.h | |
parent | 4f5384e75c6a00d110d3fa3f555a3f6a4f31bb46 (diff) | |
download | CMake-78bfee35d5bd5cba879d92eda4310d25bc54b30e.zip CMake-78bfee35d5bd5cba879d92eda4310d25bc54b30e.tar.gz CMake-78bfee35d5bd5cba879d92eda4310d25bc54b30e.tar.bz2 |
Make cmLocalGenerator::AddArchitectureFlags take a cmGeneratorTarget.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index b3396e3..e371e40 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -16,6 +16,7 @@ class cmMakefile; class cmGlobalGenerator; +class cmGeneratorTarget; class cmTarget; class cmTargetManifest; class cmSourceFile; @@ -135,7 +136,7 @@ public: std::vector<cmLocalGenerator*>& GetChildren() { return this->Children; }; - void AddArchitectureFlags(std::string& flags, cmTarget* target, + void AddArchitectureFlags(std::string& flags, cmGeneratorTarget* target, const char *lang, const char* config); void AddLanguageFlags(std::string& flags, const char* lang, @@ -354,12 +355,12 @@ protected: /** Convert a target to a utility target for unsupported * languages of a generator */ - void AddBuildTargetRule(const char* llang, cmTarget& target); + void AddBuildTargetRule(const char* llang, cmGeneratorTarget& target); ///! add a custom command to build a .o file that is part of a target void AddCustomCommandToCreateObject(const char* ofname, const char* lang, cmSourceFile& source, - cmTarget& target); + cmGeneratorTarget& target); // Create Custom Targets and commands for unsupported languages // The set passed in should contain the languages supported by the // generator directly. Any targets containing files that are not |