summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'vs-win10-store'Brad King2015-10-054-7/+294
|\ | | | | | | | | | | | | | | | | 2402bb8c Help: Document Windows 10 Universal Applications in cmake-toolchains(7) 1be2f12c VS: Add support for Windows 10 Universal (Store) Applications 2798dbda VS: Refactor indentation of LinkLibraryDependencies 8c426183 MSVC: Add system libs for WindowsStore on VS 2015 d1b87d72 VS: Select Windows 10 Store SDK and toolset for VS 2015
| * VS: Add support for Windows 10 Universal (Store) ApplicationsGilles Khouzam2015-10-052-6/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the VS 2015 generator to support WindowsStore 10.0 applications. Add target properties to customize them: * VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION: Specifies the minimum version of the OS that the project can target. * VS_DESKTOP_EXTENSIONS_VERSION, VS_MOBILE_EXTENSIONS_VERSIONS, VS_IOT_EXTENSIONS_VERSION: Add a reference to the version of the SDK specified to the target allowing to target the extended functionality in a universal project. * VS_IOT_STARTUP_TASK: Specifies that the target should be built as an IOT continuous background task.
| * VS: Refactor indentation of LinkLibraryDependenciesGilles Khouzam2015-10-051-1/+1
| | | | | | | | Use our indentation specifier instead of hard-coding spaces.
| * VS: Select Windows 10 Store SDK and toolset for VS 2015Gilles Khouzam2015-10-022-0/+70
| |
* | Merge topic 'vs-win10-sdk'Brad King2015-10-051-5/+14
|\ \ | |/ | | | | | | 45812111 VS: Select latest Windows 10 SDK if no specific version was requested
| * 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.
* | CMake Nightly Date StampKitware Robot2015-10-051-1/+1
| |
* | CMake Nightly Date StampKitware Robot2015-10-041-1/+1
| |
* | CMake Nightly Date StampKitware Robot2015-10-031-1/+1
| |
* | Merge topic 'vs-win10-sdk'Brad King2015-10-027-3/+126
|\ \ | |/ | | | | | | | | | | 3f077996 VS: Add support for selecting the Windows 10 SDK (#15670) 5dfc4c5f VS: Add hook to initialize Windows platform settings 61c472a2 cmSystemTools: Add VersionCompareGreater helper
| * VS: Add support for selecting the Windows 10 SDK (#15670)Gilles Khouzam2015-10-024-0/+99
| | | | | | | | | | | | | | | | | | 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.
* | CMake Nightly Date StampKitware Robot2015-10-021-1/+1
| |
* | Merge topic 'compiler-links-statically'Brad King2015-10-011-1/+3
|\ \ | | | | | | | | | | | | | | | 8b4873a1 Disable shared library support when compiler links statically e90f463a Drop executable symbol export if platform does not support shared libs
| * | Drop executable symbol export if platform does not support shared libsChuck Atkins2015-09-301-1/+3
| |/ | | | | | | | | | | | | | | Instead of always adding CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGS to executables, or just when the ENABLE_EXPORTS property is set (CMP0065), make sure that the target platform also actually supports shared libraries. If not, then the executable cannot possibly provide symbols to them anyway.
* | Merge topic 'fix-warnings'Brad King2015-10-012-3/+3
|\ \ | | | | | | | | | | | | | | | f90acf52 cmVisualStudio10TargetGenerator: Fix unsigned integer constant type e67e0155 cmMakefile: Avoid name conflict with Solaris global typedef
| * | cmVisualStudio10TargetGenerator: Fix unsigned integer constant typeBrad King2015-09-301-1/+1
| | | | | | | | | | | | | | | Add a 'u' suffix to FILETIME component integer constant initializers. This avoids warnings about the range of the signed constant value.
| * | cmMakefile: Avoid name conflict with Solaris global typedefBrad King2015-09-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | On Solaris there is a global typedef called 'single': /usr/include/floatingpoint.h:77:15: note: shadowed declaration is here typedef float single; Avoid shadowing it by using a different name.
* | | CMake Nightly Date StampKitware Robot2015-10-011-1/+1
| |/ |/|
* | 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
| |
* | 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-293-16/+2
|\ \ | | | | | | | | | | | | 9bc6eb8e cmGlobalGenerator: Initialize generator targets on construction (#15729)
| * | cmGlobalGenerator: Initialize generator targets on construction (#15729)Stephen Kelly2015-09-293-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-294-7/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-282-3/+11
| | | |
| * | | 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-281-0/+2
| | |/ | |/|
* | | Merge topic 'link-https-cmake.org'Brad King2015-09-291-1/+1
|\ \ \ | | | | | | | | | | | | | | | | da7276cf Replace http://www.cmake.org URLs with https://cmake.org