summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindGLEW-updates'Brad King2019-03-184-0/+40
|\ | | | | | | | | | | | | | | a77a30e657 FindGLEW: Add test a7d853868b FindGLEW: Update implementation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3094
| * FindGLEW: Add testClaudio Fantacci2019-03-154-0/+40
| |
* | Merge topic 'pkg-config-linker-flags'Marc Chevrier2019-03-161-0/+21
|\ \ | | | | | | | | | | | | | | | | | | b759fa9b8e FindPkgConfig: Set linker flags on imported targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3082
| * | FindPkgConfig: Set linker flags on imported targetsRadek Nadstawny2019-03-131-0/+21
| | |
* | | Merge topic 'export-package-default-off'Brad King2019-03-151-0/+20
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9bede5c4ce export: Disable PACKAGE mode user package registry by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Lukas Mosimann <lumosimann@gmail.com> Merge-request: !3041
| * | | export: Disable PACKAGE mode user package registry by defaultRobert Maynard2019-03-151-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The user package registry populated by the `export()` command causes side effects outside the build and source directories. Such effects should be opt-in rather than op-out. Introduce a policy to change default behavior of `export(PACKAGE)` to do nothing.
* | | | Tests: Run FindGTK2 tests only when explicitly enabledBrad King2019-03-142-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | Do not `find_package(GTK2)` by default, as it gives the impression that CMake depends on it to build. We will set `CMake_TEST_FindGTK2` in the cache of automated builds where GTK2 is expected to work.
* | | | Merge topic 'short-commands'Brad King2019-03-141-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 077ab5774c cmake: add short version of '--target <tgt>...' option 071f5e1544 cmake: Reformat '--parallel' and '--verbose' options in help Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3078
| * | | cmake: add short version of '--target <tgt>...' optionBartosz Kosiorek2019-03-121-1/+1
| | | |
* | | | Merge topic 'cuda_compiler_generator_expressions'Brad King2019-03-132-0/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b53766b205 CUDA: Support compiler id and version generator expressions b544e34af6 All VersionNode use the same capitalization pattern Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3085
| * | | | CUDA: Support compiler id and version generator expressionsRobert Maynard2019-03-112-0/+10
| | |_|/ | |/| | | | | | | | | | | | | | Introduce the CUDA_COMPILER_ID and CUDA_COMPILER_VERSION generator expressions.
* | | | Merge topic 'shell_path'Brad King2019-03-124-8/+48
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 463c2fba4e Genex: Teach SHELL_PATH to support a list of paths 21da25d2a8 Tests: Generalize GeneratorExpression MSYS path conversion workaround Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3057
| * | | Genex: Teach SHELL_PATH to support a list of pathsHenri Manson2019-03-114-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the genex added by commit ca6ba3fee5 (Genex: Add a SHELL_PATH expression, 2015-09-24, v3.4.0-rc1~37^2) to accept a `;`-list of paths, convert them all, and generate a list separated by the native shell `PATH``` separator.
| * | | Tests: Generalize GeneratorExpression MSYS path conversion workaroundBrad King2019-03-112-8/+24
| | | | | | | | | | | | | | | | | | | | Use MSYS2's `MSYS2_ARG_CONV_EXCL` environment variable to prevent path conversion where possible.
* | | | Merge topic 'install-no-imported-global'Brad King2019-03-084-0/+9
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 47389c5641 install: Do not crash on imported global target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3071
| * | | install: Do not crash on imported global targetBrad King2019-03-074-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit e89ad0f94e (install: Allow installing targets created in another directory, 2018-06-18, v3.13.0-rc1~407^2) the `install(TARGETS)` command may find a global-scoped target outside the calling directory. Ignore an `IMPORTED GLOBAL` target if it is found in this way. Imported targets cannot be installed, and trying to do so violates internal invariants. Fixes: #19022
* | | | Merge topic 'issue-18883-support-for-multiple-targets'Brad King2019-03-067-3/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 324d18bb34 cmake: Teach --build mode to support multiple targets ebc94500c1 cmGlobalGenerator: Optimize Printable() method from GeneratedMakeCommand fdeb364a84 cmGlobalGenerator: Change case of methods from GeneratedMakeCommand struct b3955a08ab cmakemain: Remove ignored --use-stderr option from command line help f1367c8c51 cmGlobalGenerator: Remove unused code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2939
| * | | | cmake: Teach --build mode to support multiple targetsBartosz Kosiorek2019-03-057-3/+12
| | |/ / | |/| | | | | | | | | | Fixes: #16136
* | | | Merge topic 'ios-variable'Brad King2019-03-061-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e427c7c1d8 iOS: Add IOS variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3051
| * | | | iOS: Add IOS variableRuslan Baratov2019-03-051-0/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Since commit 11da882a12 (Apple: Introduce separate system name for iOS, tvOS, and watchOS, 2018-01-15, v3.14.0-rc1~14^2~1) we support setting `CMAKE_SYSTEM_NAME` to `iOS`. Existing iOS toolchain files already set `IOS` as a short-hand variable, so do the same here.
* | | | Merge topic 'FindPython-NumPy-fix-include-dir'Brad King2019-03-041-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8e3358336d FindPython: Fix NumPy component include directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3053
| * | | | FindPython: Fix NumPy component include directoryMarc Chevrier2019-03-041-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Update the component added by commit 513e77550d (FindPython: Introduce NumPy component, 2018-12-12, v3.14.0-rc1~95^2). The `numpy/` sub-directory should not be part of the include directory. It should be part of the `#include` line.
* | | | Merge topic 'vs-fortran-rc'Brad King2019-03-042-1/+7
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 0b82f56ac6 VS: Fix Fortran target type selection with RC sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3050
| * | | VS: Fix Fortran target type selection with RC sourcesBrad King2019-03-012-1/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Intel Fortran `.vfproj` files do support both Fortran and the Windows Resource compiler (`.rc)` files. Prior to CMake 3.9 we did not support that, but commit 2c9f35789d (VS: Decide project type by linker lang as fallback, 2017-03-30, v3.9.0-rc1~340^2) accidentally enabled it. It was then broken by commit d3d2c3cd49 (VS: Fix Fortran target type selection when linking C++ targets, 2019-02-04, v3.14.0-rc1~13^2). Restore support for Fortran+RC in VS projects and add a test case. Fixes: #19002
| * | Merge branch 'cmake_role-vs-fix' into release-3.14Brad King2019-02-272-0/+7
| |\ \ | | | | | | | | | | | | Merge-request: !3028
| * \ \ Merge branch 'FindOctave-remove' into release-3.14Brad King2019-02-276-83/+0
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !3027
| * \ \ \ Merge branch 'restore-min-cmake-3.1' into release-3.14Brad King2019-02-271-3/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3021
* | \ \ \ \ Merge topic 'features-from-default-standard'Brad King2019-02-282-4/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c7213ca870 Features: Do not use a lower-than-default standard for requested features Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3023
| * | | | | | Features: Do not use a lower-than-default standard for requested featuresZsolt Parragi2019-02-262-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `AddRequiredTargetC(xx)` feature didn't take the default compiler standard into account, which possibly resulted in the use of an older standard when some features requested it. Fixes: #18686
* | | | | | | Help: Clarify ordering of list(REMOVE_DUPLICATES)Kyle Edwards2019-02-272-0/+7
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | This also adds a test to enforce the order behavior of list(REMOVE_DUPLICATES).
* | | | | | Merge topic 'cmake_role-vs-fix'Brad King2019-02-272-0/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e795be115e Merge branch 'master' into cmake_role-vs-fix 4b95e7fe63 CMAKE_ROLE: Fix value in --build for Visual Studio generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3028
| * \ \ \ \ \ Merge branch 'master' into cmake_role-vs-fixKyle Edwards2019-02-2641-206/+891
| |\ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | CMAKE_ROLE: Fix value in --build for Visual Studio generatorsKyle Edwards2019-02-262-0/+7
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Fixes: #18990
* | | | | | Merge topic 'FindOctave-remove'Brad King2019-02-276-83/+0
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 7a1f3fe041 FindOctave: Remove module pending further work Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3027
| * | | | | FindOctave: Remove module pending further workBrad King2019-02-266-83/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `FindOctave` module added by commit 170bcb6fdc (FindOctave: Add module to find GNU octave, 2018-11-17, v3.14.0-rc1~283^2) has a few problems in its implementation that need to be worked out before the module can be included in a CMake release. These were missed during review. Remove the module for now. It can be restored later with a fresh review. Issue: #18991
* | | | | | Merge topic 'restore-min-cmake-3.1'Brad King2019-02-271-3/+3
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | a0d4430d66 Tests: Restore support for CMake 3.1 through 3.6 with MSVC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3021
| * | | | Tests: Restore support for CMake 3.1 through 3.6 with MSVCBrad King2019-02-261-3/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit a5dd159990 (Tests: Fix RunCMake.try_compile CxxStandard case on MSVC, 2017-09-22, v3.10.0-rc1~63^2) introduced use of `if()` conditions not supported until CMake 3.7, so while it was intended to restore support for CMake versions prior to 3.9, it actually only did so for 3.7 and 3.8. Backport the logic to work with CMake 3.1. Fixes: #18987
* | | | Merge topic 'vs-wince-no-deploy'Brad King2019-02-262-1/+61
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 917c035ada VS: support suppressing deployment of selected targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2991
| * | | | VS: support suppressing deployment of selected targetsWil Stark2019-02-252-1/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `VS_NO_SOLUTION_DEPLOY` target property to explicitly specify for each target whether to suppress VS solution deployment of the generated target project. Fixes: #18953
* | | | | XLClang: Extract compiler implicit include directoriesBrad King2019-02-255-0/+87
| | | | |
* | | | | XLClang: Add policy CMP0089 to present as XL for compatibilityBrad King2019-02-251-0/+3
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | We now identify IBM's Clang-based XL compilers, which define `__ibmxl__`, as `XLClang` rather than `XL`. In order to support existing project code that checks for `XL`, add a policy whose OLD behavior is to present the compiler id as `XL` and whose NEW behavior is to present the compiler id as `XLClang` as we really detect it.
* | | | Merge topic 'drop-MIPSpro'Brad King2019-02-251-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 214fcefa52 Remove now-unused code once used for MIPSpro on IRIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3004
| * | | | Remove now-unused code once used for MIPSpro on IRIXBrad King2019-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit beb991110d (Remove now-unused code once used on IRIX, 2019-01-11, v3.14.0-rc1~167^2) we removed remnants of IRIX support. Also remove remnants of MIPSpro compiler support.
* | | | | Merge topic 'deprecate-policy-old'Brad King2019-02-251-1/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 02587d80cf Add deprecation warnings for policies CMP0066 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3003
| * | | | | Add deprecation warnings for policies CMP0066 and belowBrad King2019-02-211-1/+12
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.7 and below to encourage projects to port away from setting policies to OLD.
* | | | | Merge topic 'cmrange-improvements'Brad King2019-02-252-0/+46
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b8031308f3 cmRange: Add unit tests a8d51ef8b7 cmRange: Add functions filter and transform da4773e8b8 cmRange: Add functions all_of, any_of, none_of 17a367e77f cmRange: Stylistic cleanup 9eb0e73f46 cmRange: Move to dedicated header file Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Artur Ryt <artur.ryt@gmail.com> Merge-request: !2972
| * | | | | cmRange: Add unit testsRegina Pfeifer2019-02-212-0/+46
| | |/ / / | |/| | |
* | | | | Merge topic 'remove-exclude-from-all-warning'Brad King2019-02-251-1/+0
|\ \ \ \ \ | |_|/ / / |/| | | / | | |_|/ | |/| | | | | | | | | | d3b765d451 EXCLUDE_FROM_ALL: Don't warn if installing target excluded from all Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3002
| * | | EXCLUDE_FROM_ALL: Don't warn if installing target excluded from allCraig Scott2019-02-211-1/+0
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | The original warning pre-dates support for install components. There are now legitimate scenarios where an install(TARGETS) command may list a target that is excluded from all, e.g. hierarchical projects that will never install the component such a target belongs to. Fixes: #18938
| * | Merge branch 'try_compile-expand-compile-defs' into release-3.14Brad King2019-02-152-0/+39
| |\ \ | | | | | | | | | | | | Merge-request: !2965