summaryrefslogtreecommitdiffstats
path: root/Source/cmBuildCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-111-1/+1
| | | | All compilers hosting CMake support the std class.
* Remove some c_str() calls.Stephen Kelly2014-03-111-2/+2
| | | | | | 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.
* stringapi: Use strings for program pathsBen Boeckel2014-03-081-2/+2
|
* stringapi: Use strings in target nameBen Boeckel2014-03-081-3/+3
|
* build_command: Return a "cmake --build" command-lineBrad King2013-11-151-25/+8
| | | | | | | | | | | | | | Re-implement the build_command() command to use "cmake --build" instead of generating a native build tool invocation directly. This command will internally invoke the proper native build tool. This avoids requiring cmGlobalGenerator::GenerateBuildCommand to produce a string so that it can be later refactored to produce a vector with no quoting or escaping. It will also allow us to later teach CMake to delay the decision about which build tool to invoke until after the project build system is generated to disk. For example, on Visual Studio 10 and above the preferred command-line tool is MSBuild, but we need to fall back to devenv if the .sln has Intel Fortran .vfproj files.
* Add projectDir parameter to GenerateBuildCommandPetr Kmoch2013-04-121-2/+2
| | | | | | | | 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.
* build_command: Fail early without CMAKE_MAKE_PROGRAM (#14005)Brad King2013-03-121-0/+8
| | | | | | If CMAKE_MAKE_PROGRAM is not set fail with an error message instead of crashing. Suggest calling project() or enable_language() first to ensure that CMAKE_MAKE_PROGRAM is set.
* Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of ↵David Cole2009-12-041-3/+112
| | | | 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 return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* ENH: Pass -C flag to cmake to generate the apropriate build commandAndy Cedilnik2006-07-091-1/+7
|
* 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.
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-7/+6
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-4/+5
|
* ENH: Add a way for the generated command to include extra flags. This is ↵Andy Cedilnik2005-12-011-34/+3
| | | | useful for CTest (or try compile) to add -j2
* ENH: Remove the old codeAndy Cedilnik2005-05-101-2/+5
|
* ENH: Try to see if GenerateBuildCommand produces apropriate resultAndy Cedilnik2005-04-291-4/+10
|
* fix for xcodeBill Hoffman2005-03-231-3/+2
|
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-3/+3
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* ENH: expand variables in arguments before the commands get themBill Hoffman2002-03-051-1/+0
|
* ENH: dot net almost workingBill Hoffman2002-02-251-0/+10
|
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* no messageSebastien Barre2002-01-181-1/+0
|
* use -i not -k for makeBill Hoffman2001-12-151-1/+1
|
* fix warning for Borland buildSebastien Barre2001-11-301-4/+1
|
* closer to nmake working, added CMAKE_MAKE_COMMAND instead of MAKECOMMAND ↵Bill Hoffman2001-11-151-2/+4
| | | | used by Dart, nmake makefiles work with borland make and nmake
* ENH: change InitialPass to take a const reference to the argument string, to ↵Bill Hoffman2001-09-201-2/+2
| | | | avoid changes to the file cache
* ENH: Added a clause for Borland compiler compatibilityJohn Biddiscombe2001-09-011-0/+7
|
* ENH: big change, only allow commands access to the cache via the cmMakefile ↵Bill Hoffman2001-08-081-7/+6
| | | | class and GetDefinition, also the cmMakefile is the only way for commands to add to the cache. Also, some changes to configure.in that check for for scoping
* modified how paths are escaped, added dependsKen Martin2001-06-261-1/+1
|
* ENH: rename Invoke to InitialPassBill Hoffman2001-06-061-1/+1
|
* Changed Windows build command to build ReleaseJim Miller2001-05-241-1/+1
|
* ENH: move testing stuff to cmake from configure, good bye dashboard... :)Bill Hoffman2001-05-041-0/+84