diff options
author | Brad King <brad.king@kitware.com> | 2014-06-03 17:34:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-09 14:59:48 (GMT) |
commit | ee329d543c558a2064edc805b08f337bd31ab1fd (patch) | |
tree | 2e5449a63965ae6991a9d7ea51ae81110d044bde /Source/cmVisualStudio10TargetGenerator.h | |
parent | 9e8fa1043ce9bfcffdcfa395f618dd7958ef4251 (diff) | |
download | CMake-ee329d543c558a2064edc805b08f337bd31ab1fd.zip CMake-ee329d543c558a2064edc805b08f337bd31ab1fd.tar.gz CMake-ee329d543c558a2064edc805b08f337bd31ab1fd.tar.bz2 |
VS: Refactor flag table lookup
In cmVisualStudio10TargetGenerator, convert the static functions
currently used to lookup the flag table for each tool into class
methods. This avoids passing the this->LocalGenerator member and
gives the methods access to other information that may be useful
in the future.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.h')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h index d72c6fd..67a2488 100644 --- a/Source/cmVisualStudio10TargetGenerator.h +++ b/Source/cmVisualStudio10TargetGenerator.h @@ -23,6 +23,7 @@ class cmCustomCommand; class cmLocalVisualStudio7Generator; class cmComputeLinkInformation; class cmVisualStudioGeneratorOptions; +struct cmIDEFlagTable; #include "cmSourceGroup.h" class cmVisualStudio10TargetGenerator @@ -98,6 +99,10 @@ private: const std::vector<cmSourceGroup>& allGroups); bool IsResxHeader(const std::string& headerFile); + cmIDEFlagTable const* GetClFlagTable() const; + cmIDEFlagTable const* GetLibFlagTable() const; + cmIDEFlagTable const* GetLinkFlagTable() const; + private: typedef cmVisualStudioGeneratorOptions Options; typedef std::map<std::string, Options*> OptionsMap; |