summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindSQLite3-module'Brad King2018-11-071-0/+4
|\ | | | | | | | | | | | | fe40570608 FindSQLite3: Add module to find SQLite3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2557
| * FindSQLite3: Add module to find SQLite3Chuck Atkins2018-11-061-0/+4
| |
* | Merge topic 'FindPostgreSQL-target'Brad King2018-11-061-0/+4
|\ \ | |/ |/| | | | | | | | | | | | | | | 575e2cc35d FindPostgreSQL: extract the actual version number 7413f29fe6 Tests/FindPostgreSQL: add a test for FindPostgreSQL d2235fd253 FindPostgreSQL: add an imported target 7a801b7dfb FindPostgreSQL: Modernize documentation layout Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2555
| * Tests/FindPostgreSQL: add a test for FindPostgreSQLBen Boeckel2018-11-011-0/+4
| |
* | Tests/FindGDAL: add a test for FindGDALBen Boeckel2018-11-011-0/+4
|/
* FindMatlab: added unit tests for new functionality.Cris Luengo2018-10-241-1/+8
| | | | Also allowing a way to select which of multiple installed MATLAB versions to use in the test.
* Merge topic 'find_fontconfig'Brad King2018-10-191-0/+4
|\ | | | | | | | | | | | | 84e7920b3a FindFontconfig: Add module to find Fontconfig Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2487
| * FindFontconfig: Add module to find FontconfigFrederik Gladhorn2018-10-181-0/+4
| | | | | | | | This module is inspired by one from KDE's KWin.
* | CTest: Fix GTM coverage handling of entry point named "%"Joseph Snyder2018-10-161-2/+2
|/ | | | | | | Removing the "%" character from the name of the routine in the line parser causes CTest to be unable to find a routine entry point that is only named "%". Instead leave it during line parsing and handle routine names ending in "%" explicitly when loading files.
* FindLibinput: Add module to find libinputFrederik Gladhorn2018-10-111-0/+4
| | | | This module is inspired by one from KDE's KWin.
* Merge topic 'addvs2017arm64'Brad King2018-09-281-17/+19
|\ | | | | | | | | | | | | | | 22282d6931 Tests: Add VSWinStore* test for VS 2017 ARM64 57b9a072cb Tests: Teach VSWinStore* tests to pass the architecture as a parameter Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2389
| * Tests: Add VSWinStore* test for VS 2017 ARM64Gilles Khouzam2018-09-261-0/+1
| |
| * Tests: Teach VSWinStore* tests to pass the architecture as a parameterGilles Khouzam2018-09-261-17/+18
| | | | | | | | | | Instead of specifying the architecture in the generator name, pass it as the generator platform. This has been preferred since CMake 3.1.
* | link_directories(): enhance capabilitiesMarc Chevrier2018-09-251-1/+2
| |
* | LINK_DIRECTORIES: Add new properties and commandsMarc Chevrier2018-09-251-0/+1
|/ | | | | | | | | | | | These new capabilities enable to manage link directories Two new properties: * target properties: LINK_DIRECTORIES and INTERFACE_LINK_DIRECTORIES One new command * target_link_directories(): to populate target properties Fixes: #17215
* Merge topic 'vs-2015-max-sdk'Brad King2018-09-201-1/+6
|\ | | | | | | | | | | | | | | | | 63eb43f131 Tests: Add VSWinStorePhone for VS 15 2017 173d29a379 Tests: Fix VSWinStorePhone to properly identify VS 14 2015 83ddc4d289 VS: Do not select a Windows SDK too high for current VS version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2388
| * Tests: Add VSWinStorePhone for VS 15 2017Gilles Khouzam2018-09-191-0/+5
| | | | | | | | | | | | VS 2017 needs several components installed to support this test, so enable it only via an explicit option that can be set on specific builders.
| * Tests: Fix VSWinStorePhone to properly identify VS 14 2015Gilles Khouzam2018-09-191-1/+1
| | | | | | | | | | | | | | VS 14 2015 was only identified by the Windows 10 SDK. On machines with only VS 2017 and the Windows 10 SDKs, this would incorrectly identify that VS 2015 was installed. Check for VS 14 2015 with its proper registry entry.
* | Fix regression in target output file naming logicBrad King2018-09-191-0/+1
|/ | | | | | | | | | Refactoring in commit f4ff60a803 (cmMakefile: Make GetSafeDefinition return std::string const&, 2018-09-05) accidentally changed the logic for target artifact prefix and suffix names such that setting a PREFIX or SUFFIX target property would cause an empty value to be used. Revert that part of the change and use a simpler alternative. Add a test case. Reported-by: Alan W. Irwin <irwin@beluga.phys.uvic.ca>
* Fix dependency propagation through same-name imported targetsBrad King2018-09-071-0/+1
| | | | | | | | | | If two imported targets in different directories have the same name we should still be able to propagate transitive link dependencies from both. Fix the target and link dependency analyzers to de-duplicate targets using target pointers rather than target names since the pointers will not be duplicated even if the names are. Issue: #18345
* Tests: Remove the SimpleInstall testKyle Edwards2018-07-171-28/+0
| | | | | The cases that were covered by SimpleInstall have been moved into RunCMake.install.
* 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