summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Tests: Rename Linux nightly release binary test to Linux32Brad King2015-10-061-1/+1
| | | | Distinguish the name from a future 64-bit nightly binary.
* Tests: Rename OS X nightly release binary testBrad King2015-10-051-1/+1
| | | | | The "Mac64" build is now the primary and only OS X build, so just name it "OSX".
* Tests: Drop nightly OS X ppc/i386 binaryBrad King2015-10-051-2/+0
| | | | | Users with OS X 10.5 or below can build from source or use an older CMake version.
* VS: Add support for Windows 10 Universal (Store) ApplicationsGilles Khouzam2015-10-051-1/+8
| | | | | | | | | | | | | | | | Teach the VS 2015 generator to support WindowsStore 10.0 applications. Add target properties to customize them: * VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION: Specifies the minimum version of the OS that the project can target. * VS_DESKTOP_EXTENSIONS_VERSION, VS_MOBILE_EXTENSIONS_VERSIONS, VS_IOT_EXTENSIONS_VERSION: Add a reference to the version of the SDK specified to the target allowing to target the extended functionality in a universal project. * VS_IOT_STARTUP_TASK: Specifies that the target should be built as an IOT continuous background task.
* FindThreads: add simple testcaseRolf Eike Beer2015-09-211-0/+2
|
* Add support for *.manifest source files with MSVC toolsBrad King2015-09-171-0/+1
| | | | | | | | Classify .manifest sources separately, add dependencies on them, and pass them to the MS manifest tool to merge with linker-generated manifest files. Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
* Swift: Require Xcode 6.1 and for MacOS X at least SDK 10.10Gregor Jasny2015-09-051-4/+31
|
* UseJava: Add support for javah toolMarc Chevrier2015-08-211-0/+25
| | | | Add a `create_javah` API.
* FindOpenSSL: Provide imported targets OpenSSL::{SSL,Crypto}Konstantin Podsvirov2015-08-131-0/+4
|
* UseJava: Teach add_jar to support file syntax for sourcesMarc Chevrier2015-08-041-4/+17
|
* Tests: Move CTestTestConfigFileInBuildDir into RunCMake.ctest_startBrad King2015-07-141-33/+0
| | | | | | | Subsume the CTestTestConfigFileInBuildDir test cases into the RunCMake.ctest_start test as new cases to avoid infrastructure duplication. This also avoids using REGEX_ESCAPE_STRING to try to regex-match full paths.
* Add rudimentary support for the Apple Swift language with XcodeBrad King2015-07-061-0/+6
| | | | | | | Allow the `Swift` language to be enabled with the Xcode generator for Xcode >= 6.1. Reject it on other generators and with older Xcode versions. Since Apple is the only vendor implementing the language right now, the compiler id can be just `Apple`.
* Tests: Rename Visibility{InlinesHidden =>}Brad King2015-05-221-5/+5
| | | | We will soon generalize it to cover other visibility properties.
* Revert "Qbs: Add new 'extra' generator for qbs project files"Brad King2015-05-211-15/+1
| | | | | | | | | | | | | | | | | | | This reverts commit f85db2f32358e6de921aba7d1cb8ecb81da934c0. Discussion by the QtCreator community at https://bugreports.qt.io/browse/QTCREATORBUG-13695 raises concerns about this particular approach to working with CMake projects using QtCreator. Also, the functionality and design of the QBS extra generator was never discussed on the CMake mailing list or with QtCreator developers. There may be better ways to make the two tools work together. In order to avoid committing to long-term support of this generator prior to such discussion taking place, revert it from CMake for now. We may restore this or use an alternative design based on results of such discussion.
* Merge topic 'cpack-deb-component-dependencies'Brad King2015-05-121-1/+3
|\ | | | | | | | | | | 1237d5fa Help: Add notes for topic 'cpack-deb-component-dependencies' e3f522f6 CPack/DEB per component dependencies
| * CPack/DEB per component dependenciesRaffi Enficiaud2015-05-081-1/+3
| | | | | | | | Dependencies may now be set per component
* | CPack: Enable DEB and RPM tests more reliablyDomen Vrankar2015-05-121-19/+21
|/ | | | | | | CPack DEB and RPM generators were not used for some tests because CPACK_BINARY_DEB and CPACK_BINARY_RPM variable were not set. Fix this, simplify generator selection in CTEST_RUN_CPackComponentsForAll, and fix bugs that were detected after tests were run.
* Merge topic 'vs-install-in-default-build'Brad King2015-05-071-1/+4
|\ | | | | | | | | | | a6e4e73d VS: Add option to put INSTALL target in .sln default build 562e69dd Tests: Enable devenv tests on VS >= 10
| * VS: Add option to put INSTALL target in .sln default buildRobert Goulet2015-05-061-0/+1
| | | | | | | | | | Add a CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD variable to control this behavior.
| * Tests: Enable devenv tests on VS >= 10Brad King2015-05-041-1/+3
| | | | | | | | | | | | | | | | | | The VSExcludeFromDefaultBuild have not been enabled on VS >= 10 since commit v3.0.0-rc1~260^2~9 (Tests: Simplify VSExcludeFromDefaultBuild configuration, 2013-11-14). Since commit v3.0.0-rc1~260^2~2 (VS: Add CMAKE_VS_(DEVENV|MSBUILD|MSDEV)_COMMAND variables, 2013-12-04) we can simply check the CMAKE_VS_DEVENV_COMMAND variable for a devenv tool to use for the test.
* | CPack/DEB component dependency auto-discoveryRaffi Enficiaud2015-05-071-1/+2
|/ | | | Dependency auto-discovery can now be set per component
* CPackDEB component descriptionRaffi Enficiaud2015-04-291-1/+3
| | | | | Support for setting different description for each component.