diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-14 21:46:32 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-14 21:46:32 (GMT) |
commit | 34e7e36caeadb9d24e77bf81e0a77f519e44300a (patch) | |
tree | 874832080cdc6469e2d5ea5aaddb1005b4aa1494 /Source/cmCTest.cxx | |
parent | d04a07e0c9923e5b03fda8a55454a53407ca6b26 (diff) | |
download | CMake-34e7e36caeadb9d24e77bf81e0a77f519e44300a.zip CMake-34e7e36caeadb9d24e77bf81e0a77f519e44300a.tar.gz CMake-34e7e36caeadb9d24e77bf81e0a77f519e44300a.tar.bz2 |
ENH: getting closer
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 4f17b25..1e25ba1 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -1879,6 +1879,23 @@ int cmCTest::RunCMakeAndTest(std::string* outstring) makeCommand += "ALL_BUILD"; } } + else if (lowerCaseCommand.find("xcode") != std::string::npos) + { + makeCommand += " -project "; + makeCommand += m_BuildProject; + makeCommand += ".xcode"; + makeCommand += " build "; + if (m_BuildTarget.size()) + { + makeCommand += "-target "; + makeCommand += m_BuildTarget; + } + else + { + makeCommand += "-alltargets "; + } + makeCommand += " -buildstyle Development "; + } else if (lowerCaseCommand.find("make") != std::string::npos) { // assume a make sytle program |