diff options
author | Brad King <brad.king@kitware.com> | 2009-03-04 15:38:47 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-03-04 15:38:47 -0500 |
commit | d35651fb6c59904b3b004474a5501280e694d37c (patch) | |
tree | 65c2683c707c50eed4867b52eebae1a204d746f4 /Source/cmGlobalGenerator.h | |
parent | f9dd6a38c54c94c24e09e6bec00d1bc9fa9a4023 (diff) | |
download | cmake-d35651fb6c59904b3b004474a5501280e694d37c.tar.gz |
ENH: Extend GG::Build method for pre-parsed args
This adds an argument to the cmGlobalGenerator::Build method to pass a
vector of arguments for the native build tool programatically.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 2d8ffb66d3..c3c2ef5f27 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -100,13 +100,15 @@ public: * empty then all is assumed. clean indicates if a "make clean" should be * done first. */ - virtual int Build(const char *srcdir, const char *bindir, - const char *projectName, const char *targetName, - std::string *output, - const char *makeProgram, const char *config, - bool clean, bool fast, - double timeout, bool verbose=false, - const char* extraOptions = 0); + int Build(const char *srcdir, const char *bindir, + const char *projectName, const char *targetName, + std::string *output, + const char *makeProgram, const char *config, + bool clean, bool fast, + double timeout, bool verbose=false, + const char* extraOptions = 0, + std::vector<std::string> const& nativeOptions = + std::vector<std::string>()); virtual std::string GenerateBuildCommand( const char* makeProgram, |