diff options
author | Brad King <brad.king@kitware.com> | 2010-12-07 18:44:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-12-08 22:29:20 (GMT) |
commit | 6fe5b3db0b2ca3f9203a54589de0d744d59744c0 (patch) | |
tree | bbecd5ad76c08d490399c7b6877236c8baf8fa91 /Source/cmLocalVisualStudioGenerator.h | |
parent | ced1d5eccd4ae08a6431a5c163be3dd52ca9d59a (diff) | |
download | CMake-6fe5b3db0b2ca3f9203a54589de0d744d59744c0.zip CMake-6fe5b3db0b2ca3f9203a54589de0d744d59744c0.tar.gz CMake-6fe5b3db0b2ca3f9203a54589de0d744d59744c0.tar.bz2 |
Simplify VS generator ConstructScript interface
Pass to cmLocalVisualStudioGenerator::ConstructScript a cmCustomCommand
instance instead of extracting arguments at all call sites.
Diffstat (limited to 'Source/cmLocalVisualStudioGenerator.h')
-rw-r--r-- | Source/cmLocalVisualStudioGenerator.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmLocalVisualStudioGenerator.h b/Source/cmLocalVisualStudioGenerator.h index 6034b22..551b01c 100644 --- a/Source/cmLocalVisualStudioGenerator.h +++ b/Source/cmLocalVisualStudioGenerator.h @@ -18,6 +18,7 @@ class cmSourceFile; class cmSourceGroup; +class cmCustomCommand; /** \class cmLocalVisualStudioGenerator * \brief Base class for Visual Studio generators. @@ -31,11 +32,8 @@ public: cmLocalVisualStudioGenerator(); virtual ~cmLocalVisualStudioGenerator(); /** Construct a script from the given list of command lines. */ - std::string ConstructScript(const cmCustomCommandLines& commandLines, - const char* workingDirectory, + std::string ConstructScript(cmCustomCommand const& cc, const char* configName, - bool escapeOldStyle, - bool escapeAllowMakeVars, const char* newline = "\n"); protected: |