summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Factor an <INCLUDES> placeholder out of <FLAGS> in rule variablesBrad King2015-07-136-3/+32
| | | | | | | | | | | Teach the Makefile and Ninja generators to substitute for an <INCLUDES> placeholder instead of putting -I in <FLAGS>. Update our values for CMAKE_<LANG>_COMPILE_OBJECT, CMAKE_<LANG>_CREATE_ASSEMBLY_SOURCE, and CMAKE_<LANG>_CREATE_PREPROCESSED_SOURCE to place <INCLUDES> just before <FLAGS>.
* Merge topic 'fix-command-rename'Brad King2015-07-131-0/+11
|\ | | | | | | | | d4f032b5 cmState: Restore renamed commands on cleanup.
| * cmState: Restore renamed commands on cleanup.Stephen Kelly2015-07-121-0/+11
| | | | | | | | | | | | | | | | | | | | | | Commit v3.3.0-rc1~196^2~7 (cmake: Simplify command clean up loop., 2015-04-12) introduced a bug that built-in commands which were renamed no longer had their original name restored when cleanup is performed between configure runs. Check for that and restore the commands with their original name. Extend the complex test for this. That test is run by ctest with the --build-two-config command line option.
| * Merge branch 'fortran-module-preprocessor-defs' into releaseBrad King2015-07-061-1/+1
| |\
| * | CMake 3.3.0-rc3v3.3.0-rc3Brad King2015-06-261-1/+1
| | |
| * | Merge branch 'fix-target_link_libraries-wrong-dir' into releaseBrad King2015-06-253-4/+6
| |\ \
| * \ \ Merge branch 'cmake-gui-osx-install-command-line' into releaseBrad King2015-06-242-2/+2
| |\ \ \
| * \ \ \ Merge branch 'fix-function-missing-end' into releaseBrad King2015-06-226-27/+32
| |\ \ \ \
| * | | | | CMake 3.3.0-rc2v3.3.0-rc2Brad King2015-06-091-1/+1
| | | | | |
| * | | | | Merge branch 'ctest-script-mode-no-legacy-cygwin' into releaseBrad King2015-06-081-0/+4
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'cmake-gui-osx-install-command-line' into releaseBrad King2015-06-081-0/+1
| |\ \ \ \ \ \
* | | | | | | | CMake Nightly Date StampKitware Robot2015-07-131-1/+1
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2015-07-121-1/+1
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2015-07-111-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'autorcc-qt-5.1'Brad King2015-07-101-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9a271e13 cmQtAutoGenerators: Fix rcc invocation for Qt 5.0 and 5.1 (#15644)
| * | | | | | | | cmQtAutoGenerators: Fix rcc invocation for Qt 5.0 and 5.1 (#15644)Brad King2015-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.2.0-rc1~480^2 (QtAutogen: Regenerate qrc files if their input changes, 2014-09-17) we added use of the rcc "--list" option. Prior to Qt 5.2 this option was called just "-list", and the older name is still supported by the newer tools. Use the older name of the option for compatibility with Qt 5.0 and 5.1.
* | | | | | | | | Merge topic 'OUTPUT_NAME-genex'Brad King2015-07-101-3/+13
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 809159c9 Add generator expression support to OUTPUT_NAME target property 9a1ef0dc Help: Improve OUTPUT_NAME documentation formatting
| * | | | | | | | | Add generator expression support to OUTPUT_NAME target propertyRobert Goulet2015-07-091-3/+13
| | | | | | | | | |
* | | | | | | | | | Merge topic 'factor-out-common-generator'Brad King2015-07-1019-581/+643
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fed5eb5b cmNinjaTargetGenerator: Use GetDefines method eacacacd cmCommonTargetGenerator: Adopt GetDefines method 0837538e cmCommonTargetGenerator: Adopt GetFlags method f4875bbd cmNinjaTargetGenerator: Add OX X framework flags 7891f5d7 cmMakefileTargetGenerator: Fix comment typo 73bfad72 cmNinjaTargetGenerator: Factor out AddIncludeFlags helper 6a56740e cmNinjaTargetGenerator: Add Fortran flag generation 058074d4 cmCommonTargetGenerator: Adopt GetFrameworkFlags ab824018 cmCommonTargetGenerator: Adopt AppendFortranFormatFlags 0b22c0b8 cmCommonTargetGenerator: Adopt AddFortranFlags and friends b2f51aef cmCommonTargetGenerator: Adopt Convert method cdb5b657 cmCommonTargetGenerator: Adopt ModuleDefinitionFile member beee7937 cmCommonTargetGenerator: Adopt GetFeature and friends abfa5f2d cmCommonTargetGenerator: Adopt ConfigName member 9d41f6d8 cmLocalCommonGenerator: Adopt ConfigName member a4a2518d cmLocalUnixMakefileGenerator3: Provide GetConfigName() accessor ...
| * | | | | | | | | | cmNinjaTargetGenerator: Use GetDefines methodBrad King2015-07-091-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify the per-source ComputeDefines implementation by getting target-wide defines from GetDefines. Technically this changes behavior by no-longer de-duplicating/sorting defines from both the target and the source, but this makes it consistent with the Makefile generator. It may also later help move target-wide defines into per-target compilation rules.
| * | | | | | | | | | cmCommonTargetGenerator: Adopt GetDefines methodBrad King2015-07-094-29/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the member up from cmMakefileTargetGenerator so it can be re-used later by cmNinjaTargetGenerator.
| * | | | | | | | | | cmCommonTargetGenerator: Adopt GetFlags methodBrad King2015-07-096-103/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | De-duplicate per-target flag computation in Makefile and Ninja target generators.
| * | | | | | | | | | cmNinjaTargetGenerator: Add OX X framework flagsBrad King2015-07-091-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach ComputeFlagsForObject to add -F flags just like the Makefile generator does.
| * | | | | | | | | | cmMakefileTargetGenerator: Fix comment typoBrad King2015-07-091-1/+1
| | | | | | | | | | |
| * | | | | | | | | | cmNinjaTargetGenerator: Factor out AddIncludeFlags helperBrad King2015-07-092-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Factor an AddIncludeFlags method out of ComputeFlagsForObject just like cmMakefileTargetGenerator has already.
| * | | | | | | | | | cmNinjaTargetGenerator: Add Fortran flag generationBrad King2015-07-091-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make ComputeFlagsForObject consistent with the Makefile generator in regard to Fortran flags.
| * | | | | | | | | | cmCommonTargetGenerator: Adopt GetFrameworkFlagsBrad King2015-07-094-64/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the member up from cmMakefileTargetGenerator.
| * | | | | | | | | | cmCommonTargetGenerator: Adopt AppendFortranFormatFlagsBrad King2015-07-094-32/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move up from cmMakefileTargetGenerator.
| * | | | | | | | | | cmCommonTargetGenerator: Adopt AddFortranFlags and friendsBrad King2015-07-094-104/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move AddFortranFlags, GetFortranModuleDirectory, and supporting members up from cmMakefileTargetGenerator.
| * | | | | | | | | | cmCommonTargetGenerator: Adopt Convert methodBrad King2015-07-093-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move it up from cmMakefileTargetGenerator.
| * | | | | | | | | | cmCommonTargetGenerator: Adopt ModuleDefinitionFile memberBrad King2015-07-097-70/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | De-duplicate the ModuleDefinitionFile and AddModuleDefinitionFlag members from the Makefile and Ninja target generators.
| * | | | | | | | | | cmCommonTargetGenerator: Adopt GetFeature and friendsBrad King2015-07-096-63/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | De-duplicate the GetFeature, GetFeatureAsBool, and AddFeatureFlags members from the Makefile and Ninja target generators.
| * | | | | | | | | | cmCommonTargetGenerator: Adopt ConfigName memberBrad King2015-07-096-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | De-duplicate the member from the Makefile and Ninja target generators.
| * | | | | | | | | | cmLocalCommonGenerator: Adopt ConfigName memberBrad King2015-07-096-38/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | De-duplicate the member from the local Makefile and Ninja generators.
| * | | | | | | | | | cmLocalUnixMakefileGenerator3: Provide GetConfigName() accessorBrad King2015-07-094-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename internal member from ConfigurationName to ConfigName to match the ninja generator.
| * | | | | | | | | | cmCommonTargetGenerator: Adopt basic target generator membersBrad King2015-07-096-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | De-duplicate the GeneratorTarget, Target, and Makefile members from the local Makefile and Ninja generators.
| * | | | | | | | | | Add common base classes to Makefile and Ninja generatorsBrad King2015-07-0919-16/+174
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a place to move functionality common to both.
* | | | | | | | | | Merge topic 'move-command-line-escape-code'Brad King2015-07-109-727/+698
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | df97bea2 cmOutputConverter: Adopt command line escaping code bb7eefe4 cmOutputConverter: Adopt EscapeWindowsShellArgument method cedd6e65 cmLocalVisualStudio7Generator: Remove unused include 30faf20c cmLocalGenerator: Remove unused include
| * | | | | | | | | | cmOutputConverter: Adopt command line escaping codeBrad King2015-07-085-700/+673
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port code from the KWSys System_Shell APIs into cmOutputConverter. Drop it from our copy of KWSys because upstream will drop it too, and by doing it in this commit 'git blame' may have an easier time connecting the history of the content.
| * | | | | | | | | | cmOutputConverter: Adopt EscapeWindowsShellArgument methodBrad King2015-07-085-25/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move it out of cmSystemTools and into cmOutputConverter.
| * | | | | | | | | | cmLocalVisualStudio7Generator: Remove unused includeBrad King2015-07-081-2/+0
| | | | | | | | | | |
| * | | | | | | | | | cmLocalGenerator: Remove unused includeBrad King2015-07-081-2/+0
| | | | | | | | | | |
* | | | | | | | | | | CMake Nightly Date StampKitware Robot2015-07-101-1/+1
| |/ / / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge topic 'cpack-ifw-framework-version'Brad King2015-07-091-2/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ad5c76af CPackIFW: Load module to set CPACK_IFW_FRAMEWORK_VERSION
| * | | | | | | | | | CPackIFW: Load module to set CPACK_IFW_FRAMEWORK_VERSIONKonstantin Podsvirov2015-07-081-2/+4
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This setting was added to support QtIFW 2.0 in commit v3.3.0-rc1~70^2~1 (CPackIFW: Add QtIFW 2.0 support, 2015-04-27). We need to load the CPackIFW module to initialize it if it is not set.
* | | | | | | | | | Merge topic 'eclipse-cygwin-paths'Brad King2015-07-091-1/+2
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a672b16a Eclipse: Fix paths in target links on cygwin
| * | | | | | | | | | Eclipse: Fix paths in target links on cygwinMarkus Grech2015-07-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a missing GetEclipsePath call to fix generation of incorrect paths for target links in Eclipse CDT generator which caused Eclipse to be unable to open files through such links. Without this the generator would generate invalid links for source files under "[Targets]", making Eclipse unable to open them. The old links looked like "C:/cygdrive/c/...", while new links correctly are "C:/...".
* | | | | | | | | | | Merge topic 'empty-LINK_LIBRARIES'Brad King2015-07-091-6/+12
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7aa9e80e set_property: Fix crash when setting LINK_LIBRARIES to nothing
| * | | | | | | | | | | set_property: Fix crash when setting LINK_LIBRARIES to nothingBrad King2015-07-081-6/+12
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use a special dedicated structure to store the LINK_LIBRARIES target property. Do not try to construct a string from a NULL value. Instead leave the property structure empty when no value is given. Reported-by: Ghyslain Leclerc <ghleclerc@gmail.com>
* | | | | | | | | | | Merge topic 'update-kwsys'Brad King2015-07-091-93/+58
|\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65de27b8 Merge branch 'upstream-kwsys' into update-kwsys 42272a82 KWSys 2015-07-07 (8504e845)