summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-03-04 20:39:27 (GMT)
committerBrad King <brad.king@kitware.com>2009-03-04 20:39:27 (GMT)
commit170febac528b8f18a6f1b6d8fcb5895d67a8c10b (patch)
tree40bc6b332a79f9022544214babee411ce6ab3041 /Source/cmake.h
parentd35651fb6c59904b3b004474a5501280e694d37c (diff)
downloadCMake-170febac528b8f18a6f1b6d8fcb5895d67a8c10b.zip
CMake-170febac528b8f18a6f1b6d8fcb5895d67a8c10b.tar.gz
CMake-170febac528b8f18a6f1b6d8fcb5895d67a8c10b.tar.bz2
ENH: Cleanup cmake --build interface.
This cleans up the 'cmake --build' command-line interface: - Rename --clean to --clean-first to better describe it. - Replace --extra-options with a -- separator to simplify passing of multiple native build tool options. - Document the options in the main CMake man page description of the --build option, and shares this with the usage message. - Require --build to be the first argument when present. - Move implementation into cmakemain where it belongs.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 269db47..c9c66c2 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -357,13 +357,12 @@ class cmake
void IssueMessage(cmake::MessageType t, std::string const& text,
cmListFileBacktrace const& backtrace);
// * run the --build option
- static int DoBuild(int ac, char* av[]);
-protected:
int Build(const std::string& dir,
const std::string& target,
const std::string& config,
- const std::string& extraBuildOptions,
+ const std::vector<std::string>& nativeOptions,
bool clean);
+protected:
void InitializeProperties();
int HandleDeleteCacheVariables(const char* var);
cmPropertyMap Properties;