Brad King
fa36e2151d
Merge topic 'precompile-headers'
...
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
2019-08-29 09:38:21 -04:00
Brad King
030570d71f
Merge topic 'autogen_strcat'
...
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
2019-08-29 09:36:36 -04:00
Brad King
4929453504
Merge topic 'docker-rel-linux'
...
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
2019-08-29 09:32:13 -04:00
Brad King
e009076780
Merge branch 'release-3.15'
2019-08-29 09:25:45 -04:00
Brad King
31c356e366
Merge topic 'find-no-name'
...
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
2019-08-29 09:25:13 -04:00
Kitware Robot
2d0a24acc5
CMake Nightly Date Stamp
2019-08-29 00:01:03 -04:00
Brad King
689fdbfc61
Utilities/Release: Drop linux64 script in favor of docker build
...
Drop also drop the CMakeNightlyLinux64 test that uses the script.
2019-08-28 13:20:36 -04:00
Brad King
2d7cfd30ac
Utilities/Release: Drop source archive generation in scripts
...
We will generate the `.tar.gz` and `.zip` source archives using
`git archive` in the scripts that drive the Linux build with Docker.
2019-08-28 13:20:36 -04:00
Brad King
facc240a45
Utilities/Release: Add docker specs to build and test Linux binaries
...
These will allow anyone to produce portable binaries like those
published on `cmake.org`.
2019-08-28 13:20:36 -04:00
Brad King
3e93b2fa66
Merge topic 'vs-ConfigurationType-genex'
...
8909a450a6 VS: Add support for generator expressions to VS_CONFIGURATION_TYPE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3746
2019-08-28 11:53:12 -04:00
Brad King
ffa1fa20e6
Merge topic 'sf-LANGUAGE-prop'
...
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
2019-08-28 11:52:04 -04:00
Brad King
606df71e48
Merge topic 'cpack-ifw-command-vectorization'
...
9367f7dcdd CPack/IFW: Command vectorization
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3732
2019-08-28 11:51:00 -04:00
Brad King
ae861c196a
Merge topic 'cmCommand_refactor_disallowed'
...
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
2019-08-28 11:49:32 -04:00
Cristian Adam
8da78d4efe
Precompile headers: Update documentation
2019-08-28 11:47:51 -04:00
Cristian Adam
5772930164
Precompile headers: Add unit tests
2019-08-28 11:47:51 -04:00
Cristian Adam
519606704e
Precompile headers: Add support for Visual Studio generators
...
Tested with Visual C++ 2017 on Windows.
Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de >
2019-08-28 11:47:51 -04:00
Cristian Adam
28be170fbc
Precompile headers: Add support for Xcode generator
...
Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de >
2019-08-28 11:47:50 -04:00
Cristian Adam
b8626261e9
Precompile headers: Add methods to generate PCH sources
...
Co-Author: Daniel Pfeifer <daniel@pfeifer-mail.de >
2019-08-28 11:47:40 -04:00
Brad King
aeeccc3b15
Merge branch 'backport-find-no-name' into release-3.15
...
Merge-request: !3751
2019-08-28 11:28:59 -04:00
Brad King
3c7d09e465
Merge branch 'release-3.15'
2019-08-28 11:28:37 -04:00
Brad King
238be91529
Merge topic 'autogen_fix_use_after_move'
...
e32f70036c Autogen: Fix AUTOUIC segfault, when file includes colliding ui_*.h file
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3745
2019-08-28 11:27:54 -04:00
Brad King
84e33e6da4
Merge branch 'backport-find-no-name' into find-no-name
2019-08-28 11:19:39 -04:00
Brad King
4c8760c9fb
find_path: Fix crash on empty old-style list of names
...
Fixes : #19651
2019-08-28 11:18:53 -04:00
Kitware Robot
96291764a1
CMake Nightly Date Stamp
2019-08-28 00:01:04 -04:00
Tushar Maheshwari
41ba3e28e6
Tests: Collect SourceFileProperty tests
...
- Move the related test from COnly to SourceFileProperty
- Cover `get_source_file_property` and `get_property(... SOURCE ...)`
2019-08-27 22:28:34 +05:30
Tushar Maheshwari
a40744c81a
cmSourceFile: Move LANGUAGE to GetPropertyForUser
...
- 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
2019-08-27 21:41:12 +05:30
Tushar Maheshwari
8cb3cffa42
cmSourceFile: Rename non-const GetLanguage
...
GetOrDetermineLanguage:
- Read the property if available
- Determine the Language using the file extension
Fix all usage of the non-const member in the repository.
2019-08-27 21:35:42 +05:30
Sebastian Holtermann
32b15d320f
Autogen: cmQtAutoMocUic settings hash computation optimizations
2019-08-27 17:31:46 +02:00
Sebastian Holtermann
b66cd3fe63
Autogen: cmQtAutoMocUic string concatenation cleanups
2019-08-27 17:31:46 +02:00
Sebastian Holtermann
619a92eacd
Autogen: cmQtAutoRcc settings hash computation optimizations
2019-08-27 17:31:46 +02:00
Sebastian Holtermann
10dc684508
Autogen: cmQtAutoRcc string concatenation cleanups
2019-08-27 17:31:46 +02:00
Sebastian Holtermann
da6c4b1273
Autogen: cmQtAutoGenInitializer string concatenation cleanups
2019-08-27 17:31:46 +02:00
Sebastian Holtermann
7a78d15415
Autogen: Let cmQtAutoGenerator::Logger methods accept cm::string_view
2019-08-27 17:31:45 +02:00
Sebastian Holtermann
c797148e85
Autogen: Use cm::string_view for AUTO{MOC,UIC,RCC} generator names
...
- Store `AUTO{MOC,UIC,RCC}` generator name as `cm::string_view`
- Use `std::initializer_list` instead of `std::array`
2019-08-27 17:31:45 +02:00
Sebastian Holtermann
8586077baa
Autogen: Modernize cmQtAutoGen methods using cm::string_view
2019-08-27 17:31:45 +02:00
Konstantin Podsvirov
9367f7dcdd
CPack/IFW: Command vectorization
...
Fixes : #19634
2019-08-27 11:30:19 -04:00
Brad King
843ab7544e
Merge topic 'cmake-initial-cache-dirs'
...
4ca0526f8a cmake: Pass -S and -B into PreLoad.cmake and -C scripts
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3709
2019-08-27 11:23:22 -04:00
Brad King
57fc6c587a
Merge topic 'xcode11-compatibility'
...
3186bb91ed Xcode: Make iOS tests compatible with Xcode 11
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3743
2019-08-27 11:00:53 -04:00
Brad King
bd4d52f7de
Merge topic 'GNUInstallDirs-arch-linux'
...
18365587c8 GNUInstallDirs: Keep 'lib' as default LIBDIR on Arch Linux based systems
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3735
2019-08-27 10:58:28 -04:00
Brad King
613ac3e7d5
Merge topic 'swift-version'
...
369c48ee43 Swift: honour `-swift-version` in Ninja generator
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3685
2019-08-27 10:57:26 -04:00
Brad King
d16402ddc4
Merge topic 'ctest-CLICOLOR_FORCE'
...
074a6a8cf6 CTest: Add env var CLICOLOR_FORCE to force color output
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3733
2019-08-27 10:54:24 -04:00
Peter Waller
4ca0526f8a
cmake: Pass -S and -B into PreLoad.cmake and -C scripts
...
Before this, it was not possible to see what the source or build directories
were set to on the command line.
Fixes : #19619
2019-08-27 10:51:40 -04:00
Brad King
1d953058a2
Merge branch 'autogen_fix_use_after_move' into release-3.15
...
Merge-request: !3745
2019-08-27 10:25:53 -04:00
Brad King
52a8fb2d53
Merge branch 'release-3.15'
2019-08-27 10:24:57 -04:00
Brad King
4a4001477d
Merge topic 'alpine-cpu_zero'
...
1902e39746 cmAffinity: Add include for CPU_ZERO on Alpine Linux
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3740
2019-08-27 10:20:50 -04:00
Brad King
297df45d00
Merge topic 'cmGlobalGenerator-compilerId-lifetime'
...
17ce0c29ad cmGlobalGenerator: Fix CheckCompilerIdCompatibility local var lifetime
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3741
2019-08-27 10:18:57 -04:00
Sebastian Holtermann
e32f70036c
Autogen: Fix AUTOUIC segfault, when file includes colliding ui_*.h file
...
This fixes a case of use after move of a `std::shared_ptr` in `AUTOUIC`.
It triggered a segfault, when the error message for colliding `ui_*.h`
includes in different files was computed.
2019-08-27 10:17:33 -04:00
Brad King
8a8b2fa695
Merge topic 'libarchive-requirement'
...
752fa8be9d libarchive: We now require at least version 3.3.3
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3737
2019-08-27 10:17:20 -04:00
Brad King
2a2c4cc722
Merge topic 'ninja_additional_clean_files_custom_target'
...
d040f3f1ee Tests: Extend MakeClean test to test various target types
3ed8cffe73 Ninja: Add support for ADDITIONAL_CLEAN_FILES in custom targets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3739
2019-08-27 10:16:05 -04:00
Brad King
1d68639654
Merge branch 'alpine-cpu_zero' into release-3.15
...
Merge-request: !3740
2019-08-27 10:11:37 -04:00