summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cpack-new-tests'Brad King2017-01-1020-63/+110
|\ | | | | | | | | | | | | 36bc7e4c store old locale to a temporary variable 05c14ea0 RunCMake.CPack_* add COMPONENT to minimal test 5b0a64eb CPack/Archive minimal tests for more formats
| * RunCMake.CPack_* add COMPONENT to minimal testDomen Vrankar2016-12-231-1/+1
| | | | | | | | | | Add component based packages testing to current monolithic minimal package tests.
| * CPack/Archive minimal tests for more formatsDomen Vrankar2016-12-2320-63/+110
| |
* | Merge topic 'cpack-deb-md5sums-paths-fix'Brad King2017-01-104-0/+11
|\ \ | | | | | | | | | | | | 6daa2d38 CPack/Deb invalid md5sums file fix
| * | CPack/Deb invalid md5sums file fixDomen Vrankar2016-12-234-0/+11
| |/ | | | | | | | | | | | | | | | | Monolithic deb packages were packaged with invalid md5sums file as trailing slash in path was causing string replace to fail and preserve build path. Fixes #16517
* | CPack test additional std out/err regex file overloadsDomen Vrankar2017-01-102-3/+18
| | | | | | | | | | Added std out/std err expected regex file name overloads for packaging type.
* | Merge topic '15687-revisit-xcode-system-include'Brad King2017-01-092-5/+14
|\ \ | | | | | | | | | | | | 88f07fb4 Xcode: Properly mark SYSTEM includes as such
| * | Xcode: Properly mark SYSTEM includes as suchGregor Jasny2016-12-272-5/+14
| |/ | | | | | | | | | | | | | | | | We now populate the per-language flags in addition to the header search paths stored in HEADER_SEARCH_PATHS. This preserves include paths for GNU assembly files (cmake/cmake#16449) and also provides SYSTEM include semantics. Closes: cmake/cmake#15687
* | cmTarget: Enforce TYPE being a read-only propertyGregor Jasny2017-01-094-0/+5
|/
* Merge topic 'cuda_tests_now_explain_why_they_fail'Brad King2016-12-164-11/+16
|\ | | | | | | | | c59811a2 CUDA: Tests now state why they are failing when no CUDA card is found.
| * CUDA: Tests now state why they are failing when no CUDA card is found.Robert Maynard2016-12-154-11/+16
| |
* | Merge topic 'csharp_support_compiler_detection'Brad King2016-12-162-0/+24
|\ \ | |/ |/| | | | | 5c6c0344 C# support: add compiler detection for MSVC
| * C# support: add compiler detection for MSVCMichael Stürmer2016-12-152-0/+24
| |
* | try_compile: extend CMP0067 to honor language standards for CUDA.Robert Maynard2016-12-126-0/+23
| |
* | CUDA: Fix Cuda.Complex test case extern function signaturesBrad King2016-12-091-2/+2
|/ | | | | Make the return types of the extern function declared in `main.cpp` match those in the method implementations.
* Merge topic 'try_compile-lang-std'Brad King2016-12-0717-0/+214
|\ | | | | | | | | | | | | f72ba42b try_compile: Add policy CMP0067 to honor language standards 45aa03b9 try_compile: Add options to specify language standards 3bb2051e try_compile: Stop processing when test build system fails to generate
| * try_compile: Add policy CMP0067 to honor language standardsBrad King2016-12-065-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Projects use `try_compile` to check if they will be able to compile some particular source code. When a language standard variable like `CMAKE_CXX_STANDARD` is set, then the project intends to compile source code using a compiler mode for that standard. Therefore it makes sense for `try_compile` to use that standard in the test project too. Unfortunately this was not done when support for the `CMAKE_CXX_STANDARD` variable was first implemented. Add a policy to introduce the improved behavior in a compatible way. Closes: #16456
| * try_compile: Add options to specify language standardsBrad King2016-12-0615-0/+124
| | | | | | | | | | | | | | | | | | Give `try_compile` callers a way to control the `CXX_STANDARD`, `CXX_STANDARD_REQUIRED`, and `CXX_EXTENSIONS` properties of the generated test target (or the `C` equivalents) in order to compile a test source for a particular language standard. Issue: #16456
* | QtAutogen: Tests: Don't use std::auto_ptrSebastian Holtermann2016-12-074-2/+14
| |
* | QtAutogen: Tests: Update ui_ include lookup directorySebastian Holtermann2016-12-071-4/+3
| |
* | QtAutogen: Tests: Increase minimum required CMake versionSebastian Holtermann2016-12-074-4/+4
| |
* | QtAutogen: Tests: Don't use std::auto_ptrSebastian Holtermann2016-12-072-2/+7
| |
* | QtAutogen: Tests: Don't include CMAKE_CURRENT_BINARY_DIRSebastian Holtermann2016-12-075-7/+3
| |
* | Merge topic 'FindOpenGL-imported-targets'Brad King2016-12-064-0/+45
|\ \ | | | | | | | | | | | | 027ce359 FindOpenGL: Provide imported targets for GL and GLU
| * | FindOpenGL: Provide imported targets for GL and GLUBrad King2016-12-024-0/+45
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'features-c++17'Brad King2016-12-052-2/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 97c1e569 Help: Add release note for C++ 17 support 85c8e652 Features: Activate C++ 17 support for AppleClang 6.1+ 8084f7a6 Features: Activate C++ 17 support for Clang 3.5+ 24e29d41 Features: Activate C++ 17 support for GNU 5.1+ ae1a6815 Features: Add infrastructure for C++ 17 language standard 684e4d20 Features: Make feature recording conditions more consistent
| * | Features: Add infrastructure for C++ 17 language standardBrad King2016-12-022-2/+7
| | | | | | | | | | | | Issue: #16468
* | | CPackRPM now supports multiple directives in CPACK_RPM_USER_FILELISTHarry Mallon2016-12-034-0/+28
| |/ |/| | | | | | | | | | | | | * In older version "%dir %attr(-, root, root) foo" would put "%dir foo" in the final spec file. * Also added comment to describe this and advise not not to add trailing slashes to directories in USER_FILELIST. * Includes test in RunCMake CPack which now passes.
* | Merge topic 'execute_process-encoding'Brad King2016-12-0211-0/+78
|\ \ | | | | | | | | | | | | 2ed473b3 execute_process: Add ENCODING option for Windows child process output
| * | execute_process: Add ENCODING option for Windows child process outputDāvis Mosāns2016-11-3011-0/+78
| | | | | | | | | | | | Different applications can use different output encodings.
* | | VS: Add target property VS_DEBUGGER_WORKING_DIRECTORYMichael Stürmer2016-11-303-0/+28
| |/ |/|
* | Merge topic 'msbuild-customization'Brad King2016-11-304-0/+38
|\ \ | | | | | | | | | | | | e3909918 VS: Add option to customize vcxproj user props file
| * | VS: Add option to customize vcxproj user props fileMichael Stürmer2016-11-294-0/+38
| | | | | | | | | | | | | | | | | | Add a `VS_USER_PROPS_CXX` target property to set the user props file of the generated `.vcxproj` file to be something other than the default `$(UserRootDir)\\Microsoft.Cpp.$(Platform).user.props`.
* | | Merge topic 'QtAutogen_tests_update_v2'Brad King2016-11-3064-101/+127
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Pass Qt compiler features to library targetsSebastian Holtermann2016-11-292-1/+7
| | | |
| * | | QtAutogen tests: Move the complex test case to a subdirectorySebastian Holtermann2016-11-2957-84/+89
| | | |
| * | | QtAutogen tests: Extend test description in CMakeLists.txtSebastian Holtermann2016-11-291-6/+14
| | | |
| * | | QtAutogen tests: Move independent sameName test to top list of CMakeLists.txtSebastian Holtermann2016-11-291-3/+4
| | | |
| * | | QtAutogen tests: Rename uiconly target to camel case uicOnlySebastian Holtermann2016-11-294-4/+6
| | | | | | | | | | | | | | | | Also move uicOnly sources to dedicated uicOnlySource directory.
| * | | QtAutogen tests: Rename rcc_empty target to camel case rccEmptySebastian Holtermann2016-11-293-7/+6
| | | |
| * | | QtAutogen tests: Rename rcconly target to camel case rccOnly.Sebastian Holtermann2016-11-293-6/+11
| | | | | | | | | | | | | | | | Also add dedicated rccOnlyRes.qrc file for the rccOnly target.
* | | | Make error message of standalone endwhile command consistentDaniel Pfeifer2016-11-291-1/+1
| |_|/ |/| | | | | | | | with the error messages of endforeach, endmacro, endfunction, etc.
* | | Merge topic 'vs-default-build-package'Brad King2016-11-293-0/+32
|\ \ \ | | | | | | | | | | | | | | | | 9e3164df VS: Add option to place `PACKAGE` target in solution default build
| * | | VS: Add option to place `PACKAGE` target in solution default buildMichael Stürmer2016-11-293-0/+32
| | |/ | |/| | | | | | | | | | Add a `CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD` variable to control this behavior.
* | | Merge topic 'try_compile-honor-CMAKE_WARN_DEPRECATED'Brad King2016-11-292-0/+20
|\ \ \ | | | | | | | | | | | | | | | | 6d604c49 try_compile: Honor CMAKE_WARN_DEPRECATED in test project
| * | | try_compile: Honor CMAKE_WARN_DEPRECATED in test projectBrad King2016-11-222-0/+20
| | |/ | |/| | | | | | | | | | | | | | | | | | | This causes the `-Wno-deprecated` option to be honored even inside a `try_compile` test project, which is needed to suppress all deprecation warnings as the option documents. Closes: #16446
* | | Merge topic 'initial_cuda_language_support'Brad King2016-11-2937-0/+624
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4cc601f2 Help: Add release note for CUDA support 7b9131da CUDA: Add tests to verify CUDA compiler works properly. 9cf5b98d CUDA: Prefer environment variables CUDACXX and CUDAHOSTCXX. a5e806b3 CUDA: Add support for CMAKE_CUDA_COMPILE_OPTIONS_VISIBILITY d038559e CUDA: Add separable compilation support to the makefile generator. 43ce4414 CUDA: Add separable compilation support to the ninja generator. 4b316097 CUDA: Add support for the CUDA_SEPARABLE_COMPILATION target property ae05fcc6 CUDA: Add LinkLineComputer that computes cuda dlink lines. 115269a8 CUDA: Refactor cmLinkLineComputer to allow for better derived children. 5dec4031 CUDA: Refactor CMakeCUDAInformation to prepare for separable compilation. 5b20d0ab CUDA: C++ compile features now enable cuda c++11 support. 489c52ce CUDA: Use the host compiler for linking CUDA executables and shared libs. bbaf2434 CUDA: add support for specifying an explicit host compiler. a92f8d96 CUDA: Enable header dependency scanning. ec6ce623 CUDA: State that cuda has preprocessor output and can generate assembly. 4f5155f6 CUDA: We now properly perform CUDA compiler identification. ...
| * | | CUDA: Add tests to verify CUDA compiler works properly.Robert Maynard2016-11-1437-0/+624
| | | |
* | | | Merge topic 'include-what-you-use'Brad King2016-11-284-4/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0c14dfb avoid including cmStandardIncludes.h 66a70999 iwyu: Fix VisualStudio specific issues 7b4244ac iwyu: Fix more findings aeff60e4 iwyu: Fix OSX specific issues
| * | | | iwyu: Fix more findingsDaniel Pfeifer2016-11-283-3/+15
| | | | |