summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-10-29 20:50:46 (GMT)
committerBrad King <brad.king@kitware.com>2004-10-29 20:50:46 (GMT)
commit81bbae1fb26058e7f1656b4bc14c41a65bf242eb (patch)
treecf8efad9684a9308186719218ee254e86f4f0177 /Source/cmake.h
parent674349caed7665ac4acebe5bdb4dddf58c8a3d6d (diff)
downloadCMake-81bbae1fb26058e7f1656b4bc14c41a65bf242eb.zip
CMake-81bbae1fb26058e7f1656b4bc14c41a65bf242eb.tar.gz
CMake-81bbae1fb26058e7f1656b4bc14c41a65bf242eb.tar.bz2
ENH: Added build system integrity check to cmLocalUnixMakefileGenerator2. This now uses a special --check-build-system flag to cmake which replaces --check-rerun. Integrity of dependencies is also checked during generation.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 5bb2531..50024f7 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -286,7 +286,12 @@ protected:
///! used by Run
int LocalGenerate();
- int CheckRerun();
+
+ /**
+ * Method called to check build system integrity at build time.
+ * Returns 1 if CMake should rerun and 0 otherwise.
+ */
+ int CheckBuildSystem();
/**
* Generate CMAKE_ROOT and CMAKE_COMMAND cache entries
@@ -307,7 +312,7 @@ private:
std::string m_CMakeCommand;
std::string m_CXXEnvironment;
std::string m_CCEnvironment;
- std::string m_CheckRerun;
+ std::string m_CheckBuildSystem;
bool m_DebugTryCompile;
void UpdateConversionPathTable();