summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-08-30 17:58:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-08-30 17:58:46 (GMT)
commit62ae06081eff9881a1ff119ff6397521d9ce5900 (patch)
tree52175f97d12d2351c30b7f8f67db603bdc5f5160 /Source/CTest
parentfeb2d86f26b40b7b12431c21a3e60d03f6c1ed79 (diff)
downloadCMake-62ae06081eff9881a1ff119ff6397521d9ce5900.zip
CMake-62ae06081eff9881a1ff119ff6397521d9ce5900.tar.gz
CMake-62ae06081eff9881a1ff119ff6397521d9ce5900.tar.bz2
ENH: use native Deployment and Development directories
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index 82797e0..799a423 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -927,6 +927,16 @@ std::string cmCTestTestHandler::FindTheExecutable(const char *exe)
if ( m_CTest->GetConfigType() == "" )
{
// No config type, so try to guess it
+ if (::TryExecutable(dir.c_str(),file.c_str(),&fullPath,"Deployment"))
+ {
+ return fullPath;
+ }
+
+ if (::TryExecutable(dir.c_str(),file.c_str(),&fullPath,"Development"))
+ {
+ return fullPath;
+ }
+
if (::TryExecutable(dir.c_str(),file.c_str(),&fullPath,"Release"))
{
return fullPath;