summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* FindALSA: add testcaseRolf Eike Beer2018-05-311-0/+4
|
* FindODBC: Add module to search for ODBC libraryMateusz Loskot2018-05-221-0/+4
| | | | Add tests for FindODBC module.
* CPack: Add NuGet supportAlex Turbov2018-05-111-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | Create a CPack generator that uses `nuget.exe` to create packages: https://docs.microsoft.com/en-us/nuget/what-is-nuget NuGet packages could be easily produced from a `*.nuspec` file (running `nuget pack` in the directory w/ the spec file). The spec filename does not affect the result `*.nupkg` name -- only `id` and `version` elements of the spec are used (by NuGet). Some implementation details: * Minimize C++ code -- use CMake script do to the job. It just let the base class (`cmCPackGenerator`) to preinstall everything to a temp directory, render the spec file and run `nuget pack` in it, harvesting `*.nupkg` files...; * Ignore package name (and use default paths) prepared by the base class (only `CPACK_TEMPORARY_DIRECTORY` is important) -- final package filename is a responsibility of NuGet, so after generation just scan the temp directory for the result `*.nupkg` file(s) and update `packageFileNames` data-member of the generator; * The generator supports _all-in-one_ (default), _one-group-per-package_ and _one-component-per-package_ modes.
* Tests: Fix comment for finding dpkg toolAlex Turbov2018-05-091-2/+1
|
* CPack: Use project version as default for `CPACK_PACKAGE_VERSION`Alex Turbov2018-05-021-0/+38
| | | | | | | | | | * Introduce `CMAKE_PROJECT_VERSION` and the corresponsing components: `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR`, `CMAKE_PROJECT_VERSION_PATCH` and `CMAKE_PROJECT_VERSION_TWEAK`. * `CPack` module use `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR` and `CMAKE_PROJECT_VERSION_PATCH` to initialize corresponsing CPack variables.
* Merge topic 'FindMatlab/mcr-compatibility'Brad King2018-04-241-1/+15
|\ | | | | | | | | | | | | 59fb9e89b2 FindMatlab: Matlab Runtime Compiler support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1970
| * FindMatlab: Matlab Runtime Compiler supportRaffi Enficiaud2018-04-231-1/+15
| | | | | | | | | | | | | | | | | | | | * Determining automatically the MCR version on OSX and Windows * Distinguishing between MCR and Matlab * Specific tests for the MCR * mexext on windows does not work properly: the mexext is hardcoded * Doc updates for the MCR Fixes: #16487
* | add_compile_definitions: add new commandMarc Chevrier2018-04-201-0/+1
| | | | | | | | | | | | | | This command manages preprocessor definitions at directory level and supports generator expressions. Fixes: #15374
* | FindJPEG: Add imported target support and full testMateusz Loskot2018-04-181-0/+4
|/
* FindMatlab: add unit testsRaffi Enficiaud2018-04-091-0/+1
|
* UseSWIG: Rework testsMarc Chevrier2018-04-021-0/+4
|
* Drop Visual Studio 8 2005 generatorBrad King2018-04-021-5/+5
| | | | This generator has been deprecated since CMake 3.9. Remove it.
* FindPython*: New implementation for Python stuffMarc Chevrier2018-03-201-0/+4
| | | | Fixes: #16142
* 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