summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeOnly
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix typo in error message, and remove redundent test.Bill Hoffman2012-03-011-2/+0
| |
| * Add ability to include a file in a project via a cache variable.Bill Hoffman2012-02-174-1/+15
| | | | | | | | | | | | If a variable exists called CMAKE_PROJECT_<projectName>_INCLUDE, the file pointed to by that variable will be included as the last step of the project command.
* | Merge topic 'expect-more-versions'David Cole2012-02-211-2/+3
|\ \ | | | | | | | | | | | | 540db7e AllFindModules test: expect more modules to have a version number available
| * | AllFindModules test: expect more modules to have a version number availableRolf Eike Beer2012-02-181-2/+3
| |/ | | | | | | | | | | For all current build machines the modules FindPkgConfig, FindFreetype, and FindLibXslt return a version number. Enforce this to early catch when this is not always the case.
* | fix the same typos as found by Debian in other places, tooRolf Eike Beer2012-02-181-3/+3
|/
* Merge topic 'allfindmodules-no-force-gnuplot'David Cole2012-02-141-1/+1
|\ | | | | | | | | 2f306a9 AllFindModules test: do not enforce GNUPLOT version
| * AllFindModules test: do not enforce GNUPLOT versionRolf Eike Beer2012-02-131-1/+1
| | | | | | | | | | Ancient Gnuplot versions like 3.7.1 don't know about "--version". Disable this check so it doesn't break on machines with this version.
* | Add CheckLanguage moduleBrad King2012-02-082-0/+24
|/ | | | | | Define a "check_language(<lang>)" macro to test whether <lang> can be enabled. Cache the result in CMAKE_<lang>_COMPILER. Add a test case covering expected results.
* Merge topic 'AllFindModules-test'David Cole2012-02-071-11/+40
|\ | | | | | | | | | | | | | | ed1b126 CMakeOnly.AllFindModules: require version for some modules 2dee929 CMakeOnly.AllFindModules: suppress two modules from testing 3c4b4ff CMakeOnly.AllFindModules: always check FindQt 9d72b25 CMakeOnly.AllFindModules: clean up the Qt3/Qt4 code
| * CMakeOnly.AllFindModules: require version for some modulesRolf Eike Beer2012-02-011-0/+22
| |
| * CMakeOnly.AllFindModules: suppress two modules from testingRolf Eike Beer2012-01-261-1/+6
| | | | | | | | | | FindPackageHandleStandardArgs and FindPackageMessage match the glob expression but are nothing that will usually be fed into find_package().
| * CMakeOnly.AllFindModules: always check FindQtRolf Eike Beer2012-01-261-2/+4
| |
| * CMakeOnly.AllFindModules: clean up the Qt3/Qt4 codeRolf Eike Beer2012-01-261-11/+11
| |
* | Merge topic 'check_cxx_compiler_flag_cmakeonly'David Cole2012-02-012-0/+60
|\ \ | | | | | | | | | | | | 8de3b3d CheckCXXCompilerFlag test: make it a CMakeOnly test
| * | CheckCXXCompilerFlag test: make it a CMakeOnly testRolf Eike Beer2012-01-302-0/+60
| |/
* | Add test covering imported target scope rulesBrad King2012-01-255-0/+36
|/
* AllFindModules test: also check Qt3 modules if Qt4 is not foundRolf Eike Beer2012-01-181-2/+13
|
* AllFindModules test: keep complete outputRolf Eike Beer2012-01-171-0/+3
|
* add a test that loops through most Find* modulesRolf Eike Beer2012-01-162-0/+27
| | | | | This allows easy spotting of modules that output crappy messages and the like.
* Merge topic 'link-shared-depend-cycle-issue-12647' into check_symbol_existsRolf Eike Beer2012-01-164-0/+32
|\
| * Tolerate cycles in shared library link interfaces (#12647)Brad King2012-01-134-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 183b9509 (Follow all dependencies of shared library private dependencies, 2011-12-14) we honor LINK_INTERFACE_LIBRARIES when following dependent shared libraries. The link interface properties may form a cycle if set incorrectly by a project. Furthermore, the property LINK_DEPENDENT_LIBRARIES may form a cycle if set incorrectly by hand (though CMake should never generate one). In either case, do not follow the cycle forever when following the dependent shared library closure. We only need to add dependency edges to the constraint graph once. Add "LinkInterfaceLoop" test to cover this case.
* | add a test for Check{,CXX}SymbolExistsRolf Eike Beer2012-01-164-0/+123
|/ | | | | Now that we think that CheckSymbolExists really works for all cases it is time to prove that. If this code fails too many other things will break.
* Add infrastructure for CMake-only testsBrad King2012-01-132-0/+21
Some tests only need to run CMake to configure and generate a build tree, but not actually perform the build. Add a new "Tests/CMakeOnly" directory dedicated for this purpose. Add a helper script to drive each test by creating a fresh build tree and running CMake on it. Add macro "add_CMakeOnly_test" to help create tests using the script.