summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* FindLibXml2: provide imported target LibXml2::LibXml2Rolf Eike Beer2018-03-081-0/+4
|
* FindCURL: provide imported target CURL::CURLRolf Eike Beer2018-03-061-0/+4
|
* VS: Support C# project referencesRobert Dailey2018-02-231-0/+1
| | | | | | | | | | | | When specifying a pure C# target in the `target_link_libraries()` call to another C++ target, a `<ProjectReference>` was setup for it (we wanted this) but also a corresponding `.lib` was added under `<AdditionalDependencies>` (we didn't want this). This change introduces a check that prevents `.lib` linker options from being used when the corresponding target for that library is a C# target. Fixes: #17678
* Tests: Run ExternalProject tests seriallyBrad King2018-02-211-0/+4
| | | | | These tests use a lot of resources, so run them separately from other tests to avoid competition (which may cause spurious timeouts).
* Ninja: Generate scripts for long custom command sequencesRoger Leigh2018-02-061-0/+2
| | | | | | | | | | | | Ninja runs just one command line for every build statement, so the Ninja generator needs to `&&`-chain multiple commands together into one long string. For long custom command sequences this can exceed the maximum command-line length for the operating system. In such cases, write the commands out to a script instead, and then run the script from Ninja's one command line. Co-Author: Brad King <brad.king@kitware.com> Fixes: #15612
* Merge topic 'RemoveKDevelop3'Brad King2018-01-251-2/+1
|\ | | | | | | | | | | | | | | 551bd0b3 Generators: adjust error message for the removed KDevelop3 generator 9198e6a2 Generators: remove KDevelop3 generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1688
| * Generators: remove KDevelop3 generatorAlex Neundorf2018-01-241-2/+1
| | | | | | | | | | | | | | | | | | | | The last KDevelop3 release was many years ago, in 2008 I think. I haven't seen or read about anybody using KDevelop 3 since a long time, so I think it can safely be removed from CMake. KDevelop 4 (first released in 2010) has its own proper CMake support now, independent from this generator. Alex
* | Merge topic 'sourceFile-new-properties'Brad King2018-01-251-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 04483111 sourceFile properties: add property INCLUDE_DIRECTORIES 3073bd1f VisualStudio generators: refactoring 78b1c2e0 sourceFile properties: add property COMPILE_OPTIONS 3f935e69 LocalGenerator: refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1596
| * | sourceFile properties: add property INCLUDE_DIRECTORIESMarc Chevrier2018-01-241-0/+3
| |/
* | add_jar: add option GENERATE_NATIVE_HEADERSMarc Chevrier2018-01-221-16/+38
|/
* GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in TestsCraig Scott2017-12-291-2/+14
|
* Autogen: Tests: Move QtAutoUicInterface test to QtAutogen/UicInterfaceSebastian Holtermann2017-12-131-41/+0
|
* Autogen: Tests: Separate RerunRccDepends testSebastian Holtermann2017-12-131-30/+0
|
* Autogen: Tests: Separate Complex testSebastian Holtermann2017-12-131-34/+0
|
* Autogen: Tests: Add basic scripts for separate testsSebastian Holtermann2017-12-131-0/+4
|
* CTest: Remove unfinished batch test modeBrad King2017-12-081-2/+0
| | | | | This was partially implemented by commit v2.8.0~154 (Added some ctest batch capabilities, 2009-09-10) but never finished.
* Merge topic 'libuv-raii'Brad King2017-11-301-3/+1
|\ | | | | | | | | | | | | | | | | | | | | 1e9b7d3c server: Switched to a auto model for handles f43b9219 tests: Added tests to verify UV RAII semantics/constructs a3abb85c Add RAII handles for libuv handle types 90f8db26 tests: unconditionally enabled server tests b56b51fc utility: Disabled copy ctors in thread classes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1453
| * tests: unconditionally enabled server testsJustin Berger2017-11-291-3/+1
| |
* | FindIconv: Add the FindIconv module.Christian Pfeiffer2017-11-291-0/+4
|/ | | | | This module provides abstraction over the various ways POSIX platforms handle the iconv calls defined in POSIX.1-2001 and later versions.
* Merge topic 'cmake-gui-qt-static-windows'Brad King2017-11-141-4/+12
|\ | | | | | | | | | | | | | | 3a993c49 Tests: Add options to disable tests requiring Qt 27a73f16 cmake-gui: Add build option to use Qt5 windows plugin statically Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1476
| * Tests: Add options to disable tests requiring QtBrad King2017-11-131-4/+12
| |
* | Tests: Add contract test for PLplotBrad King2017-11-081-0/+1
| |
* | Merge topic 'test-contract-refactor'Brad King2017-11-061-25/+26
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c626b7e Tests: Refactor contract test activation 4bd5af63 Tests: Factor out contract test HOME finding 0ce082b7 Tests: Drop unused contract test environment script 36346de4 Tests: Drop unused contract test bbc9c966 Tests: Honor already-set CTEST_REAL_HOME in case of repeat run Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1444
| * | Tests: Refactor contract test activationBrad King2017-11-031-24/+23
| | | | | | | | | | | | | | | Use separate `CMake_TEST_CONTRACT_<project>` variables for each test. Make the set of possible tests match what is in the source tree.
| * | Tests: Honor already-set CTEST_REAL_HOME in case of repeat runBrad King2017-11-031-1/+3
| | |
* | | Tests: Fix CTestTestCrash test under ubsanBrad King2017-11-031-1/+1
|/ / | | | | | | | | UBsan causes our test crash to abort instead. Update our regex to tolerate this.
* | UseJava: OUTPUT_DIR must exists in all cases.Marc Chevrier2017-10-101-0/+12
|/ | | | Fixes: #17316
* Tests: Fix some references to 'cmake' executableBrad King2017-09-151-9/+9
| | | | | Use `${CMAKE_CMAKE_COMMAND}` rather than `cmake` or `${CMAKE_COMMAND}` in order to ensure we always refer to the `cmake` command being tested.
* Tests: Drop tests that have not run for over 10 yearsBrad King2017-09-151-25/+0
|
* FindFreetype: Add imported target, docs, and testBen Morgan2017-09-071-0/+4
|
* Merge topic 'findexpat-importedtargets'Brad King2017-09-071-0/+4
|\ | | | | | | | | | | | | | | | | 3a4f82e9 Help: Add notes for topic 'FindEXPAT-importedtargets' bfe51369 FindEXPAT: Add unit test of target and variables 78f166f8 FindEXPAT: Add imported target and documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1207
| * FindEXPAT: Add unit test of target and variablesBen Morgan2017-09-011-0/+4
| |
* | FindPatch: Add module to find 'patch' command-line toolJean-Christophe Fillion-Robin2017-09-011-0/+4
| |
* | server: test buffer parsingJustin Berger2017-08-311-0/+4
|/
* server: always enable serverDaniel Pfeifer2017-08-261-7/+5
|
* Autogen: Move repeated tests to new QtAutogenRerun testSebastian Holtermann2017-07-211-3/+36
| | | | | | By moving QtAutogen tests that run repeatedly to a new QtAutogenRerun test, the `ctest -R Qt[45]Autogen -j4` call runs approximately 25% faster.
* Merge topic 'vs_fix_configuration_error'Brad King2017-06-221-1/+1
|\ | | | | | | | | | | | | 0db4c7a0 Tests: Verify registry value is not "/registry" before using Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !994
| * Tests: Verify registry value is not "/registry" before usingMichael Stürmer2017-06-211-1/+1
| | | | | | | | Fixes: #17002
* | Vs: allow CSharp targets to be linked to CXX targetsMichael Stürmer2017-06-211-0/+1
|/ | | | Fixes: #16755
* Merge topic 'add-common-record-features-macros'Brad King2017-06-011-3/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3c1ecb52 Intel: Fix missing C std default for 12.0 <= ver < 12.1 f70b0bb3 SunPro: Make sure all known versions get CXX98 defaults 220ede74 GNU: Fix language defaults for 3.4 a40e6ba8 Clang: Fix language defaults for 2.1 9b112a84 Compilers: Port to use default cmake_record_lang_compile_features macros 37221529 MSVC: Add empty definitions for std compile options e556f1b9 CompileFeatures: Makes tests work with meta-feature only 20ffa147 Tests: Allow test macro to take no executable arguments ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !833
| * CompileFeatures: Makes tests work with meta-feature onlyChuck Atkins2017-05-291-1/+1
| |
| * Tests: Allow test macro to take no executable argumentsChuck Atkins2017-05-291-2/+6
| |
* | Tests: Skip BootstrapTest if testing external CMakeBrad King2017-05-311-0/+3
| | | | | | | | | | If we are not actually building CMake then we should not run the `BootstrapTest` (which builds CMake).
* | Tests: Fix XCTest build configurationBrad King2017-05-301-0/+1
|/ | | | | | Build the test binaries with the same configuration in which they will be tested instead of the default Debug configuration. This fixes the test when run in a Release configuration.
* Improve Doxygen supportAlex Turbov2017-05-241-0/+4
| | | | | | | | | | | | | | | | | | | | | Except Graphviz's `dot` Doxygen may use few other utilities like `mscgen` (Message Sequence Chart) and `dia` (Diagram Editor). Now this module allows to manage Doxygen settings from `CMakeLists.txt` and forget about `Doxyfile`s. Also it provides a helper function to add a target to generate documentation: `doxygen_add_docs`. Implement code review notes: - Introduce `COMPONENTS` to find: `dot`, `mscgen` and `dia`; - Deprecate variables `DOXYGEN_SKIP_DOT`, `DOXYGEN_EXECUTABLE`, `DOXYGEN_DOT_EXECUTABLE`, `DOXYGEN_DOT_FOUND` in favour of `doxygen_add_docs ` usage instead; - Properly handle paths to found tools in Windows; - Prevent adding a custom target if Doxygen was not really found; - Introduce exported (executable) targets for found components. Co-Author: Craig Scott <craig.scott@crascit.com>
* Merge topic 'FindProtobuf-targets'Brad King2017-05-191-0/+4
|\ | | | | | | | | | | | | | | | | 37627217 Help: Add notes for topic 'FindProtobuf-targets' e4e1d194 FindProtobuf: add tests f29635b6 FindProtobuf: add targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !861
| * FindProtobuf: add testsAndré Apitzsch2017-05-181-0/+4
| |
* | GoogleTest: Expand capabilities of gtest_add_tests()Craig Scott2017-05-151-0/+1
|/ | | | | | | | Now has keyword-based arguments (old syntax form is still supported). Discovered tests can have a prefix and/or suffix added to the test names and the list of discovered tests is available to the caller. The working dir can also be set and the dependency on the source files is now optional instead of mandatory.
* Merge topic 'findopenmp-modernized'Brad King2017-04-261-0/+4
|\ | | | | | | | | | | | | | | 99ac0940 FindOpenMP: Add tests bb032c1b FindOpenMP: Complete overhaul. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !733
| * FindOpenMP: Add testsChristian Pfeiffer2017-04-251-0/+4
| |