summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ghs'Brad King2018-07-121-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | ce4f20ba62 GHS: Add release notes 281c601024 GHS: Update default BSP name 01c98c6ccc GHS: Update setting default OS location for Integrity platforms bb77dc0cee GHS: Set primary target using arch/platform values (or user specified value) f80692cf60 GHS: Add platform selection support a37a4a00c8 GHS: Add toolset selection support 5d40d2b44f GHS: Support ARM, PPC, 86 architectures Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Matt Soucy <matthew.soucy@baesystems.com> Merge-request: !798
| * GHS: Set primary target using arch/platform values (or user specified value)Fred Baksik2018-07-111-1/+1
| |
* | Tests: skip MFC test when building cmake when no file association for vcprojFred Baksik2018-07-091-0/+4
|/
* Tests: Adopt wizard test in RunCMake.CommandLineBrad King2018-06-221-4/+0
| | | | Avoid a whole separate test for one removed command-line option.
* Merge topic 'xcode-10-legacy-build-system'Brad King2018-06-201-0/+4
|\ | | | | | | | | | | | | | | | | | | ca69206893 Tests: Do not use i386 architecture with Xcode 10 and above 71fa78ff7a Tests: Teach RunCMake to ignore Xcode missing file type warnings 057ecb8f6f C++ feature checks: Ignore Xcode warnings 985d3a162c Xcode: Use legacy build system Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2151
| * Tests: Do not use i386 architecture with Xcode 10 and aboveBrad King2018-06-191-0/+4
| | | | | | | | Xcode 10 dropped support for i386 builds.
* | Merge topic 'subdir_target_sources'Craig Scott2018-06-191-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 316815e1f4 target_sources: Interpret relative paths as relative to the calling directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2128
| * | target_sources: Interpret relative paths as relative to the calling directoryPatrick Stotko2018-06-181-0/+1
| |/ | | | | | | | | | | | | | | | | | | Previously the command considered non-absolute source file paths relative to the associated target on the LHS. This causes problems in incremental builds where files are added from subdirectories and forces users to workaround by manually converting to absolute paths. Change this to enable more intuitive usage by projects. Fixes #17981
* | LINK_OPTIONS: Add new family of propertiesMarc Chevrier2018-06-061-0/+3
|/ | | | | | | | | | | | | | This family enable to manage link flags Three new properties: * directory property: LINK_OPTIONS * target properties: LINK_OPTIONS and INTERFACE_LINK_OPTIONS Two new commands * add_link_options(): to populate directory property * target_link_options(): to populate target properties Fixes: #16543
* 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.