summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* VS: Select latest Windows 10 SDK if no specific version was requestedGilles Khouzam2015-10-021-5/+14
| | | | | If CMAKE_SYSTEM_VERSION is just "10.0" then use the latest SDK available since no particular version was requested.
* VS: Add support for selecting the Windows 10 SDK (#15670)Gilles Khouzam2015-10-029-0/+121
| | | | | | | | | Teach the VS 2015 generator to produce a WindowsTargetPlatformVersion value. Use the CMAKE_SYSTEM_VERSION to specify the version and if not set choose a default based on available SDKs. Activate this behavior when targeting Windows 10. Co-Author: Brad King <brad.king@kitware.com>
* VS: Add hook to initialize Windows platform settingsGilles Khouzam2015-10-022-3/+17
| | | | | Give VS 10+ generators a chance to choose Windows platform settings just as they already can for WindowsCE, WindowsStore, and WindowsPhone.
* cmSystemTools: Add VersionCompareGreater helperGilles Khouzam2015-10-022-0/+10
| | | | | Wrap a call to VersionCompare with OP_GREATER in a signature suitable for use with std::sort.
* Allow CMAKE_SYSTEM_VERSION to be set without CMAKE_SYSTEM_NAMEGilles Khouzam2015-10-022-1/+10
| | | | | | Teach CMakeDetermineSystem to check for a CMAKE_SYSTEM_VERSION setting even when CMAKE_SYSTEM_NAME is not set. This will allow builds on the host OS to target other versions of the OS without full cross-compiling.
* Help: Improve CMAKE_SYSTEM_{NAME,VERSION} variable documentationBrad King2015-10-022-8/+33
| | | | | Specify their meaning for host builds and when cross compiling. Sepcify their relationship in each case.
* Merge topic 'FindOpenSSL-imported-targets'Brad King2015-09-301-0/+4
|\ | | | | | | | | 0429c384 Help: Add notes for topic 'FindOpenSSL-imported-targets'
| * Help: Add notes for topic 'FindOpenSSL-imported-targets'Konstantin Podsvirov2015-09-291-0/+4
| |
* | Merge topic 'update-kwsys'Brad King2015-09-302-1/+65
|\ \ | | | | | | | | | | | | | | | def90d5f Merge branch 'upstream-kwsys' into update-kwsys cc144ebf KWSys 2015-09-28 (2089567a)
| * \ Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-09-292-1/+65
| |\ \
| | * | KWSys 2015-09-28 (2089567a)KWSys Robot2015-09-292-1/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 2089567a | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' dc4e4a55..2089567a Vitaly Baranov (1): 2089567a SystemTools: Fix GetPath to not affect existing output vector entries
* | | | CMake Nightly Date StampKitware Robot2015-09-301-1/+1
|/ / /
* | | Merge topic 'vs-old-rule-files'Brad King2015-09-292-0/+29
|\ \ \ | | | | | | | | | | | | | | | | fa5284f0 VS: Prevent generated "rule" files from causing rebuilds
| * | | VS: Prevent generated "rule" files from causing rebuildsMike Pagel2015-09-282-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | When we generate a ".rule" file to attach a custom command in a VS IDE project, set the file timestamp to be old enough to prevent the rule from re-running due to its timestamp.
* | | | Merge topic 'fix-qtautogen-with-object-library-Ninja'Brad King2015-09-295-17/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 9bc6eb8e cmGlobalGenerator: Initialize generator targets on construction (#15729)
| * | | | cmGlobalGenerator: Initialize generator targets on construction (#15729)Stephen Kelly2015-09-295-17/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Ninja generator and Visual Studio generators are special-cased for the QtAutogen feature. In order to reduce the number of custom targets, the Visual Studio generators prefer to create custom commands instead, and in order to create appropriate Ninja files, generated rcc files are listed as byproducts. This requires the use of the GetConfigCommonSourceFiles API of the cmGeneratorTarget for those generators when initializing the autogen target. The initializer method is called from Compute() after the cmGeneratorTarget objects are created, however the initialization of the object directory occurs later in the InitGeneratorTargets method. That means that the resulting object locations are computed incorrectly and cached before the object directory is determined, so the generated buildsystem can not find the object files. The initialization of the object directory was split from the creation of cmGeneratorTarget instances in commit 0e0258c8 (cmGlobalGenerator: Split creation of generator object from initialization., 2015-07-25). The motivation for the split was to do only what is essential to do early in cases where cmGeneratorTargets need to be created at configure-time. That is required for the purpose of implementing policies CMP0024 and CMP0026, and for try_compile(LINK_LIBRARIES). However, the split was not really necessary. Compute the object directory in the cmGeneratorTarget constructor instead. The QtAutogen unit test already tests the use of TARGET_OBJECTS with AUTOMOC, and that test already passes on Ninja. The reason it already passes is that the QtAutogen target also uses the AUTORCC feature, and specifies several qrc files in its SOURCES. Later in the Compute algorithm (after the InitGeneratorTargets call), the rcc files are determined and target->AddSource is called. The AddSource call clears the previously mentioned cache of source files, causing it to be regenerated when next queried, this time taking account of the object directory. Extend the test suite with a new target which does not make use of AUTORCC with qrc files so that the test added alone would break without the fix in this commit.
* | | | | Merge topic 'simplify-qt-autogen'Brad King2015-09-297-1107/+1208
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1fe39020 QtAutogen: Port away from cmLocalGenerator. 59a729b2 QtAutogen: Split initializer class into separate file. 1e83a963 QtAutogen: Split initializer methods into separate class. 12f0e13c QtAutogen: Simplify generator initialization API. 65ff75d3 QtAutogen: Remove unnecessary dereference. 64b78c14 QtAutogen: Move Source initialization to prior loop. c3c20d3c QtAutogen: Add _automoc.cpp sources before initializing. 8b6ec29d QtAutogen: Move initialization condition to caller. 9470b056 QtAutogen: Move condition to prior loop. b7491b1c QtAutogen: Move condition to prior loop. e791c854 QtAutogen: Make some methods static. 6210ec64 QtAutogen: Make internal method private. a3ceb998 QtAutogen: Don't use members to initialize automoc targets. dced2fe1 QtAutogen: Rename variable. f9a77e76 QtAutogen: Don't use a member to store skipped uic files. c3633e7a QtAutogen: Add missing includes and forward declarations.
| * | | | QtAutogen: Port away from cmLocalGenerator.Stephen Kelly2015-09-291-8/+7
| | | | |
| * | | | QtAutogen: Split initializer class into separate file.Stephen Kelly2015-09-296-1091/+1152
| | | | |
| * | | | QtAutogen: Split initializer methods into separate class.Stephen Kelly2015-09-263-40/+55
| | | | |
| * | | | QtAutogen: Simplify generator initialization API.Stephen Kelly2015-09-262-14/+12
| | | | |
| * | | | QtAutogen: Remove unnecessary dereference.Stephen Kelly2015-09-261-3/+3
| | | | |
| * | | | QtAutogen: Move Source initialization to prior loop.Stephen Kelly2015-09-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that all targets have their _automoc.cpp before attempting to initialize the autogen target. The initialization evaluates generator expressions for target sources, and must include the _automoc.cpp of object library dependents in order for TARGET_OBJECTS to include the object file for the corresponding _automoc.cpp file.
| * | | | QtAutogen: Add _automoc.cpp sources before initializing.Stephen Kelly2015-09-263-2/+17
| | | | |
| * | | | QtAutogen: Move initialization condition to caller.Stephen Kelly2015-09-263-20/+18
| | | | |
| * | | | QtAutogen: Move condition to prior loop.Stephen Kelly2015-09-261-10/+12
| | | | |
| * | | | QtAutogen: Move condition to prior loop.Stephen Kelly2015-09-261-15/+16
| | | | |
| * | | | QtAutogen: Make some methods static.Stephen Kelly2015-09-263-26/+29
| | | | |
| * | | | QtAutogen: Make internal method private.Stephen Kelly2015-09-261-1/+2
| | | | |
| * | | | QtAutogen: Don't use members to initialize automoc targets.Stephen Kelly2015-09-262-19/+22
| | | | |
| * | | | QtAutogen: Rename variable.Stephen Kelly2015-09-261-2/+3
| | | | |
| * | | | QtAutogen: Don't use a member to store skipped uic files.Stephen Kelly2015-09-262-12/+12
| | | | |
| * | | | QtAutogen: Add missing includes and forward declarations.Stephen Kelly2015-09-261-0/+5
| | | | |
* | | | | Merge topic 'cpack-package-empty-dirs'Brad King2015-09-2924-11/+89
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9298f56d CPack: allow packaging of empty directories ecd71c9c SystemTools: time operations on directories 19c6f4ee SystemTools: set time file permissions 749a140a CPackDeb: allow empty directories in component packages
| * | | | | CPack: allow packaging of empty directoriesDomen Vrankar2015-09-2821-5/+79
| | | | | |
| * | | | | SystemTools: time operations on directoriesDomen Vrankar2015-09-281-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On windows FILE_FLAG_BACKUP_SEMANTICS enables us to read/write time both on files and directories.
| * | | | | SystemTools: set time file permissionsDomen Vrankar2015-09-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows if file permissions are read only FILE_WRITE_ATTRIBUTES will enables us to get file handle and change file time.
| * | | | | CPackDeb: allow empty directories in component packagesRaffi Enficiaud2015-09-282-2/+3
| | |/ / / | |/| | |
* | | | | Merge topic 'ProcessorCount-SunOS-psrinfo'Brad King2015-09-291-8/+21
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 1ff96bf6 ProcessorCount: Implement with psrinfo tool on recent SunOS versions
| * | | | | ProcessorCount: Implement with psrinfo tool on recent SunOS versionsMarc Chevrier2015-09-281-8/+21
| | | | | |
* | | | | | Merge topic 'link-https-cmake.org'Brad King2015-09-2927-45/+45
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | da7276cf Replace http://www.cmake.org URLs with https://cmake.org
| * | | | | | Replace http://www.cmake.org URLs with https://cmake.orgBrad King2015-09-2527-45/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The latter is now the preferred URL for visiting cmake.org with a browser. Convert using the shell code: git ls-files -z | xargs -0 sed -i 's|http://www\.cmake|https://cmake|g'
* | | | | | | CMake Nightly Date StampKitware Robot2015-09-291-1/+1
| |_|/ / / / |/| | | | |
* | | | | | Merge topic 'minor-cleanups'Brad King2015-09-2824-86/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 51e48637 VS: Remove impossible condition. 203eada6 cmMakefile: Remove Configured state. 5642449a cmCommand: Remove IsDiscouraged interface. 77c6a339 cmSetCommand: Re-use local named variable. 732f5511 cmSetCommand: Fix typo in comment. 8544f16d cmGlobalGenerator: Devirtualize method. 9096daaf Ninja: Remove unused variable.
| * | | | | | VS: Remove impossible condition.Stephen Kelly2015-09-271-3/+2
| | | | | | |
| * | | | | | cmMakefile: Remove Configured state.Stephen Kelly2015-09-272-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It is vestigial.
| * | | | | | cmCommand: Remove IsDiscouraged interface.Stephen Kelly2015-09-2718-71/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This used to affect documentation, but does not affect the Sphinx documentation.
| * | | | | | cmSetCommand: Re-use local named variable.Stephen Kelly2015-09-271-1/+1
| | | | | | |
| * | | | | | cmSetCommand: Fix typo in comment.Stephen Kelly2015-09-271-1/+1
| | | | | | |
| * | | | | | cmGlobalGenerator: Devirtualize method.Stephen Kelly2015-09-271-1/+1
| | | | | | |