summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Ninja: Refactor restat to be a string internallyBrad King2014-11-144-15/+15
| | | | | This will allow values other than "" and "1" to be generated in the rules.ninja file.
* Ninja: Use a TARGET_FILE variable to hold the link output fileBrad King2014-11-141-18/+11
| | | | | | Use an explicit "$TARGET_FILE" variable instead of "$out" so that we can have multiple output files while still only referencing the main one in command lines.
* Tests/BuildDepends: Drop unneeded help for NinjaBrad King2014-11-141-5/+1
| | | | | The extra post-modification invocations of 'ninja' does not seem to be needed anymore for the BuildDepends test to pass.
* Help: Add notes for topic 'console-pool'Peter Collingbourne2014-11-141-0/+8
|
* Ninja: Implement USES_TERMINAL using the console pool if availablePeter Collingbourne2014-11-144-0/+13
|
* Ninja: Remove unused declarationPeter Collingbourne2014-11-141-1/+0
|
* Ninja: factor out the test for console pool supportPeter Collingbourne2014-11-142-3/+10
|
* Give the interactive cache editor the USES_TERMINAL propertyPeter Collingbourne2014-11-142-13/+16
|
* Add USES_TERMINAL option for custom commandsPeter Collingbourne2014-11-1417-17/+123
| | | | | | Teach the add_custom_command and add_custom_target commands a new USES_TERMINAL option. Use it to tell the generator to give the command direct access to the terminal if possible.
* Rename doing_verbatim to doing_nothingPeter Collingbourne2014-11-141-2/+2
| | | | | We are about to introduce another property here, so give this a better name.
* Tests: Test add_custom_command and add_custom_target error casesBrad King2014-11-1429-0/+85
| | | | | Add RunCMake.add_custom_command and RunCMake.add_custom_target tests to cover the error messages for these commands.
* Merge topic 'doc-add_custom_command'Brad King2014-11-141-0/+2
|\ | | | | | | | | 0cacf739 Help: Document add_custom_command marking outputs GENERATED
| * Help: Document add_custom_command marking outputs GENERATEDBrad King2014-11-141-0/+2
| |
* | Merge topic 'vs-nsight-tegra-version'Brad King2014-11-141-2/+2
|\ \ | | | | | | | | | | | | bb3c87f1 VS: Change Nsight Tegra 2.0 Project Revision Number from 8 to 9
| * | VS: Change Nsight Tegra 2.0 Project Revision Number from 8 to 9Dmitry Polyanitsa2014-11-131-2/+2
| | | | | | | | | | | | | | | A hotfix to Nsight Tegra 2.0 needed to increase the project number. Teach CMake to generate the newer number for this version.
* | | Merge topic 'doc-add_custom_target'Brad King2014-11-141-29/+64
|\ \ \ | | |/ | |/| | | | | | | 66ea634b Help: Revise and format 'add_custom_target' docs
| * | Help: Revise and format 'add_custom_target' docsBrad King2014-11-131-29/+64
| | | | | | | | | | | | | | | | | | Format the reStructuredText markup manually. Organize the command options into a definition list. Use inline markup to cross-reference related documents.
* | | Merge topic 'no-cmake-self-install-when-cross-compiling'Brad King2014-11-141-1/+2
|\ \ \ | | | | | | | | | | | | | | | | 15f55cca Do not use just-built CMake to install itself when cross-compiling (#15248)
| * | | Do not use just-built CMake to install itself when cross-compiling (#15248)Brad King2014-11-131-1/+2
| | |/ | |/| | | | | | | | | | | | | The special case added by commit v2.4.0~3051 (When building CMake itself, use the new cmake to install so that the current cmake can be overwritten, 2004-06-09) does not make sense when cross-compiling.
* | | Merge topic 'fix-config-dependent-tests'Brad King2014-11-141-3/+6
|\ \ \ | | | | | | | | | | | | | | | | 0854d45b Tests: Build config-dependent tests in the same config they run
| * | | Tests: Build config-dependent tests in the same config they runBrad King2014-11-131-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CPackComponentsForAll-*, GeneratorExpression, and TestsWorkingDirectory tests all build binaries that they later need to run or package for the tested configuration. Tell the 'ctest --build-and-test' call to use the same configuration for driving the build process.
* | | | CMake Nightly Date StampKitware Robot2014-11-141-1/+1
| |_|/ |/| |
* | | Merge topic 'add-FindIntl'Brad King2014-11-131-0/+5
|\ \ \ | | | | | | | | | | | | | | | | b015b469 Help: Add notes for topic 'add-FindIntl'
| * | | Help: Add notes for topic 'add-FindIntl'Brad King2014-11-131-0/+5
| | | |
* | | | Merge branch 'release'Brad King2014-11-130-0/+0
|\ \ \ \
| * \ \ \ Merge branch 'no-AppleClang-C-features' into releaseBrad King2014-11-131-1/+2
| |\ \ \ \
| * \ \ \ \ Merge branch 'doc-install-SCRIPT-CODE-COMPONENT' into releaseBrad King2014-11-131-1/+2
| |\ \ \ \ \
* | \ \ \ \ \ Merge branch 'release'Brad King2014-11-130-0/+0
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | CMake 3.1.0-rc2v3.1.0-rc2Brad King2014-11-121-1/+1
| | | | | | |
* | | | | | | Merge topic 'no-AppleClang-C-features'Brad King2014-11-131-1/+2
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | ded30405 Features: Don't record for AppleClang
| * | | | | | Features: Don't record for AppleClangStephen Kelly2014-11-121-1/+2
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Features are currently recorded accidentally for all versions of AppleClang > 3.4 (I have no idea how that relates to upstream Clang). Presumably that version has the features which are accidentally recorded, but in the future features will be recorded initially for only AppleClang >= 5.1, which would appear as a feature regression. Commit v3.1.0-rc1~635^2~11 (Don't load Clang-CXX from AppleClang-CXX., 2013-11-11) ajusted the logic for the CXX language. Make a similar change for the C language.
* | | | | | Merge topic 'add-FindIntl'Brad King2014-11-134-0/+74
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | c5e797db FindIntl: New module to find Gettext libintl
| * | | | | FindIntl: New module to find Gettext libintlRoger Leigh2014-11-114-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for Sun/Uniforum/GNU gettext libintl. This belongs in CMake rather than upstream because: * There are multiple upstreams (Sun, GNU). * It may or may not be in the glibc C library depending upon the platform and build options used. Although we already have a FindGettext module, that is for the tools. This module is for the library, and is independent because it's perfectly OK to use libintl without the gettext tools (and vice versa), and they might not all be found. Add cross references between the two modules in notes to make the relationship clearer.
* | | | | | Merge topic 'file-GENERATE-source'Brad King2014-11-1324-3/+177
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b80557c7 file(GENERATE): Evaluate early to allow generating source files 0019d54b Genex: Fix whitespace issue.
| * | | | | | file(GENERATE): Evaluate early to allow generating source filesStephen Kelly2014-11-1224-2/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The evaluation files must be known before cmTargetTraceDependencies attempts to find them, but we must actually generate the files after cmTargetTraceDependencies, as that can add to target SOURCES. The limitation is that the generated output name must not depend on the SOURCES of a target if the generated file is used by that target. Mark the output files as GENERATED so that trace dependencies does not expect them to already exist in the filesystem. Move the invokation of ForceLinkerLanguage in the Generate logic to after the generated file names are known. ForceLinkerLanguage tries to determine the sources of a target (in order to determine an already-known language) and otherwise fails to get information about the generated file. Test that the output of file(GENERATE) can be used as a target source file and that accessing the target SOURCES in the name of the output file is an error. Accessing the TARGET_OBJECTS would be a similar error if it was legal to use that generator expression in this context. That is not currently possible and is a different error condition, so test the current error output as a reminder to change the expected output if that becomes possible in the future. Test that generated rule files resulting from cmTargetTraceDependencies appear in the SOURCES generated in the output file.
| * | | | | | Genex: Fix whitespace issue.Stephen Kelly2014-11-111-1/+1
| |/ / / / /
* | | | | | Merge topic 'compile-features-refactor'Brad King2014-11-136-70/+75
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32b91b9e Features: Run GNU feature tests with std=c++14 when available. 82c283f9 Features: Use the correct dialect flag when recording features. b18155b7 Features: Reorder the GNU C dialect feature tests e68d5c60 Features: Split the Clang testable features to a separate file.
| * | | | | | Features: Run GNU feature tests with std=c++14 when available.Stephen Kelly2014-11-121-1/+4
| | | | | | |
| * | | | | | Features: Use the correct dialect flag when recording features.Stephen Kelly2014-11-124-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid using -std=c++1y for compilers which support -std=c++14, for example.
| * | | | | | Features: Reorder the GNU C dialect feature testsStephen Kelly2014-11-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't make a difference, but the consistency with other files is easier to reason about.
| * | | | | | Features: Split the Clang testable features to a separate file.Stephen Kelly2014-11-112-53/+55
| |/ / / / / | | | | | | | | | | | | | | | | | | These tests can be shared with the AppleClang compile feature tests.
* | | | | | Merge topic 'refactor-search-path-construction'Brad King2014-11-1312-455/+831
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1abd7cd9 Use containers of labeled search paths instead of individual members 2a9ac4bd Encapsulate search path manipulation functions into a seperate class. 32922840 Refactor and seperate search path construction for find commands
| * | | | | | Use containers of labeled search paths instead of individual membersChuck Atkins2014-11-1210-106/+339
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manage classes of search paths in labeled containers. This removes the need to have a seperate member variable for each type of search path, but also allows path types to be grouped togethor in various different ways and manipulated as subsets of the full set of search paths.
| * | | | | | Encapsulate search path manipulation functions into a seperate class.Chuck Atkins2014-11-119-345/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The functions for adding the various different types of paths have been factored out into a new class, cmSearchPath. It is to be used as a helper container class for the various find_* commands.
| * | | | | | Refactor and seperate search path construction for find commandsChuck Atkins2014-11-117-321/+395
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this commit, the set of search paths to traverse for find commands was incrementally constructed. This change allows each group of paths, i.e. CMakeVariablePaths, UserHintsPaths, SystemEnvironmentPaths, etc. to be constructed and manipulated independently, and then all combined togethor.
* | | | | | Merge topic 'doc-install-SCRIPT-CODE-COMPONENT'Brad King2014-11-131-1/+2
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | 7361e810 Help: Document COMPONENT option of install(SCRIPT/CODE) (#14956)
| * | | | | Help: Document COMPONENT option of install(SCRIPT/CODE) (#14956)Brad King2014-11-131-1/+2
| | |_|_|/ | |/| | |
* | | | | Merge topic 'ExternalProject_UPDATE_DISCONNECTED'Brad King2014-11-134-1/+177
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3c497f11 Help: Add notes for topic 'ExternalProject_UPDATE_DISCONNECTED' aba5cec6 ExternalProject: Add unit tests for UPDATE_DISCONNECTED 3f606fa7 ExternalProject: Add UPDATE_DISCONNECTED option c0b749cf ExternalProject: Always add a command to a step
| * | | | | Help: Add notes for topic 'ExternalProject_UPDATE_DISCONNECTED'Brad King2014-11-131-0/+6
| | | | | |
| * | | | | ExternalProject: Add unit tests for UPDATE_DISCONNECTEDDaniele E. Domenichelli2014-11-062-0/+108
| | | | | |