summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'code-cleanup'Brad King2019-04-152-37/+23
|\ | | | | | | | | | | | | | | | | 3e70a8d0df cmVisualStudio10TargetGenerator: Simplify code of two functions e10b04ef05 cmVisualStudio10TargetGenerator: Use count instead of find 2418a5aec0 cmVisualStudio10TargetGenerator: Remove uses of const_cast Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3223
| * cmVisualStudio10TargetGenerator: Simplify code of two functionsLeonid Pospelov2019-04-121-8/+6
| |
| * cmVisualStudio10TargetGenerator: Use count instead of findLeonid Pospelov2019-04-121-19/+9
| |
| * cmVisualStudio10TargetGenerator: Remove uses of const_castLeonid Pospelov2019-04-122-12/+10
| |
* | Merge topic 'ghs_custom'Brad King2019-04-156-211/+697
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2bae6a1346 GHS: Update tests and notes 3b415c60c1 GHS: Update ExternalProject for GHS tools 83c47ef5b8 GHS: Update project layout to accommodate gbuild inconsistencies 5d2e1404bd GHS: Update project layout to build targets correctly b6bfa7eeb2 GHS: Support add_dependencies() command 39ee9718d9 GHS: Support add_custom_target() command 8d3dad9a76 GHS: Support add_custom_command( OUTPUT ) signature 37acc9e229 GHS: Update custom command build events Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Narendhar Manimohan <narendhar15@gmail.com> Merge-request: !3119
| * | GHS: Update ExternalProject for GHS toolsFred Baksik2019-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | -- When using default values for the external project forward GHS platform variables so that the external project builds with the same tools as the original project. -- Fix issue with bad top level project when GHS_PRIMARY_TARGET is set but has no value. In this case treat it as unset and use default value.
| * | GHS: Update project layout to accommodate gbuild inconsistenciesFred Baksik2019-04-114-135/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- Do not use reference projects, use build hierarchy instead. gbuild has three parallel levels: * low -- Parallelizes compiling source files within a single project (.gpj) file when safe to do so. * medium -- Parallelizes processing files within a single linked output when safe to do so. * high [default] -- Parallelizes processing files whenever safe to do so, including linking task. Testing showed that for some combinations of gbuild / MULTI there are issues with building a project that uses references to target project files along with using {nobuild} option. Sometimes the archiving of a library and linking of an executable were happening in parallel and the build would fail when linking because the archive wasn't complete. This behavior was also inconsistent when running the build from MULTI and from the command line with gbuild. In some cases MULTI did not parallelize archiving and linking, but gbuild performed these actions in parallel. The parallel build issue was not seen when using a build hierarchy where the project listed the project files normally instead of using a reference link. The other option was to add the -parallel_level=medium to the command line when using "cmake --build" but this wouldn't fix the issue if gbuild itself was used to and the user might not be aware of the extra option used by cmake.
| * | GHS: Update project layout to build targets correctlyFred Baksik2019-04-114-155/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- Restructure projects and files to support proper building of targets Build order is determined by hierarchy of project files and folders Custom targets may have been run multiple times in the original file / folder structure -- Default to build targets that are part of ALL target -- List all known targets for this project Includes global targets for ALL_BUILD and INSTALL -- Compute build order for building targets
| * | GHS: Support add_dependencies() commandFred Baksik2019-04-113-80/+102
| | | | | | | | | | | | -- use references to list target dependencies
| * | GHS: Support add_custom_target() commandFred Baksik2019-04-115-79/+184
| | | | | | | | | | | | -- add new project type that runs shell scripts in proper order
| * | GHS: Support add_custom_command( OUTPUT ) signatureFred Baksik2019-04-114-27/+219
| | | | | | | | | | | | | | | | | | | | | -- add new file type to run a shell script -- gbuild does not compute interfile dependencies like other build tools. Therefore calculate the required build order of custom commands and list all of them in the CMake Rules subproject.
| * | GHS: Update custom command build eventsFred Baksik2019-04-102-41/+141
| | | | | | | | | | | | | | | | | | | | | | | | -- Fixes issue where commands run out of order; Run commands as single script Do not allow build events to run in parallel -- Use command generator to parse the commands -- Support pre-link build events -- Support more options: COMMENT, BYPRODUCTS, WORKING_DIRECTORY
* | | CMake Nightly Date StampKitware Robot2019-04-151-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2019-04-141-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2019-04-131-1/+1
| | |
* | | Merge topic 'genex-target-prefix-suffix'Brad King2019-04-123-30/+264
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b70bac647d Genex: add $<TARGET_FILE_PREFIX:...> and $<TARGET_FILE_SUFFIX:...> f65763fe9b Refactor: Add new methods to retrieve prefix and suffix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3207
| * | | Genex: add $<TARGET_FILE_PREFIX:...> and $<TARGET_FILE_SUFFIX:...>Marc Chevrier2019-04-101-0/+117
| | | | | | | | | | | | | | | | | | | | These capabilities complement MR !3190 and is also needed to solve issue #18771.
| * | | Refactor: Add new methods to retrieve prefix and suffixMarc Chevrier2019-04-102-30/+147
| | | |
* | | | Merge topic 'iface-headers'Brad King2019-04-122-2/+3
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | a40f9083dd INTERFACE Target: allow (PUBLIC/PRIVATE)_HEADER properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3181
| * | | INTERFACE Target: allow (PUBLIC/PRIVATE)_HEADER propertiesAvraham Shukron2019-04-112-2/+3
| | |/ | |/| | | | | | | | | | | | | | | | Also support installing headers on an INTERFACE library. Signed-off-by: Avraham Shukron <avraham.shukron@gmail.com> Fixes: #15234
* | | Merge topic 'cpack-cleanup'Brad King2019-04-121-68/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 67645c132b cpack: Remove unused file with old development notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3215
| * | | cpack: Remove unused file with old development notesBrad King2019-04-111-68/+0
| | | |
* | | | Merge topic 'cmSystemTools-StringToULong-negatives'Brad King2019-04-121-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0948499f6 cmSystemTools: Fix StringToULong to reject negative numbers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3216
| * | | | cmSystemTools: Fix StringToULong to reject negative numbersBrad King2019-04-111-0/+6
| |/ / / | | | | | | | | | | | | Fixes: #19161
* | | | Merge topic 'argument-parser-warning'Brad King2019-04-121-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aeddf63587 cmArgumentParser: Fix -Wcomma warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3214
| * | | | cmArgumentParser: Fix -Wcomma warningBrad King2019-04-111-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang `-Wcomma` warns: ``` Source/cmArgumentParser.cxx:58:42: warning: possible misuse of comma operator this->CurrentList = (val.emplace_back(), &val.back()); ^ ``` This was introduced by commit 4359fe133b (Introduce cmArgumentParser, 2019-03-23). Suppress it with the suggested cast.
* | | | Merge topic 'fix-overlay-icon-windows'Brad King2019-04-121-1/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12ef832c96 cmake-gui: Fix icon overlay on windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3217
| * | | | cmake-gui: Fix icon overlay on windowsJulien Jomier2019-04-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 9175a378f5 (QtDialog: Add windows taskbar progress, 2018-11-17, v3.14.0-rc1~330^2) we've added a missing overlay icon. This results in Windows falling back to a default overlay icon. Simply drop this line. Fixes: #19160
* | | | | Merge topic 'xcode-extra-sources'Brad King2019-04-121-18/+23
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 428c1e429f Xcode: Avoid mutating App Bundle targets during generation b4385d5ccc Xcode: Factor out duplicate source group code into lambda Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3208
| * | | | | Xcode: Avoid mutating App Bundle targets during generationBrad King2019-04-111-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For `MACOSX_BUNDLE` targets we generate an `Info.plist` automatically and add it to the sources presented to Xcode. Avoid mutating the original target's list of sources to achieve this. Otherwise when we generate the same target again (e.g. in a sub-project's Xcode file) it will look different than the first time and possibly break invariants. Fixes: #19114
| * | | | | Xcode: Factor out duplicate source group code into lambdaBrad King2019-04-111-11/+10
| |/ / / /
* | | | | CMake Nightly Date StampKitware Robot2019-04-121-1/+1
| |/ / / |/| | |
* | | | CMake Nightly Date StampKitware Robot2019-04-111-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2019-04-101-1/+1
| | |
* | | Merge topic 'argument-parser'Brad King2019-04-0913-1011/+649
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b783e62533 cmExecuteProcessCommand: Port to cmArgumentParser 9bddb03f31 cmParseArgumentsCommand: Port to cmArgumentParser 45edf1ad66 Retire cmCommandArgumentsHelper f5acecaa6f cmExportCommand: Port to cmArgumentParser e6b6bb0618 cmInstallCommand: Port to cmArgumentParser 4336a29edd cmFileCommand: Port to cmArgumentParser 4359fe133b Introduce cmArgumentParser Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Leonid Pospelov <pospelovlm@yandex.ru> Merge-request: !3137
| * | | cmExecuteProcessCommand: Port to cmArgumentParserRegina Pfeifer2019-04-041-170/+110
| | | |
| * | | cmParseArgumentsCommand: Port to cmArgumentParserRegina Pfeifer2019-04-041-114/+45
| | | |
| * | | Retire cmCommandArgumentsHelperRegina Pfeifer2019-04-043-429/+0
| | | |
| * | | cmExportCommand: Port to cmArgumentParserRegina Pfeifer2019-04-042-78/+48
| | | |
| * | | cmInstallCommand: Port to cmArgumentParserRegina Pfeifer2019-04-043-139/+134
| | | |
| * | | cmFileCommand: Port to cmArgumentParserRegina Pfeifer2019-04-041-81/+74
| | | |
| * | | Introduce cmArgumentParserRegina Pfeifer2019-04-043-0/+238
| | | |
* | | | Merge topic 'cmake-gui-windows-theme'Brad King2019-04-091-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 18962f8f8f Utilities/Release: Link statically to QWindowsVistaStyle plugin a53c3f03bc Merge branch 'backport-cmake-gui-windows-theme' fce03306ee cmake-gui: Fix theme on Windows with Qt >= 5.10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3205
| * \ \ \ Merge branch 'backport-cmake-gui-windows-theme'Brad King2019-04-081-0/+3
| |\ \ \ \ | | |_|_|/ | |/| | |
| | * | | cmake-gui: Fix theme on Windows with Qt >= 5.10mistersandman2019-04-081-0/+3
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | In Qt 5.10 the theme support moved to a separate QWindowsVistaStyle plugin. Issue: #19147
| | * | CMake 3.14.1v3.14.1Brad King2019-03-291-1/+1
| | | |
| | * | Merge branch 'implicit-includes-autogen' into release-3.14Brad King2019-03-291-8/+13
| | |\ \ | | | | | | | | | | | | | | | Merge-request: !3159
| | * \ \ Merge branch 'backport-kwsys-SystemTools-copy-self' into release-3.14Brad King2019-03-271-4/+4
| | |\ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3145
| | | * | | cmake: Fix '-E copy foo .' to avoid clobbering fileBrad King2019-03-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport KWSys commit 92334e7670 (SystemTools: CopyFileAlways: avoid copying file over self, 2019-03-25) to the CMake 3.14 release branch. Fixes: #19075
* | | | | | Merge topic 'genex_filter'Marc Chevrier2019-04-091-0/+47
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 698f51abac Genex: Add $<FILTER:list,INCLUDE|EXCLUDE,regex> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3188