summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'bzip2-imported-targets'Brad King2016-09-121-0/+4
|\ | | | | | | | | | | | | 79eba4b7 Help: Add notes for topic 'bzip2-imported-targets' 069cac58 Tests: Add FindBZip2 unit tests e9ce0503 FindBZip2: Add imported target
| * Tests: Add FindBZip2 unit testsRoger Leigh2016-09-091-0/+4
| |
* | FindMatlab: add verbosity to the nightly testsRaffi Enficiaud2016-09-081-3/+3
|/
* Tests: Port GenerateExportHeader test to RunCMake infrastructureBrad King2016-09-051-1/+0
| | | | This will allow build failure cases to be added later.
* Merge topic 'FindMatlab-additional-components'Brad King2016-08-311-0/+1
|\ | | | | | | | | bf09271b FindMatlab: adding handling of component "MAT"
| * FindMatlab: adding handling of component "MAT"Raffi Enficiaud2016-08-301-0/+1
| | | | | | | | | | | | - documentation - test - cosmetic changes
* | Merge topic 'import-libuv'Brad King2016-08-311-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 39ac889d cmake: Add trivial usage of libuv 7cf369fe Do not build libuv on HP-UX 075cae51 Do not build libuv on SPARC 9a53af40 Do not build libuv on Cygwin 219f7411 Do not build libuv on Mac OS X 10.4 and lower 8a5beef3 Add option to build CMake against a system libuv e56aa462 FindLibUV: Add module to find libuv package 551d5aed libuv: Fix unused variable warning in uv_loop_close f4f8074b libuv: Avoid including macOS CoreServices header globally a63aaaed libuv: Always include our own header first 9130b53a libuv: Conditionally declare Windows APIs for VS 2008 and below b52afa46 libuv: Fix anonymous union syntax 05dbc204 libuv: Fix Windows API function typedef syntax 75139374 libuv: Install LICENSE file with CMake documentation 95dcc4e4 libuv: Disable warnings to avoid changing 3rd party code 13b7e758 libuv: Build the library within CMake ...
| * | FindLibUV: Add module to find libuv packageBrad King2016-08-311-0/+4
| |/ | | | | | | | | | | Add it to a private source directory that is not installed so that we can use it for building CMake itself. This will allow it to mature before being distributed publicly.
* | Utilities/Release: Drop Linux 32-bit binaryBrad King2016-08-301-2/+0
|/ | | | | | | The Linux distro we've been using for this is so old that it limits our ability to import newer third-party software. Until a new machine can be configured to provide this binary we can simply drop it. Users will still be able to build from source or use a distro-provided version.
* Tests: Refactor testing of extra generators.Chaoren Lin2016-08-231-47/+30
| | | | Use a loop instead of repeating the same thing multiple times.
* Merge topic 'ExternalProject-SOURCE_SUBDIR'Brad King2016-08-161-0/+12
|\ | | | | | | | | a8345d65 ExternalProject: Add SOURCE_SUBDIR option
| * ExternalProject: Add SOURCE_SUBDIR optionMatthew Woehlke2016-08-161-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | Add a new SOURCE_SUBDIR option to ExternalProject_Add that allows specifying the location of the CMakeLists.txt to use as the project root relative to the SOURCE_DIR. This is helpful for projects that have unusual layouts, or projects that provide both a superbuild and project-only build depending on which CMakeLists.txt is used. Fixes: #15118
* | FindICU: New moduleRoger Leigh2016-07-131-0/+4
| |
* | Merge topic 'ninja-no-rsp-for-rc'Brad King2016-06-281-0/+3
|\ \ | |/ | | | | | | 15b3f6f0 ninja, rc: ignore CMAKE_NINJA_FORCE_RESPONSE_FILE for RC files
| * ninja, rc: ignore CMAKE_NINJA_FORCE_RESPONSE_FILE for RC filesBen Boeckel2016-06-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.6.0-rc1~174^2 (Ninja: Honor CMAKE_NINJA_FORCE_RESPONSE_FILE for compile rules, 2016-04-06), Ninja learned to look for `CMAKE_NINJA_FORCE_RESPONSE_FILE` in the current scope or the environment in order to force response file usage for all compilation rules. However, on Windows, the RC compiler goes through cmcldeps which does a `replace(output, output + ".dep.obj")` on the command line. However, with a response file (which we name `output + ".rsp"`), the response file path is replaced instead causing the compiler to (correctly) complain that the response file `output + ".dep.obj.rsp"` does not exist. What needs to happen is for cmcldeps to look through the response file, replace *its* contents and place it in the `output + ".dep.obj.rsp"` file. Also add a test which actually compiles an RC file into a library and executable for all generators on Windows and additionally test `CMAKE_NINJA_FORCE_RESPONSE_FILE` for Ninja generators. Fixes #16167.
* | Merge topic 'java-export-targets'Brad King2016-06-091-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 0bd91ad4 UseJava: Fix race condition creating java class list 89df91b9 Help: Add notes for topic 'java-export-targets' 95d84369 Tests: Add test for exported JARs 5341c0d8 UseJava: Add infrastructure to export targets d91ec044 Tests/Java: Clean up style of Java test code
| * | Tests: Add test for exported JARsMatthew Woehlke2016-06-071-0/+4
| | | | | | | | | | | | | | | | | | | | | Add a unit test to test the new functions to export JAR targets. The test builds three sub-projects: two that generate and export a JAR (one does a build-directory-only export, one an install-only export), and a third that consumes the first two as imported targets.
* | | Merge topic 'add-FindVulkan'Brad King2016-06-081-0/+4
|\ \ \ | |/ / |/| | | | | | | | adf4df28 Add FindVulkan.cmake.
| * | Add FindVulkan.cmake.Matthäus G. Chajdas2016-06-081-0/+4
| | | | | | | | | | | | This adds FindVulkan with corresponding tests.
* | | Merge topic 'productbuild'Brad King2016-06-061-0/+11
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 63e5eb5f Help: Add notes for 'productbuild' topic 2e3c67d1 productbuild: Add new productbuild cpack generator. 50a3d340 PackageMaker: factor out common code for creating pkg files.
| * | productbuild: Add new productbuild cpack generator.Clinton Stimpson2016-06-031-0/+11
| |/ | | | | | | This cpack generator basically replaces the obsolete PackageMaker generator.
* | FindOpenCL: Add an imported targetMatthäus G. Chajdas2016-06-021-0/+4
|/
* GHS: Fix handling of duplicate source filenames (#16046)Geoff Viola2016-04-251-0/+11
| | | | | Green Hills MULTI project files must specify explicitly distinct object file names for source files with the same name.
* Utilities/Release: Create a Windows 64-bit binaryBrad King2016-03-171-0/+3
| | | | | | | | | | | Compile with `-D_WIN32_WINNT=0x502` to use a WinXP-compatible API. Compile with `-D_USING_V110_SDK71_` to tell the VS standard library headers that we are building with a WinXP-compatible Windows SDK. Link executables with `-subsystem:console,5.02` to make them runnable on Windows XP 64-bit. Ideally `cmake-gui` should instead be linked with `-subsystem:windows,5.02` but with the Ninja and Makefile generators CMake adds `-subsystem:windows` after our `-subsystem:console,5.02` flag and the linker seems to interpret this combination as we need.
* Utilities/Release: Rename scripts to match target platformBrad King2016-03-171-4/+4
| | | | | The machine name we happen to use for the build is less informative than its platform.
* Merge topic 'remove-vs6-generator'Brad King2016-03-101-5/+4
|\ | | | | | | | | | | b42866a3 Drop Visual Studio 6 generator cd9ba3ec cmLocalVisualStudio7Generator: Fix name of helper function
| * Drop Visual Studio 6 generatorBrad King2016-03-091-5/+4
| | | | | | | | | | | | This generator has been deprecated since CMake 3.3. Remove it. Update documentation, modules, and tests to drop content specific to this generator.
* | Tests: do not build PrecompiledHeader on Clang/C2Mariusz Pluciński2016-03-101-1/+3
|/
* Add FindLTTngUST module to find LTTng-UST libraryPhilippe Proulx2016-03-071-0/+4
| | | | | | | Also detect the library version number. Provide results as variables and as an imported target, LTTng::UST. Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
* Merge topic 'update-osx-release'Brad King2016-03-071-1/+1
|\ | | | | | | | | b682debd Utilities/Release: Switch to OS X 10.7 and Qt 5.5 for Mac binary
| * Utilities/Release: Switch to OS X 10.7 and Qt 5.5 for Mac binaryBrad King2016-02-191-1/+1
| | | | | | | | | | Use a new build machine to produce the OS X binary targeting OS X 10.7 and using Qt 5.5.
* | Tests: Fix XCTest when ENV{SDKROOT} is setBrad King2016-02-191-1/+1
|/ | | | | | | | We use the host OS X version as the deployment target for this test. This breaks if the SDKROOT environment variable specifies an incompatible SDK version. Explicitly specify `macosx` as the SDK so that CMake will automatically select a version matching the deployment target.
* Merge topic 'FindPNG-imported-targets'Brad King2016-01-221-0/+4
|\ | | | | | | | | 9b08c623 FindPNG: Create an imported PNG::PNG target (#15911)
| * FindPNG: Create an imported PNG::PNG target (#15911)Sam Thursfield2016-01-211-0/+4
| | | | | | | | | | | | Imported targets are now the recommended way of dealing with external library dependencies. Add one for FindPNG and update documentation accordingly. Also add a test case activated by CMake_TEST_FindPNG.
* | FindXalanC: New module to find the Apache Xalan-C++ libraryRoger Leigh2016-01-201-0/+4
|/
* Utilities/Release: Switch to .msi builder for Windows binaryBrad King2015-12-211-1/+1
| | | | | Use a new build machine to produce the Windows binary using the CPack WiX generator to produce a `.msi` installer.
* Tests: Add tests for FindGTestRoger Leigh2015-12-101-0/+5
|
* Merge topic 'FindTIFF-imported-targets'Brad King2015-12-071-0/+4
|\ | | | | | | | | ebaca629 FindTIFF: Add imported targets and update documentation
| * FindTIFF: Add imported targets and update documentationRoger Leigh2015-12-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | - Add TIFF::TIFF imported target - Document imported target - Add testcase to test the standard variables and the imported target Also: - Add TIFF_INCLUDE_DIRS to match common practice - Update documentation generally, including documenting TIFF_INCLUDE_DIRS
* | Merge topic 'improve-embarcadero'Brad King2015-12-041-2/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 7a327727 Embarcadero: Fix erroneous interpretation of __CODEGEARC_VERSION__. 25211d75 Compiler ID: Compiler versions must be a valid, numeric version string. 060442c2 Embarcadero: Check code using CMAKE_CXX_COMPILER_ID and CMAKE_C_COMPILER_ID. f3b3219c Embarcadero/Watcom: Properly skip VSResource test for other generators. ddbda722 Embarcadero: Fix bug where duplicate Ninja job pools would be created.
| * | Embarcadero/Watcom: Properly skip VSResource test for other generators.James Johnston2015-12-031-2/+1
| |/ | | | | | | | | This test should be skipped based on the chosen compiler, not the chosen generator.
* | Tests: Add FindBoost testcase for imported targetsRoger Leigh2015-12-021-0/+4
|/ | | | Enable by setting CMake_TEST_FindBoost to TRUE.
* Merge topic 'FindXercesC-imported-targets'Brad King2015-11-241-0/+4
|\ | | | | | | | | 5dcc833b FindXercesC: Add imported targets and unit test
| * FindXercesC: Add imported targets and unit testRoger Leigh2015-11-231-0/+4
| |
* | CTest: Expand directories for Cobertura searchJoseph Snyder2015-11-231-0/+1
|/ | | | | | | | | | Change the Cobertura handler to look for an environment variable called "COBERTURADIR" which contains the directory where the coverage.xml file is found. If that variable doesn't exist, continue to use the default of the binary directory. Update the test to use an appropriate value in the environment variables.
* Merge topic 'cpack-deb-config-file-source-field'Brad King2015-11-061-0/+1
|\ | | | | | | | | | | e5b70ed0 CPackDEB: added config file optional Source field f2d98e2d CPackDEB: minor documentation and debug logging fixes
| * CPackDEB: added config file optional Source fieldRaffi Enficiaud2015-11-041-0/+1
| |
* | CPackDeb: ctest tests for compression scheme leakRaffi Enficiaud2015-11-031-1/+2
|/ | | | | | Test that changing compression of debian package content does not affect DEBIAN/ files which must be gzipped
* Tests: Fix DelphiCoverage test file selectionJoseph Snyder2015-10-201-2/+3
| | | | | | The HTML file for the Delphi Code coverage was being found by the Dashboard coverage run of CMake itself. Switch it to be a configured file to eliminate this extra reading.
* Tests: Add a nightly Linux 64-bit binaryBrad King2015-10-061-0/+2
|