summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Unity build: Add support for Visual Studio generatorCristian Adam2019-08-293-3/+65
| | | | | | | | | It works as expected in Visual Studio. Visual Studio 2017 will (partially) benefit from the build in support for unity builds. The custom unity sources are used, because the build in support doesn't allow batching of certain number of files. It can do only batching by directory.
* Unity build: Add support for Ninja and Makefile generatorsCristian Adam2019-08-2917-0/+208
|
* Merge topic 'per-lang-link-library-flag'Brad King2019-08-295-8/+36
|\ | | | | | | | | | | | | 79b2824251 Add per-lang variants of CMAKE_LINK_LIBRARY_{FILE_FLAG,SUFFIX} Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3747
| * Add per-lang variants of CMAKE_LINK_LIBRARY_{FILE_FLAG,SUFFIX}Alan W. Irwin2019-08-275-8/+36
| | | | | | | | | | | | | | | | | | | | Extend the change from commit 689be6235e (Generator: support per-language link library flag, 2019-08-08) to cover more link library command-line flag components. Allow compilers for different languages to use different values for these linking-related variables within the same build. Closes: #19631
* | Merge topic 'CMakeParseImplicitLinkInfo-comma-separated'Brad King2019-08-29193-9/+606
|\ \ | | | | | | | | | | | | | | | | | | | | | b5f20da94d CMakeParseImplicitLinkInfo supports comma separated link lines 2200bc068b Introduce a ParseImplicitLinkInfo test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3730
| * | CMakeParseImplicitLinkInfo supports comma separated link linesRobert Maynard2019-08-289-6/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | It is currently presumed that the linker will generate a space separated line. This is not the case for some compilers such as IBM XL where it can output space or comma separated. This is particularly apparent when IBM XL is used as the host compiler for CUDA as it generates a comma separated link line.
| * | Introduce a ParseImplicitLinkInfo testRobert Maynard2019-08-28186-8/+290
| | | | | | | | | | | | | | | By sharing the information used by ParseImplicitIncludeInfo we can also verify the parsing of implicit link info such as directories.
* | | Merge topic 'precompile-headers'Brad King2019-08-2963-6/+924
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8da78d4efe Precompile headers: Update documentation 5772930164 Precompile headers: Add unit tests 519606704e Precompile headers: Add support for Visual Studio generators 28be170fbc Precompile headers: Add support for Xcode generator b8626261e9 Precompile headers: Add methods to generate PCH sources 375d01c680 PCH: add example/test 9b6797e71d PCH: add target_precompile_headers command 0467a2f91b PCH: add PRECOMPILE_HEADERS to special properties Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Acked-by: Ivan171 <heavenandhell171@gmail.com> Acked-by: Stanislav Ershov <digital.stream.of.mind@gmail.com> Acked-by: Steve Mokris <smokris@softpixel.com> Acked-by: Evgeniy Dushistov <dushistov@mail.ru> Acked-by: Danila Malyutin <flashmozzg@gmail.com> Acked-by: Viktor Kirilov <vik.kirilov@gmail.com> Acked-by: Lucas Zhao <zhaopf6@163.com> Merge-request: !3553
| * | | Precompile headers: Update documentationCristian Adam2019-08-2810-0/+121
| | | |
| * | | Precompile headers: Add unit testsCristian Adam2019-08-2823-1/+254
| | | |
| * | | Precompile headers: Add support for Visual Studio generatorsCristian Adam2019-08-283-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | Tested with Visual C++ 2017 on Windows. Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de>
| * | | Precompile headers: Add support for Xcode generatorCristian Adam2019-08-281-0/+12
| | | | | | | | | | | | | | | | Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de>
| * | | Precompile headers: Add methods to generate PCH sourcesCristian Adam2019-08-2817-4/+282
| | | | | | | | | | | | | | | | Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de>
| * | | PCH: add example/testDaniel Pfeifer2019-08-275-0/+45
| | | |
| * | | PCH: add target_precompile_headers commandDaniel Pfeifer2019-08-275-0/+84
| | | |
| * | | PCH: add PRECOMPILE_HEADERS to special propertiesDaniel Pfeifer2019-08-266-1/+106
| | | |
* | | | Merge topic 'autogen_strcat'Brad King2019-08-299-573/+450
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32b15d320f Autogen: cmQtAutoMocUic settings hash computation optimizations b66cd3fe63 Autogen: cmQtAutoMocUic string concatenation cleanups 619a92eacd Autogen: cmQtAutoRcc settings hash computation optimizations 10dc684508 Autogen: cmQtAutoRcc string concatenation cleanups da6c4b1273 Autogen: cmQtAutoGenInitializer string concatenation cleanups 7a78d15415 Autogen: Let cmQtAutoGenerator::Logger methods accept cm::string_view c797148e85 Autogen: Use cm::string_view for AUTO{MOC,UIC,RCC} generator names 8586077baa Autogen: Modernize cmQtAutoGen methods using cm::string_view Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3742
| * | | | Autogen: cmQtAutoMocUic settings hash computation optimizationsSebastian Holtermann2019-08-271-15/+9
| | | | |
| * | | | Autogen: cmQtAutoMocUic string concatenation cleanupsSebastian Holtermann2019-08-272-265/+225
| | | | |
| * | | | Autogen: cmQtAutoRcc settings hash computation optimizationsSebastian Holtermann2019-08-271-9/+15
| | | | |
| * | | | Autogen: cmQtAutoRcc string concatenation cleanupsSebastian Holtermann2019-08-271-60/+37
| | | | |
| * | | | Autogen: cmQtAutoGenInitializer string concatenation cleanupsSebastian Holtermann2019-08-271-52/+43
| | | | |
| * | | | Autogen: Let cmQtAutoGenerator::Logger methods accept cm::string_viewSebastian Holtermann2019-08-272-60/+36
| | | | |
| * | | | Autogen: Use cm::string_view for AUTO{MOC,UIC,RCC} generator namesSebastian Holtermann2019-08-275-47/+44
| | | | | | | | | | | | | | | | | | | | | | | | | - Store `AUTO{MOC,UIC,RCC}` generator name as `cm::string_view` - Use `std::initializer_list` instead of `std::array`
| * | | | Autogen: Modernize cmQtAutoGen methods using cm::string_viewSebastian Holtermann2019-08-272-69/+45
| | | | |
* | | | | Merge topic 'docker-rel-linux'Brad King2019-08-2919-88/+456
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 689fdbfc61 Utilities/Release: Drop linux64 script in favor of docker build 2d7cfd30ac Utilities/Release: Drop source archive generation in scripts facc240a45 Utilities/Release: Add docker specs to build and test Linux binaries bf832ccf01 Utilities/Release: Add README.rst describing directory content ab153f17bf Utilities/Release: Drop machine-specific README ed294c1664 Add option to skip CMake tests that need network access 4b8a864d52 Add option to test CMake itself against its hosting CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Gregor Jasny <gjasny@googlemail.com> Merge-request: !3727
| * | | | | Utilities/Release: Drop linux64 script in favor of docker buildBrad King2019-08-283-58/+0
| | | | | | | | | | | | | | | | | | | | | | | | Drop also drop the CMakeNightlyLinux64 test that uses the script.
| * | | | | Utilities/Release: Drop source archive generation in scriptsBrad King2019-08-283-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will generate the `.tar.gz` and `.zip` source archives using `git archive` in the scripts that drive the Linux build with Docker.
| * | | | | Utilities/Release: Add docker specs to build and test Linux binariesBrad King2019-08-2811-0/+408
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These will allow anyone to produce portable binaries like those published on `cmake.org`.
| * | | | | Utilities/Release: Add README.rst describing directory contentBrad King2019-08-232-0/+29
| | | | | |
| * | | | | Utilities/Release: Drop machine-specific READMEBrad King2019-08-231-18/+0
| | | | | |
| * | | | | Add option to skip CMake tests that need network accessBrad King2019-08-232-11/+13
| | | | | |
| * | | | | Add option to test CMake itself against its hosting CMakeBrad King2019-08-231-0/+4
| | | | | |
* | | | | | Merge branch 'release-3.15'Brad King2019-08-290-0/+0
|\ \ \ \ \ \
| * \ \ \ \ \ Merge branch 'backport-find-no-name' into release-3.15Brad King2019-08-284-1/+5
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3751
* | \ \ \ \ \ \ Merge topic 'find-no-name'Brad King2019-08-294-1/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 84e33e6da4 Merge branch 'backport-find-no-name' into find-no-name 4c8760c9fb find_path: Fix crash on empty old-style list of names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3751
| * \ \ \ \ \ \ \ Merge branch 'backport-find-no-name' into find-no-nameBrad King2019-08-284-1/+5
| |\ \ \ \ \ \ \ \ | | | |/ / / / / / | | |/| | | | | |
| | * | | | | | | find_path: Fix crash on empty old-style list of namesBrad King2019-08-284-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19651
* | | | | | | | | CMake Nightly Date StampKitware Robot2019-08-291-1/+1
| | | | | | | | |
* | | | | | | | | Merge topic 'vs-ConfigurationType-genex'Brad King2019-08-285-3/+13
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8909a450a6 VS: Add support for generator expressions to VS_CONFIGURATION_TYPE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3746
| * | | | | | | | | VS: Add support for generator expressions to VS_CONFIGURATION_TYPEDaniel Eiband2019-08-265-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generator expressions in target property VS_CONFIGURATION_TYPE might be used to set the ConfigurationType to Utility for certain configurations to not build the target while still linking to the target in other configurations. Fixes: #19613
* | | | | | | | | | Merge topic 'sf-LANGUAGE-prop'Brad King2019-08-2810-37/+39
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 41ba3e28e6 Tests: Collect SourceFileProperty tests a40744c81a cmSourceFile: Move LANGUAGE to GetPropertyForUser 8cb3cffa42 cmSourceFile: Rename non-const GetLanguage Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3744
| * | | | | | | | | | Tests: Collect SourceFileProperty testsTushar Maheshwari2019-08-272-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move the related test from COnly to SourceFileProperty - Cover `get_source_file_property` and `get_property(... SOURCE ...)`
| * | | | | | | | | | cmSourceFile: Move LANGUAGE to GetPropertyForUserTushar Maheshwari2019-08-273-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove the special case from cmGetSourceFilePropertyCommand Tests: check LANGUAGE for source file - use target_sources to add file - use get_property to read property value
| * | | | | | | | | | cmSourceFile: Rename non-const GetLanguageTushar Maheshwari2019-08-278-21/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GetOrDetermineLanguage: - Read the property if available - Determine the Language using the file extension Fix all usage of the non-const member in the repository.
* | | | | | | | | | | Merge topic 'cpack-ifw-command-vectorization'Brad King2019-08-281-47/+72
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9367f7dcdd CPack/IFW: Command vectorization Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3732
| * | | | | | | | | | | CPack/IFW: Command vectorizationKonstantin Podsvirov2019-08-271-47/+72
| | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19634
* | | | | | | | | | | Merge topic 'cmCommand_refactor_disallowed'Brad King2019-08-2821-300/+116
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 54872b73b9 cmCommand refactor: remove cmDisallowedCommand class 11f35d340e cmCommand refactor: remove unused AddDisallowedCommand overload ae51aa32f0 cmCommand refactor: cmVariableRequiresCommand 185fa2c4f3 cmCommand refactor: cmUtilitySourceCommand c8deeac68f cmCommand refactor: cmSubdirDependsCommand c2c222eba1 cmCommand refactor: cmOutputRequiredFilesCommand 7533e47ccc cmCommand refactor: cmLoadCommandCommand 9d6fc3f5ed cmCommand refactor: cmExportLibraryDependenciesCommand ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3736
| * | | | | | | | | | | cmCommand refactor: remove cmDisallowedCommand classGabor Bencze2019-08-264-79/+0
| | | | | | | | | | | |
| * | | | | | | | | | | cmCommand refactor: remove unused AddDisallowedCommand overloadGabor Bencze2019-08-262-14/+0
| | | | | | | | | | | |