summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Drop Visual Studio 7 .NET 2003 generatorBrad King2017-04-191-7/+6
| | | | | | | | This generator has been deprecated since CMake 3.6. Remove it.
* | Merge topic 'test-CheckIPOSupported'Brad King2017-04-191-0/+11
|\ \ | | | | | | | | | | | | | | | | | | eeb58c5c Tests: Add cases for typical CheckIPOSupported usage Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !700
| * | Tests: Add cases for typical CheckIPOSupported usageRuslan Baratov2017-04-181-0/+11
| |/
* | Merge topic 'fix-CMakeTestAllGenerators'Brad King2017-04-191-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 9e338b57 Tests: Drop machine-specific logic from CMakeTestAllGenerators 2790ffc9 Tests: Run CMakeTestAllGenerators serially f1e51ec3 Tests: Fix CMakeTestAllGenerators generator list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !720
| * | Tests: Run CMakeTestAllGenerators seriallyBrad King2017-04-181-0/+3
| |/ | | | | | | | | This test may take a long time because it runs many other tools. Do not make it compete with other tests for resources.
* | FindMPI: Add test caseChristian Pfeiffer2017-04-181-0/+4
|/
* VS: Add support for ASM_NASM languageEvgeny Fimochkin2017-02-071-1/+6
| | | | Fixes: #16469
* VS: added support for C# (for Visual Studio 2010, 2012, 2013, 2015)Michael Stürmer2017-01-131-0/+3
|
* FindOpenGL: Provide imported targets for GL and GLUBrad King2016-12-021-0/+4
| | | | | | | | | | | | | | | | Create OpenGL::GL and OpenGL::GLU imported targets using the locations found. This feature was originally added by commit v3.1.0-rc1~420^2~2 (FindOpenGL: Provide imported targets for GL and GLU, 2014-05-31) but had to be reverted by commit v3.1.0-rc3~10^2 (FindOpenGL: Revert support for imported targets, 2014-12-01) due to issue #15267. Since then we added support for `IMPORTED_LIBNAME` to interface libraries, so use it to handle the case where we have only the library name without an absolute path. Inspired-by: Philipp Möller <bootsarehax@googlemail.com> Closes: #15267
* Merge topic 'QtAutogen_tests_update_v2'Brad King2016-11-301-1/+1
|\ | | | | | | | | | | | | | | | | | | | | 6938772a QtAutogen tests: Pass Qt compiler features to library targets c4d4becf QtAutogen tests: Move the complex test case to a subdirectory 2599f5d6 QtAutogen tests: Extend test description in CMakeLists.txt 7052af9d QtAutogen tests: Move independent sameName test to top list of CMakeLists.txt d675004d QtAutogen tests: Rename uiconly target to camel case uicOnly cb4bc19a QtAutogen tests: Rename rcc_empty target to camel case rccEmpty 59dbd3f8 QtAutogen tests: Rename rcconly target to camel case rccOnly.
| * QtAutogen tests: Move the complex test case to a subdirectorySebastian Holtermann2016-11-291-1/+1
| |
* | CUDA: Add tests to verify CUDA compiler works properly.Robert Maynard2016-11-141-0/+7
|/
* Merge topic 'import-librhash'Brad King2016-11-101-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd8a57ae Add option to build CMake against a system librhash 71180fc8 FindLibRHash: Add module to find the librhash package 3216e94c Remove unused cm_sha2 infrastructure 5420278d Port hash computation to cmCryptoHash 9a596b33 cmCryptoHash: Re-implement in terms of librhash 47f91a61 cmCryptoHash: Avoid using subclasses at client sites d0ff3e70 librhash: Port to KWIML for ABI and integer type information 465a85fb librhash: Avoid signed left-shift overflow fc2cb74f librhash: Implement bswap_32 as a function even in strict C90 mode 0bd333bc librhash: Implement bswap_64 even in strict C90 mode 7189d62c librhash: Use __builtin_bswap{32,64} on Clang af7ebf8a librhash: Install COPYING file with CMake documentation bb01f20e librhash: Disable warnings to avoid changing 3rd party code 31bb727f librhash: Build the library within CMake 53048afa librhash: Remove source fragments not needed for CMake 5cb1b345 Merge branch 'upstream-librhash' into import-librhash ...
| * FindLibRHash: Add module to find the librhash packageBrad King2016-11-101-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.
* | Drop KWStyle checks in favor of clang-format and Git hooksBrad King2016-11-081-14/+0
|/ | | | | | We now define code layout by clang-format and enforce whitespace with Git hooks. There is no need to run KWStyle anymore, as all we used it to check was line length anyway.
* BootstrapTest: Use --parallel=... argument.Daniel Pfeifer2016-10-211-2/+2
| | | | | | Determine the number of processors and provide it to the bootstrap script. Also make sure this test does not run parallel with other tests.
* Tests: Add VSNsightTegra test for VS 2015Brad King2016-10-181-0/+3
|
* server-mode: Add option to enable/disable test case explicitlyBrad King2016-09-291-1/+1
| | | | | | | Add a `CMake_TEST_SERVER_MODE` option that can be set in testing builds to enable/disable server mode tests explicitly. This will allow testing in combination with `CMake_TEST_EXTERNAL_CMAKE` or for server mode to be built on systems that have a python version that cannot run the test.
* server-mode: Rename variable CMake_{HAVE => ENABLE}_SERVER_MODEBrad King2016-09-291-1/+1
| | | | The latter is a better name for making it a public-facing option.
* Tests: Decide earlier whether to test resourcesBrad King2016-09-281-11/+12
| | | | Provide a CMake_TEST_RESOURCES variable storing the decision.
* Tests: Add Fortran submodule testsBrad King2016-09-231-0/+1
| | | | | Co-Author: Damian Rouson <damian@sourceryinstitute.org> Issue: #16234
* Tests: Split Fortran module testing into separate FortranModules testBrad King2016-09-221-1/+13
| | | | | The main Fortran test is not granular enough. Split some into another test.
* cmake-server: Add unit testTobias Hunger2016-09-191-0/+9
|
* 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.