summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-02 17:51:49 (GMT)
committerBrad King <brad.king@kitware.com>2009-10-02 17:51:49 (GMT)
commit57df2abca804dd8e98d000441fc0035eef9d4829 (patch)
tree2de2390a8c812bba6d1ce203c897c9f2aec93844 /Source/cmMakefileTargetGenerator.h
parentd455eeb6d7f178df4b8b199af540626a26722bb6 (diff)
downloadCMake-57df2abca804dd8e98d000441fc0035eef9d4829.zip
CMake-57df2abca804dd8e98d000441fc0035eef9d4829.tar.gz
CMake-57df2abca804dd8e98d000441fc0035eef9d4829.tar.bz2
Centralize language flag addition for Makefiles
We create cmMakefileTargetGenerator::AddFeatureFlags to consolidate addition of language flags. Currently it just adds the flags from generic per-language flag variables (AddLanguageFlags).
Diffstat (limited to 'Source/cmMakefileTargetGenerator.h')
-rw-r--r--Source/cmMakefileTargetGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmMakefileTargetGenerator.h b/Source/cmMakefileTargetGenerator.h
index 6878e06..d72bdce 100644
--- a/Source/cmMakefileTargetGenerator.h
+++ b/Source/cmMakefileTargetGenerator.h
@@ -220,6 +220,9 @@ protected:
// Helper to add flag for windows .def file.
void AddModuleDefinitionFlag(std::string& flags);
+ // Add language feature flags.
+ void AddFeatureFlags(std::string& flags, const char* lang);
+
//==================================================================
// Convenience routines that do nothing more than forward to
// implementaitons