summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestConfigureCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ctest_configure: Add QUIET optionZack Galbreath2015-02-231-2/+3
|
* Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-111-1/+1
| | | | All compilers hosting CMake support the std class.
* CTest: Use -A option to pass generator platform selectionBrad King2014-09-151-1/+1
| | | | This is less verbose than defining CMAKE_GENERATOR_PLATFORM.
* CTest: Add options to set generator platformBrad King2014-09-051-0/+9
| | | | | | | | | | The ctest_configure command already reads the CTEST_CMAKE_GENERATOR variable to get the value for the cmake -G option. Read new variable CTEST_CMAKE_GENERATOR_PLATFORM to pass on as CMAKE_GENERATOR_PLATFORM. The "ctest --build-and-test" mode already has "--build-generator" to specify the -G option to CMake. Add a "--build-generator-platform" option to specify a value to pass on as CMAKE_GENERATOR_PLATFORM.
* Remove some c_str() calls.Stephen Kelly2014-03-111-1/+1
| | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms.
* Refactor internal resource location APIs and initializationBrad King2013-11-121-1/+1
| | | | | | | | | | | | | | | | | | | | Rename cmSystemTools::FindExecutableDirectory to FindCMakeResources. Teach it to compute the locations of cmake, ctest, cpack, ccmake, and cmake-gui executables, and the location of CMAKE_ROOT. Provide this information from static cmSystemTools::Get<resource>() methods. Refactor code that needs these locations to use the new APIs. Teach FindCMakeResources to use the OS X system API to lookup the executable location. When running from the CMake build tree itself, leave a file in the tree that FindCMakeResources can use to read the location of the source tree. This avoids the need to compile the source tree location into a binary that may be installed and used without the source tree. Teach the QtDialog on OS X to create a "cmake-gui" symlink in the build tree next to "cmake" and the other tools, as is already done in the install tree for the application bundle. This ensures a consistent set of executables are available in one directory.
* CTest: Simplify ctest_* command source/build dir lookupBrad King2013-04-121-26/+0
| | | | | | | | In cmCTestHandlerCommand::InitialPass call InitializeHandler after setting the CTest "SourceDirectory" and "BuildDirectory" configuration values instead of before. This makes the values available to InitializeHandler methods in subclasses, so also drop the duplicate configuration of those values from cmCTestConfigureCommand::InitializeHandler.
* CTest: Add options to set generator toolsetBrad King2013-02-071-0/+9
| | | | | | | | | | The ctest_configure command already reads the CTEST_CMAKE_GENERATOR variable to get the value for the cmake -G option. Read new variable CTEST_CMAKE_GENERATOR_TOOLSET for -T. The "ctest --build-and-test" mode already has "--build-generator" to specify the -G option to CMake. Add a "--build-generator-toolset" option to specify the -T value.
* CTest: Fix crash when variables are not definedDavid Cole2011-10-141-2/+2
| | | | Avoiding dereference of NULL pointers is always good.
* Fix for fix for issue #2336 - do not specify CMAKE_BUILD_TYPE when the ctest ↵David Cole2010-02-101-1/+2
| | | | -C configuration type string is empty.
* Fix for issue #5041 - improve error messages that may occur during ↵David Cole2009-12-291-0/+10
| | | | | | ctest_build and ctest_configure. The improved text gives very clear information when either the CMakeLists.txt or CTestConfig.cmake file is missing. Hopefully, it makes it easier for those poor future souls who encounter these messages to solve their problems quickly.
* Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of ↵David Cole2009-12-041-3/+32
| | | | running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* ENH: Add OPTIONS argument to the ctest_configure command so that you can ↵David Cole2008-12-301-4/+33
| | | | pass -D arguments to the cmake configure step from a ctest -S script. Also clarify/correct some not so helpful error messages.
* BUG: Try to fix the problem of bad test namesAndy Cedilnik2006-07-111-4/+8
|
* COMP: Return 0 instead of falseAndy Cedilnik2006-03-291-4/+4
|
* ENH: Several cleanups and make sure things get propagated where they should. ↵Andy Cedilnik2006-03-291-89/+28
| | | | Also, allow to load CTest custom files to the actual ctest -S script
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-5/+5
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-6/+7
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-091-14/+27
|
* ENH: Several improvements with the way things are handled. Also, support ↵Andy Cedilnik2005-06-231-1/+1
| | | | multiple submited files
* ENH: Add default configure rules for CMake projects and add default rules ↵Andy Cedilnik2005-05-051-3/+62
| | | | for submission
* ENH: Improve syntaxAndy Cedilnik2005-05-041-10/+52
|
* ENH: CleanupsAndy Cedilnik2005-05-031-2/+2
|
* ENH: More commands. Start working on new style ctest configurationAndy Cedilnik2005-05-021-0/+50