summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ctest_build: Pass projectDir to GenerateBuildCommandPetr Kmoch2013-04-121-1/+2
| | | | | | This allows the ctest_build command's TARGET option to name a target in a subdirectory and still build properly with msbuild. Add test case covering use of ctest_build() with such a TARGET.
* Add projectDir parameter to GenerateBuildCommandPetr Kmoch2013-04-121-1/+1
| | | | | | | | Extend the cmGlobalGenerator::GenerateBuildCommand virtual method signature with a "projectDir" parameter specifying the top of the project build tree for which the build command will be generated. Populate it from call sites in cmGlobalGenerator::Build where a fully-generated build tree should be available.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-1/+1
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Fix for issue #5041 - improve error messages that may occur during ↵David Cole2009-12-291-4/+11
| | | | | | 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-2/+14
| | | | 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.
* Added TARGET, CONFIGURATION, PROJECT_NAME, and FLAGS arguments to ↵Zach Mullen2009-11-031-5/+18
| | | | ctest_build command
* 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.
* BUG: Fix CTEST_USE_LAUNCHERS in dashboard scriptsBrad King2009-02-131-0/+6
| | | | | | Since CTest does not currently load configuration settings computed at CMake Configure time while running dashboard scripts, the ctest_build command must honor the CTEST_USE_LAUNCHERS option directly.
* ENH: allow ctest_build to return error and warning countsBill Hoffman2009-01-141-1/+27
|
* ENH: fix build issue with config type not being specified by ctestBill Hoffman2007-09-171-4/+18
|
* ENH: add more verbose outputBill Hoffman2007-06-141-0/+3
|
* STYLE: Fixed line-too-long.Brad King2007-02-021-1/+2
|
* ENH: Allow to specify build targetAndy Cedilnik2007-01-301-1/+3
|
* BUG: cmGlobalGenerator::Build should not always use the /fast target name ↵Brad King2006-06-011-1/+1
| | | | because dependency checking is often required. It now takes an argument specifying whether to use the /fast target name, and the argument is currently only true for try-compiles.
* COMP: Return 0 instead of falseAndy Cedilnik2006-03-291-2/+2
|
* ENH: Several cleanups and make sure things get propagated where they should. ↵Andy Cedilnik2006-03-291-62/+2
| | | | Also, allow to load CTest custom files to the actual ctest -S script
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-9/+9
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-16/+18
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-091-18/+32
|
* ENH: Add a way for the generated command to include extra flags. This is ↵Andy Cedilnik2005-12-011-1/+2
| | | | useful for CTest (or try compile) to add -j2
* ENH: Several improvements with the way things are handled. Also, support ↵Andy Cedilnik2005-06-231-1/+1
| | | | multiple submited files
* ENH: Several improvements to CTest:Andy Cedilnik2005-06-161-1/+1
| | | | | | | | | 1. Support for showing line numbers when debugging ctest --show-line-numbers 2. Modify the ctest initialization code, so that it can be delayed 3. Handlers now have corresponding command if they were invoked from the command (so far only update actually use that) 4. Start command is simplified and the functionality is moved to CTest 5. Update can perform initial checkout if CTEST_CHECKOUT_COMMAND is set 6. Add test that checks out kwsys and perform tests on the fresh checkout
* ENH: Remove memory leak and remember global generator for next timeAndy Cedilnik2005-05-081-6/+35
|
* ENH: Improve syntaxAndy Cedilnik2005-05-041-10/+51
|
* ENH: CleanupsAndy Cedilnik2005-05-031-3/+3
|
* ENH: Make ctest build command workAndy Cedilnik2005-05-021-0/+39
|
* ENH: More commands. Start working on new style ctest configurationAndy Cedilnik2005-05-021-0/+48