summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmTarget: Make GetProperty() const.Stephen Kelly2013-10-3119-229/+263
| | | | | | This has follow-on effects for other methods and classes. Further work on making the use of const cmTarget pointers common can be done, particularly with a view to generate-time methods.
* Don't call SetProperty from GetProperty.Stephen Kelly2013-10-301-4/+10
| | | | Memoize with the internal container directly instead.
* Merge topic 'use-generator-target'Brad King2013-10-307-95/+127
|\ | | | | | | | | | | | | 638843a Remove the Location member from cmTarget. 90ef1cf Move GenerateTargetManifest to cmGeneratorTarget. 25f1df3 Split CreateGeneratorTargets into two methods.
| * Remove the Location member from cmTarget.Stephen Kelly2013-10-292-13/+19
| | | | | | | | | | | | | | It is never used. Presumably it only exists so that a const char * can be returned from GetLocation. However, that is getting in the way now, so use a static std::string instead, which is already a common pattern in cmake.
| * Move GenerateTargetManifest to cmGeneratorTarget.Stephen Kelly2013-10-275-76/+83
| |
| * Split CreateGeneratorTargets into two methods.Stephen Kelly2013-10-274-6/+25
| | | | | | | | | | As the generate-time-related API is moving to cmGeneratorTarget, almost all of generation code needs to be able to access instances of it.
* | Merge topic 'cmake-syntax-test-escaped-comment'Brad King2013-10-304-0/+12
|\ \ | | | | | | | | | | | | | | | 8640e52 Add to RunCMake.Syntax test \-escape cases 144068e Add to RunCMake.Syntax test comments not separated by spaces
| * | Add to RunCMake.Syntax test \-escape casesBrad King2013-10-293-0/+7
| | | | | | | | | | | | | | | | | | Add an Escape1 test case covering \-escape cases inside bracket, quoted, and unquoted arguments. Also cover comments immediately after quoted and unquoted arguments on lines containing \# escapes.
| * | Add to RunCMake.Syntax test comments not separated by spacesBrad King2013-10-291-0/+5
| | | | | | | | | | | | | | | Extend the BracketComment5 test case to cover both bracket comments and line comments starting immediately after a bracket comment closes.
* | | Merge topic 'doc-conf-auto-manuals'Brad King2013-10-3015-15/+51
|\ \ \ | | | | | | | | | | | | | | | | f88332f Help: Glob manual/*.rst in Sphinx configuration
| * | | Help: Glob manual/*.rst in Sphinx configurationBrad King2013-10-3015-15/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the man page description line as explicit markup at the top of each Help/manual/*.rst file and scan it from conf.py to automatically generate the man_pages Sphinx configuration value. This reduces the number of places that need to be changed when a new manual is added.
* | | | Merge topic 'doc-build-standalone'Brad King2013-10-301-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 10ef247 Configure Utilities/Sphinx for standalone build with CTest
| * | | | Configure Utilities/Sphinx for standalone build with CTestBrad King2013-10-291-0/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | Include the CTestUseLaunchers module in the standalone build of Utilities/Sphinx so that it can be built under CTest with the CTEST_USE_LAUNCHERS option.
* | | | Merge topic 'fix-coverage-over-multiple-projects'Brad King2013-10-301-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | eb1d6ce CTest: clean TargetDirs between unrelated coverage runs (issue 13143)
| * | | | CTest: clean TargetDirs between unrelated coverage runs (issue 13143)Nils Gladitz2013-10-291-0/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2013-10-301-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'doc-organize-index'Brad King2013-10-291-0/+2
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | c9d5ccf Help: Add index document title
| * | | Help: Add index document titleBrad King2013-10-291-0/+2
| | | | | | | | | | | | | | | | | | | | Add an explicit title directive to set the HTML index page title instead of taking the first section header.
* | | | Merge topic 'doc-organize-index'Brad King2013-10-291-10/+28
|\ \ \ \ | |/ / / | | | | | | | | | | | | 2c7cd95 Help: Organize top-level index
| * | | Help: Organize top-level indexBrad King2013-10-281-10/+28
| | | | | | | | | | | | | | | | | | | | Divide the list of manuals into separate sections each with its own title.
* | | | Merge topic 'fix-custom-source-with-flags-crash'Brad King2013-10-293-1/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | f037b9b Generators: don't append sources from utility targets to objectSources
| * | | | Generators: don't append sources from utility targets to objectSourcesNils Gladitz2013-10-283-1/+15
| | | | |
* | | | | Merge topic 'external-language-compiler-id'Brad King2013-10-291-1/+3
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | e65c788 CMakeDetermineCompilerId: Load src from CMAKE_MODULE_PATH (#14481)
| * | | | CMakeDetermineCompilerId: Load src from CMAKE_MODULE_PATH (#14481)Dragos Carp2013-10-281-1/+3
| | |/ / | |/| | | | | | | | | | Support new languages using CMAKE_MODULE_PATH.
* | | | CMake Nightly Date StampKitware Robot2013-10-291-1/+1
| | | |
* | | | Merge topic 'Qt-auto-generators'Brad King2013-10-2866-205/+1228
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9c87d9c Add automatic rcc invocation for Qt. 84218e1 Add automatic uic invocation for Qt. 94a0ca6 Record which files are skipped by automoc. 18fb758 Run the main executable created in the autogen tests. e485ba1 Rename the QtAutomoc tests to QtAutogen. 7ce65c3 Add extra checks for the AUTOMOC target property. 32771fc Update output messages for generic use. f371ab5 Rename RunAutomoc to RunAutogen. 85b3d6e Extract an SetupAutoMocTarget method. ca124a1 Rename the AutomocInfo.cmake file to be more generic. a342c9f Move some makefile definitions up away from moc-specific code. 98632ef Add the AUTOGEN_TARGETS_FOLDER and obsolete AUTOMOC_TARGETS_FOLDER. 63378ba Rename some variables to reflect broader scope. 97f1aa3 Rename method to reflect generic use. 4abb111 Rename local variable to reflect generic use. 03878c9 Move variable set to where it is used. ...
| * | | Add automatic rcc invocation for Qt.Stephen Kelly2013-10-2417-10/+426
| | | | | | | | | | | | | | | | | | | | This replaces the need to invoke qt4_add_resources by allowing adding the source .qrc file directly to the target sources.
| * | | Add automatic uic invocation for Qt.Stephen Kelly2013-10-2419-14/+559
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The source files are already processed by cmQtAutomoc to look for moc includes, so extend that to also look for ui_ includes and find corresponding .ui files to process. This replaces the need to invoke qt4_wrap_ui(). As the ui files are not likely to be part of the SOURCES of the target, store the options associated with them separately in the cmMakefile for querying during the autogen run.
| * | | Record which files are skipped by automoc.Stephen Kelly2013-10-242-12/+27
| | | | | | | | | | | | | | | | They may not be skipped by autouic.
| * | | Run the main executable created in the autogen tests.Stephen Kelly2013-10-243-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't try to show the windows, which would require a gui capable test machine, and that's not guaranteed. Automatically link to qtmain.a on Windows to avoid a policy warning. Set policy CMP0020 to NEW by increasing the required version. Don't attempt to run the test when using Windows.
| * | | Rename the QtAutomoc tests to QtAutogen.Stephen Kelly2013-10-2437-13/+13
| | | |
| * | | Add extra checks for the AUTOMOC target property.Stephen Kelly2013-10-241-14/+21
| | | | | | | | | | | | | | | | In an upcoming commit, this class will be used even if it is not set.
| * | | Update output messages for generic use.Stephen Kelly2013-10-241-14/+14
| | | |
| * | | Rename RunAutomoc to RunAutogen.Stephen Kelly2013-10-242-3/+3
| | | | | | | | | | | | | | | | It will soon be used to process ui and rcc files too.
| * | | Extract an SetupAutoMocTarget method.Stephen Kelly2013-10-242-48/+61
| | | | | | | | | | | | | | | | This class will soon gain methods for autouic and autorcc.
| * | | Rename the AutomocInfo.cmake file to be more generic.Stephen Kelly2013-10-242-3/+3
| | | |
| * | | Move some makefile definitions up away from moc-specific code.Stephen Kelly2013-10-241-22/+21
| | | |
| * | | Add the AUTOGEN_TARGETS_FOLDER and obsolete AUTOMOC_TARGETS_FOLDER.Stephen Kelly2013-10-244-3/+19
| | | |
| * | | Rename some variables to reflect broader scope.Stephen Kelly2013-10-241-8/+9
| | | |
| * | | Rename method to reflect generic use.Stephen Kelly2013-10-242-3/+3
| | | |
| * | | Rename local variable to reflect generic use.Stephen Kelly2013-10-241-8/+8
| | | |
| * | | Move variable set to where it is used.Stephen Kelly2013-10-241-2/+1
| | | |
| * | | Rename the cmake_automoc command to cmake_autogen.Stephen Kelly2013-10-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | There is no need for a "cmake_automoc" backward compatibility command because it is internal, undocumented, and only executed from a matching version of cmake.
| * | | Rename the cmQtAutoGenerator instances to reflect coming features.Stephen Kelly2013-10-242-9/+9
| | | |
| * | | Rename the cmQtAutomoc class to cmQtAutoGenerators.Stephen Kelly2013-10-246-38/+42
| | | | | | | | | | | | | | | | It will be extended to process .ui and .qrc files too.
* | | | Merge topic 'enable-language-require-compiler'Brad King2013-10-2835-39/+233
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3e04946 Require CMAKE_<LANG>_COMPILER to be found as a full path 6007f7c CMakeDetermineCompilerId: Always use compiler detected from IDE 332771c CMakeDetermine*Compiler: Remove temporary cache entry
| * | | | Require CMAKE_<LANG>_COMPILER to be found as a full pathBrad King2013-10-2830-29/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All generators now support detection of the full path to the compiler, so require it to be so. This will allow CMake<LANG>Information.cmake and other logic to assume the full path to the compiler tool is available. The Makefile generators already rejected CMAKE_<LANG>_COMPILER values that did not name an existing compiler. Extend this error message to all generators, make it occur as early as possible, and improve the message with advice about how to set the compiler. If the full path to the compiler is not known, finish enabling languages with a fatal error so configuration does not continue. For now, allow the RC language compiler to not be a full path. Later we will need to detect the full path to "rc" under the VS IDE. Add a RunCMake.CompilerNotFound test to cover failure cases. Fix the RunCMake.CompilerChange test EmptyCompiler case to work when configuration does not continue past enable_language.
| * | | | CMakeDetermineCompilerId: Always use compiler detected from IDEBrad King2013-10-281-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When compiler id detection also provides a CMAKE_<LANG>_COMPILER value, use it unconditionally. It is known to be the compiler that is actually in use by IDE builds in VS and Xcode. Do not let a stray cache entry try to say otherwise.
| * | | | CMakeDetermine*Compiler: Remove temporary cache entryBrad King2013-10-244-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the user or toolchain file sets CMAKE_<LANG>_COMPILER to a name without a path we use find_program with CMAKE_<LANG>_COMPILER_WITH_PATH to search for the tool. Remove the temporary cache entry afterward to avoid exposing it to projects. It is not set by other logic paths so no one should be using it.
* | | | | Merge topic 'restore-serial-failed-test-order'Brad King2013-10-281-3/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 2b5c9da CTest: restore old failed test priority in serial test runs