summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'feature/include_guard'Brad King2017-06-2819-0/+126
|\ | | | | | | | | | | | | | | | | | | | | c96f43b7 include_guard: add tests for the feature 80f1221f include_guard: add doc pages and a release note 85b52a04 include_guard: add vim syntax highlighting rules d44bd1c2 include_guard: implement new command Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Craig Scott <craig.scott@crascit.com> Merge-request: !928
| * include_guard: add tests for the featurePavel Solodovnikov2017-06-2219-0/+126
| |
* | Merge topic 'vs_csharp_custom_command'Brad King2017-06-277-0/+83
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | ec409a11 Vs: fix CSharp custom command by introducing inline MSBuild <Targets>s dcdab5cf Vs: factor out computation of <Link> tag for CSharp source files 0a8f469a Vs: refactor WriteCustomRule for preparation of CSharp support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !970
| * | Vs: fix CSharp custom command by introducing inline MSBuild <Targets>sMichael Stürmer2017-06-227-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | The custom command implementation is based on the Microsoft support article: https://docs.microsoft.com/en-us/visualstudio/msbuild/how-to-extend-the-visual-studio-build-process Fixes: #16960
* | | Merge topic 'fix-crash-on-non-enabled-language-features'Brad King2017-06-2726-12/+30
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | e03a1b3b target_compile_features: Do not crash on non-enabled language 86990427 Tests: Enable languages explicitly in RunCMake.target_compile_features Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1010
| * | target_compile_features: Do not crash on non-enabled languageBrad King2017-06-264-0/+8
| | | | | | | | | | | | Fixes: #17011
| * | Tests: Enable languages explicitly in RunCMake.target_compile_featuresBrad King2017-06-2622-12/+22
| | | | | | | | | | | | | | | Enable C or CXX (or nothing) as needed in each test case. This will allow us to add test cases that do not enable CXX.
* | | Merge topic 'vs_csharp_prop_for_all_extensions'Brad King2017-06-152-15/+42
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c90630c5 Vs: add support for VS_CSHARP_* target property for additional file extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !961
| * | | Vs: add support for VS_CSHARP_* target property for additional file extensionsMichael Stürmer2017-06-132-15/+42
| | |/ | |/| | | | | | | Fixes: #16726
* | | Merge topic 'ipo-per-lang'Brad King2017-06-159-13/+13
|\ \ \ | | |/ | |/| | | | | | | | | | | | | ba247cca IPO: Consider support for each language separately Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !964
| * | IPO: Consider support for each language separatelyBrad King2017-06-149-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | We only define `INTERPROCEDURAL_OPTIMIZATION` behavior for C, CXX, and Fortran languages. Do not try to enable support for other languages. Furthermore, each language builds with a different compiler, so check for support by CMake and the compiler for each language independently. Fixes: #16944
* | | VS: add target property VS_DOTNET_REFERENCEPROP_<refname>_TAG_<tagname>Michael Stürmer2017-06-133-0/+69
| |/ |/| | | | | Fixes: #16689
* | Merge topic 'execute_process-pipeline-results'Brad King2017-06-125-1/+171
|\ \ | | | | | | | | | | | | | | | | | | d6051ca3 execute_process: Add option to get results of every child Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !702
| * | execute_process: Add option to get results of every childAdam Weisi2017-06-105-1/+171
| |/ | | | | | | | | Add a `RESULTS_VARIABLE` option to get the results of all children in a pipeline of one or more `COMMAND`s.
* | Merge topic 'cuda-compiler-launcher'Brad King2017-06-127-5/+26
|\ \ | | | | | | | | | | | | | | | | | | 414438b2 CUDA: Add option to run the compiler through launcher tools Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !949
| * | CUDA: Add option to run the compiler through launcher toolsBrad King2017-06-097-5/+26
| |/ | | | | | | | | | | | | | | Add a `CUDA_COMPILER_LAUNCHER` target property like those added for C and CXX by commit v3.4.0-rc1~450^2 (Add options to launch the compiler through tools like ccache or distcc, 2015-06-04). Fixes: #16953
* | file(GENERATE): Add policy CMP0070 to define relative path behaviorBrad King2017-06-099-0/+78
| | | | | | | | | | | | | | | | | | Previously `file(GENERATE)` did not define any behavior for relative paths given to the `OUTPUT` or `INPUT` arguments. Define behavior consistent with CMake conventions and add a policy to provide compatibility for projects that relied on the old accidental behavior. Fixes: #16786
* | Tests: Use full output paths in file(GENERATE) callsBrad King2017-06-0815-16/+16
|/ | | | | We don't define behavior for relative paths to the OUTPUT argument. Fix our tests to use full paths.
* Merge topic 'test-GNUInstallDirs-FreeBSD'Brad King2017-06-057-8/+136
|\ | | | | | | | | | | | | 913736f1 Tests: Fix RunCMake.GNUInstallDirs on BSD platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !921
| * Tests: Fix RunCMake.GNUInstallDirs on BSD platformsBrad King2017-06-027-8/+136
| | | | | | | | | | | | | | The `GNUInstallDirs` module has different defaults on BSD platforms. Update the test expected output to account for the difference. Fixes: #16887
* | CompileFeatures: Makes tests work with meta-feature onlyChuck Atkins2017-05-292-4/+6
|/
* Merge topic 'find_dependency-improvements'Brad King2017-05-2528-50/+71
|\ | | | | | | | | | | | | ab358d6a Improve find_dependency argument handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !872
| * Improve find_dependency argument handlingMatthew Woehlke2017-05-2228-50/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove highly specialized and totally positional argument handling in find_dependency macro, and instead just pass arguments through to find_package. This gives users access to the full suite of arguments that find_package knows, and is backward compatible with the old arguments. Also, rewrite the unit tests for this, since the old tests are exclusively focused on testing the old argument handling and are no longer applicable, and add some success tests (the old tests did not even set up the CMake state in a way that CMake had any hope of ever finding the test package).
* | Merge topic 'find_package-shorter-message'Brad King2017-05-259-47/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | d0b9d1cc find_package: shorten output for missing package in config mode d9df805f cmFindPackageCommand: Split condition to improve readability Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !851
| * | find_package: shorten output for missing package in config modeChristoph Grüninger2017-05-239-47/+5
| | | | | | | | | | | | | | | | | | | | | If CONFIG or MODULE is given and the package is not REQUIRED, output a one-liner instead of the full warning. Update Tests/RunCMake/find_package expected output to match.
* | | Merge topic 'add-findpackage-root-prefix'Brad King2017-05-2217-0/+476
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe8f08d2 find_*: Add docs for PackageRoot search path group 57744ca9 find_*: Add tests for PackageRoot search path group ef3d360a find_*: Add a new PackageRoot search path group Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !796
| * | | find_*: Add tests for PackageRoot search path groupChuck Atkins2017-05-1617-0/+476
| | | |
* | | | Merge topic 'target-depends-per-config'Brad King2017-05-192-2/+4
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 87a37e64 cmComputeTargetDepends: Avoid nested loops over configurations 5a913794 cmComputeTargetDepends: Avoid computing with empty configuration 70c65572 Tests: Fix RunCMake.CMP0022 tll case for Debug configuration Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !865
| * | | Tests: Fix RunCMake.CMP0022 tll case for Debug configurationBrad King2017-05-182-2/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | The `CMP0022-WARN-tll` case overrides legacy properties set by `target_link_libraries` so that we can verify that the policy warning is emitted. When building in the Debug configuration, the `_DEBUG` variant of the legacy property is set/checked too. Fix the test case to override both variants. Previously it only passed because `cmComputeTargetDepends::AddInterfaceDepends` always evaluated dependencies with the "" configuration.
* | | CPack/Archive: per component filenames supportDomen Vrankar2017-05-163-1/+7
|/ / | | | | | | | | | | Support for setting archive packager specific per component filenames and monolithic package filenames.
* | CPack test symlinks in packageDomen Vrankar2017-05-145-0/+59
| |
* | Improved CPack tests error loggingDomen Vrankar2017-05-143-4/+6
|/
* Merge topic 'ninja-windows-command-concat'Brad King2017-05-102-0/+24
|\ | | | | | | | | | | | | 5e0e03d9 Ninja: Fix command concatenation on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !801
| * Ninja: Fix command concatenation on WindowsBernhard Burgermeister2017-05-092-0/+24
| | | | | | | | | | | | | | | | | | | | | | Put commands that contain `||` into brackets to avoid early abort of execution by `cmd.exe` because `||` has higher precedence than `&&` in `cmd.exe`. Add test to check for command execution after `||` as part of a parameter and as command separator. Fixes: #16850
* | Tests: Fix RunCMake.Framework expectation for universal binariesBrad King2017-05-082-2/+5
| | | | | | | | | | While at it, replace `\n` in with a real newline because such escape sequences are not processed in this context.
* | Merge topic 'ctest_submit_headers'Brad King2017-05-057-0/+10
|\ \ | |/ |/| | | | | | | | | 1a7d00bd ctest_submit: Add HTTPHEADER option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !793
| * ctest_submit: Add HTTPHEADER optionZack Galbreath2017-05-047-0/+10
| | | | | | | | | | | | | | | | | | Allow CTest script writers to specify additional HTTP headers to be sent to CDash during submission. The motivating case for this feature is a corresponding change in CDash. This will allow projects to refuse submissions from any site not bearing a valid authentication token.
* | Merge topic 'ipo-xcode'Brad King2017-05-032-3/+2
|\ \ | | | | | | | | | | | | | | | | | | 7e75568b Xcode: Support IPO (LTO) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !785
| * | Xcode: Support IPO (LTO)Ruslan Baratov2017-05-022-3/+2
| | |
* | | Merge topic 'excludeFixtures'Brad King2017-05-0210-2/+151
|\ \ \ | |/ / |/| | | | | | | | | | | | | | c1b2b7c0 Add ctest options for limiting which tests fixtures add Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !778
| * | Add ctest options for limiting which tests fixtures addCraig Scott2017-05-0110-2/+151
| | | | | | | | | | | | | | | The new options allow the user to restrict the setup and cleanup tests automatically added for fixtures.
* | | Merge topic 'separgs-native'Brad King2017-04-288-0/+60
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 28d83837 separgs: Use NATIVE_COMMAND where appropriate 2a207aac separgs: Add a NATIVE_COMMAND mode 81841426 separgs: Migrate tests to RunCMake tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !753
| * | | separgs: Add a NATIVE_COMMAND modeChristian Pfeiffer2017-04-262-0/+20
| | | |
| * | | separgs: Migrate tests to RunCMake testsChristian Pfeiffer2017-04-267-0/+40
| | | |
* | | | Merge topic 'bindexplib-consts'Brad King2017-04-282-0/+12
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | afb21342 bindexplib: fix constants symbols export Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !763
| * | | bindexplib: fix constants symbols exportMikhail Paulyshka2017-04-262-0/+12
| | | |
* | | | Merge topic 'test-install-objects-as-files'Brad King2017-04-275-6/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f4c23ee2 Tests: Add case for install(FILES) with TARGET_OBJECTS d272c4d5 Tests: Generalize RunCMake.install internal infrastructure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !769
| * | | | Tests: Add case for install(FILES) with TARGET_OBJECTSBrad King2017-04-265-0/+16
| | | | |
| * | | | Tests: Generalize RunCMake.install internal infrastructureBrad King2017-04-261-6/+10
| | |/ / | |/| | | | | | | | | | Allow `run_install_test` to be used for simpler cases.
* | | | Merge topic 'test-makefile-custom-target-includes'Brad King2017-04-275-3/+30
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 434f5cef Tests: Add case for IMPLICIT_DEPENDS in custom target 6d1be6e3 Tests: Split RunCMake.BuildDepends make-only condition Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !766