diff options
author | Brad King <brad.king@kitware.com> | 2005-02-22 14:08:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-02-22 14:08:02 (GMT) |
commit | 832fa0e6091c5c574fc60bfd67e0cf982c3b33d8 (patch) | |
tree | e6be0bc022fd3c0f15bff1181b6d03a50f1256d3 /Source/cmake.cxx | |
parent | 653bf6c25c104c685b4eea3bacf7e1c0a0c9c2d8 (diff) | |
download | CMake-832fa0e6091c5c574fc60bfd67e0cf982c3b33d8.zip CMake-832fa0e6091c5c574fc60bfd67e0cf982c3b33d8.tar.gz CMake-832fa0e6091c5c574fc60bfd67e0cf982c3b33d8.tar.bz2 |
BUG: Need to return before configure step when running in script mode.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index e5d5983..716f59d 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1269,6 +1269,12 @@ int cmake::Run(const std::vector<std::string>& args, bool noconfigure) return -1; } + // In script mode we terminate after running the script. + if(m_ScriptMode) + { + return 0; + } + this->PreLoadCMakeFiles(); std::string systemFile = this->GetHomeOutputDirectory(); |