summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Find: Provide global controls for the `NO_[]_PATH` call optionsRobert Maynard2019-06-2123-0/+251
|
* RunCMake: Automatically support platform out override filesRobert Maynard2019-06-2114-18/+52
|
* Merge topic 'FindBoost-component'Brad King2019-06-1927-0/+419
|\ | | | | | | | | | | | | | | | | | | | | 830b332f32 FindBoost: Add tests for legacy variables 0dd6772a89 FindBoost: Add legacy variables and targets for compatibility e4181eeaf2 FindBoost: Don't overwrite Boost_${_comp}_FOUND 4cb652e1d3 Tests.RunCMake.FindBoost: Fix example BoostConfig 7251d54bd1 Tests.FindBoost: Don't use BoostConfig in MODULE test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3438
| * FindBoost: Add tests for legacy variablesAlexander Grund2019-06-1825-0/+415
| |
| * Tests.RunCMake.FindBoost: Fix example BoostConfigAlexander Grund2019-06-181-0/+3
| |
| * Tests.FindBoost: Don't use BoostConfig in MODULE testAlexander Grund2019-06-181-0/+1
| |
* | Merge topic 'tutorial-fix-version'Brad King2019-06-1812-12/+12
|\ \ | | | | | | | | | | | | | | | | | | 34a7e5ab58 Tests/Tutorial: Fix version displayed in tutorial executable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3448
| * | Tests/Tutorial: Fix version displayed in tutorial executableJean-Christophe Fillion-Robin2019-06-1412-12/+12
| |/
* | Merge topic 'escape-install-rpath'Kyle Edwards2019-06-1711-6/+251
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 4caefbb423 cmInstallTargetGenerator: Add tests for the RPATH_CHANGE rule 749ce48eb5 cmInstallTargetGenerator: Escape generated OLD_RPATH argument 9e84c7c5e8 cmInstallTargetGenerator: Introduce CMP0095 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3383
| * | cmInstallTargetGenerator: Add tests for the RPATH_CHANGE ruleDennis Klein2019-06-138-1/+243
| | |
| * | cmInstallTargetGenerator: Introduce CMP0095Dennis Klein2019-06-133-5/+8
| | | | | | | | | | | | | | | | | | | | | Escape coincidental CMake syntax in RPATH entries when generating the intermediary cmake_install.cmake script. Fixes #19225
* | | Merge topic 'find_package_prefer_config_fix'Brad King2019-06-172-0/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 22e65d10c1 find_package: Fixed CMAKE_FIND_PACKAGE_PREFER_CONFIG Module fallback Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3446
| * | | find_package: Fixed CMAKE_FIND_PACKAGE_PREFER_CONFIG Module fallbackCristian Adam2019-06-132-0/+14
| | |/ | |/| | | | | | | Fixes: #19361
* | | Merge topic 'add-test-command-expand-lists'Brad King2019-06-1217-0/+107
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e791ffac61 add_test: Add COMMAND_EXPAND_LISTS option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3422
| * | | add_test: Add COMMAND_EXPAND_LISTS optionSergey Bobrenok2019-06-0717-0/+107
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Add a `COMMAND_EXPAND_LISTS` option to the `add_test` command to cause `;`-separated lists produced by generator expressions to be expanded into multiple arguments. The `add_custom_command` command already has such an option. Fixes: #17284
* | | Merge topic 'capabilities-fileapi'Brad King2019-06-121-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | c932f49842 cmake: Teach -E capabilities to report supported fileapi requests 6696855f72 cmake: Simplify implementation of -E capabilities 6b815e58ba fileapi: Factor out helper to construct a version object Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3433
| * | cmake: Teach -E capabilities to report supported fileapi requestsBrad King2019-06-071-1/+1
| |/ | | | | | | Fixes: #19339
* | file: Add GET_RUNTIME_DEPENDENCIES modeKyle Edwards2019-06-1054-1/+1345
|/ | | | Co-Authored-by: Bryon Bean <bryon.bean@kitware.com>
* Tests: Fix RunCMake.ctest_update test to not require GIT_EXECUTABLEBrad King2019-06-042-2/+4
| | | | | | | Fix the test case added by commit 95db11fdb1 (ctest: Include ChangeId in Update.xml, 2019-04-23) to work in a release branch of CMake. The `GIT_EXECUTABLE` value is not set before we add this test in release branch builds.
* Merge topic 'emulator-arguments'Brad King2019-06-047-3/+67
|\ | | | | | | | | | | | | fec441ec17 Teach CROSSCOMPILING_EMULATOR to support arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3402
| * Teach CROSSCOMPILING_EMULATOR to support argumentsMarek Antoniak2019-06-037-3/+67
| | | | | | | | Fixes: #19321
* | Merge topic 'remove_directories'Brad King2019-06-0412-6/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 07a80c7002 cmake: Teach -E remove_directory to remove multiple directories 013bee698e Tests: Add RunCMake.CommandLine make_directory test checks 3eb16de327 Tests: Fix RunCMake.CommandLine make_directory test name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3411
| * | cmake: Teach -E remove_directory to remove multiple directoriesJohn Freeman2019-06-038-5/+24
| | | | | | | | | | | | | | | The `make_directory` command can make multiple directories in a single invocation. Make `remove_directory` mirror that behavior.
| * | Tests: Add RunCMake.CommandLine make_directory test checksJohn Freeman2019-06-032-0/+9
| | |
| * | Tests: Fix RunCMake.CommandLine make_directory test nameJohn Freeman2019-06-033-1/+1
| |/
* | Merge topic 'executables-are-consoled'Brad King2019-06-045-1/+12
|\ \ | | | | | | | | | | | | | | | | | | b06f4c8a74 Swift: disallow WIN32_EXECUTABLE properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3410
| * | Swift: disallow WIN32_EXECUTABLE propertiesSaleem Abdulrasool2019-06-035-1/+12
| |/ | | | | | | | | | | | | | | | | | | | | Currently, the compiler does not synthesize the correct entry point for the application and passing the subsystem flag does not work the same way with the Swift linker language. Add a check to prevent the application of `WIN32_EXECUTABLE` to Swift executables until they can be properly supported. This will prevent the need for a future policy change. Closes: #19325
* | Merge topic 'compiler_id_gen_exp_supports_multiple_ids'Brad King2019-06-0410-7/+72
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 162555d7ec Help: Add release notes for updated generator expressions 808b818063 Genex: CompileLang and CompileLangAndId now match against a list of ids 9fd602bfd3 Genex: PlatformId now can match against a list of ids. ec66af2026 Genex: CompilerId now can match against a list of ids. 2d4787fc4d Genex: Add more extensive support for an unbounded number of parameters Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3405
| * | Genex: CompileLang and CompileLangAndId now match against a list of idsRobert Maynard2019-06-037-4/+24
| | | | | | | | | | | | | | | | | | This allows for expressions such as: $<COMPILE_LANG_AND_ID, CXX, GNU, Clang>
| * | Genex: PlatformId now can match against a list of ids.Robert Maynard2019-06-032-0/+6
| | |
| * | Genex: CompilerId now can match against a list of ids.Robert Maynard2019-06-034-3/+42
| |/ | | | | | | | | This allows for expressions like: $<$<CXX_COMPILER_ID:Clang,GNU>:-DMY_PRIVATE_DEFINE>
* | Merge topic 'check_language_respects_cuda_host_compiler'Brad King2019-06-041-1/+2
|\ \ | | | | | | | | | | | | | | | | | | fada8cbfd6 CheckLanguage: Report CMAKE_CUDA_HOST_COMPILER if needed for compilation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3407
| * | CheckLanguage: Report CMAKE_CUDA_HOST_COMPILER if needed for compilationRobert Maynard2019-06-031-1/+2
| | | | | | | | | | | | Fixes: #19013
* | | Merge topic 'print-correct-line-number'Brad King2019-06-044-2/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3475e2728b cmListFileCache: When missing ending ) print starting line instead of last one Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3398
| * | | cmListFileCache: When missing ending ) print starting line instead of last oneBartosz Kosiorek2019-06-034-2/+8
| | |/ | |/| | | | | | | Fixes: #19301
* | | Merge topic 'better_error_message_for_visibility_preset_property'Brad King2019-06-041-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 619416f8a3 The error message for VISIBILITY_PRESET now documents valid options. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3409
| * | | The error message for VISIBILITY_PRESET now documents valid options.Robert Maynard2019-06-031-1/+1
| |/ / | | | | | | | | | | | | Rather than just state the value for VISIBILITY_PRESET was invalid, we additionally list the accepted values.
* | | Tests: Fix RunCMake.CommandLine test to use generator in no-S-B caseBrad King2019-06-031-4/+6
|/ / | | | | | | | | | | | | Apply the fix from commit baed22c4b0 (Tests: Fix RunCMake.CommandLine test to use generator with -S and -B, 2019-04-10) to the `no-S-B` case too. It also generates a build system and should use the generator being tested.
* | Merge topic 'vs-add-package-reference'Brad King2019-05-313-0/+44
|\ \ | | | | | | | | | | | | | | | | | | | | | 42e14d90b1 VS: Added support for VS package references for nuget Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Leonid Pospelov <pospelovlm@yandex.ru> Merge-request: !3389
| * | VS: Added support for VS package references for nugetKinan Mahdi2019-05-303-0/+44
| | |
* | | Merge topic 'implicit-includes-CPATH'Brad King2019-05-314-0/+61
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 2d0b0e2b9d Do not exclude include directories made implicit by CPATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3395
| * | | Do not exclude include directories made implicit by CPATHBrad King2019-05-304-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Entries of the `CPATH` environment variable are implicitly searched as include directories by some C/C++ compilers. Since commit 5990ecb741 (Compute implicit include directories from compiler output, 2018-12-07, v3.14.0-rc1~108^2) these entries are detected by CMake and included in the `CMAKE_{C,CXX}_IMPLICIT_INCLUDE_DIRECTORIES` variables. However, we should not exclude them from explicit specification via `-I` or particularly `-isystem` because they are meant as user-specified include directories that can be re-ordered without breaking compiler builtin headers. In particular, we need explicit requests via `include_directories` with the `SYSTEM` option to result in `-isystem` so that third-party headers do not produce warnings. Co-Author: Ben Boeckel <ben.boeckel@kitware.com> Fixes: #19291
* | | | Merge topic 'tar-zstd-compression'Brad King2019-05-302-0/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 53cb1f2d04 cmake: Teach cmake -E tar command, Zstandard compression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3357
| * | | | cmake: Teach cmake -E tar command, Zstandard compressionBartosz Kosiorek2019-05-222-0/+11
| | | | | | | | | | | | | | | | | | | | Fixes #18657
* | | | | Merge topic 'clang-gnulike-support'Brad King2019-05-2928-45/+71
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 74829f01b1 Help: Add notes for topic 'clang-gnulike-support' 19669abe1d Tests: handle string escaping differences with NMake+clang a2a90f41e3 Tests: require C++14 for the Tutorial 4819ff9647 Tests: fix failures with gnu mode clang on windows 26af0b25e7 cmake: use correct stack size with gnu mode clang on windows d44c0db0b2 clang: setup correct configuration in gnu mode b7d5ef23e9 cmGlobalNinjaGenerator: use gnu compatible paths with clang in gnu mode 3d0210d8dc binutils: add the llvm-* variants to the tool lists. ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Francesco Bertolaccini <francesco@bertolaccini.dev> Acked-by: Stanislav Ershov <digital.stream.of.mind@gmail.com> Acked-by: Saleem Abdulrasool <compnerd@compnerd.org> Merge-request: !2992
| * | | | | Tests: handle string escaping differences with NMake+clangZsolt Parragi2019-05-243-6/+13
| | | | | |
| * | | | | Tests: require C++14 for the TutorialZsolt Parragi2019-05-2413-27/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang++ on Windows with the MSVC STL requires C++14 to compile. The C++ standard is set to C++14 for the entire tutorial instead of MSVC/clang specific conditions to keep it simple.
| * | | | | Tests: fix failures with gnu mode clang on windowsZsolt Parragi2019-05-2412-12/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Root causes were: * Using incorrect conditions (assuming MSVC-like command line mode) * Trying to compile the MSVC STL in C++11 mode, when parts of it require C++14 or enabling MS extensions in clang. * Missing flush in a testcase using stdout in a dll and a main part with static crt
* | | | | | Merge topic 'rel-push'Brad King2019-05-281-2/+2
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9bf97363b0 Utilities/Release: Replace upload step with a "push" script 3a0ab3ba23 Utilities/Release: Teach upload script to compute version automatically Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3370
| * | | | | Utilities/Release: Replace upload step with a "push" scriptBrad King2019-05-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the `upload_release.cmake` script with a `push.bash` script that is more configurable from the command line and that does not hard-code any destinations. Instead of using `scp` to access `cmake.org` directly, push the files atomically to a staging directory from which another process will actually upload them.