summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests
Commit message (Collapse)AuthorAgeFilesLines
* STYLE: White space only change to see if continuous is working on new ↵David Cole2009-03-311-1/+0
| | | | dashboard machine...
* STYLE: White space only change to see if continuous is working on new ↵David Cole2009-03-311-0/+1
| | | | dashboard machine...
* STYLE: White space only change to see if continuous is working on new ↵David Cole2009-03-061-1/+0
| | | | dashboard machine...
* ENH: Teach message() how to display warningsBrad King2009-03-063-0/+35
| | | | | This adds message(WARNING) and message(AUTHOR_WARNING) command modes and fully documents the command behavior in all modes.
* ENH: Overhaul CMake version numberingBrad King2009-03-052-0/+10
| | | | | | | | | | | | | This moves the version numbers into an isolated configured header so that not all of CMake needs to rebuild when the version changes. Previously we had spaces, dashes and/or the word 'patch' randomly chosen before the patch number. Now we always report version numbers in the traditional format "<major>.<minor>.<patch>[-rc<rc>]". We still use odd minor numbers for development versions. Now we also use the CCYYMMDD date as the patch number of development versions, thus allowing tests for exact CMake versions.
* ENH: Add get_filename_component(... REALPATH)Brad King2009-02-092-0/+58
| | | | | | | This patch from Philip Lowman creates a REALPATH mode in the get_filename_component command. It is like ABSOLUTE, but will also resolve symlinks (which ABSOLUTE once did but was broken long ago). See issue #8423.
* BUG: Alternative fix to bug #8423Brad King2009-02-062-44/+0
| | | | | | | | | The patch used to fix this bug used SystemTools::GetRealPath which works only for existing files. It broke the case of using the command get_filename_component for a non-existing file. Also, it changed long-standing behavior in a possibly incompatible way even for existing files. This reverts the original fix and instead updates the documentation to be consistent with the behavior.
* ENH: add missing fileBill Hoffman2009-01-291-0/+43
|
* BUG: fix for #8423Bill Hoffman2009-01-291-0/+1
|
* ENH: Activate GetPrerequisites code on Linux. Thanks to Mike Arthur for ↵David Cole2008-10-241-8/+4
| | | | finishing it off.
* PERF: Test takes too long when recursing for executable files and when doing ↵David Cole2008-09-091-1/+1
| | | | recursive prerequisite analysis. Put it back the way it was. Add another test later to do the recursive prerequisite analysis.
* BUG: fix test to work with new restrictions that cross compiling must be onBill Hoffman2008-09-091-1/+3
|
* ENH: Add BundleUtilities.cmake and supporting changes to ↵David Cole2008-09-061-1/+1
| | | | GetPrerequisites.cmake. Function copy_and_fixup_bundle in BundleUtilities helps to make standalone bundle applications on the Mac by pulling in prerequisite non-system libraries and frameworks as needed. Uses otool and install_name_tool to do analysis and fixups. Project-specific hooks for deciding where to embed libraries and for resolving item names into full path file names are also provided.
* ENH: Add test for new find_* command HINTS option.Brad King2008-06-092-0/+15
|
* BUG: Fix CMake.FindBase test to normalize paths before comparing.Brad King2008-06-081-0/+4
| | | | | | - Previously the find_* commands did not normalize the search paths - The recent refactoring enabled such normalization - The FindBase test must also normalize before comparing paths
* ENH: add REMOVE_DUPLICATES subcommand to LIST command (and test). Remove ↵Sebastien Barre2008-03-121-0/+4
| | | | duplicates from a list (keep the ordering)
* ENH: Add script GetPrerequisites.cmake to help analyze what shared libraries ↵David Cole2008-03-042-2/+159
| | | | executable files depend on. Primary uses are to determine what shared libraries should be copied into Mac OSX bundle applications to create standalone bundles apps and to determine what shared library files need to be installed for an executable to run on any platform. Requires native platform tools dumpbin, otool and ldd to generate results.
* ENH: change LIST(CONTAINS ...) TO LIST(FIND ...), which returns the indexAlexander Neundorf2007-08-151-4/+6
| | | | | | | | and which is more useful, because then you can also access the item behind the one you were looking, useful for writing macros with optional keywords with parameters Alex
* ENH: add LIST(CONTAINS ...) patch from "Miguel A. Figueroa-Villanueva, ↵Alexander Neundorf2007-07-121-0/+14
| | | | | | | | miguelf (AT) ieee.org added tests for LIST(CONTAINS, SORT, REVERSE) Alex
* ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE,Alexander Neundorf2007-07-022-6/+1
| | | | | | | | | | | | | | | | CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_C_COMPILER_AND_PROCESSOR_INFO_FILE and CMAKE_SYSTEM_AND_CXX_COMPILER_AND_PROCESSOR_INFO_FILE Instead of presetting these variables to arbitrary filenames, users should set up CMAKE_SYSTEM_NAME and the compilers correctly and also create a Platform/ directory so these files will all follow the official cmake style, which should make it easier to understand and debug project which have their own platform/toolchain support files. -remove support for a suffix to MS crosscompilers, since this is not (yet) supported by cmake and might confuse users Alex
* ENH: fix itBill Hoffman2007-06-062-6/+7
|
* ENH: use lower case for file compare on windowsBill Hoffman2007-06-062-11/+30
|
* ENH: always provide CMAKE_SYSTEM_XXX() and MAKE_HOST_SYSTEM_XXX() variables,Alexander Neundorf2007-05-291-0/+54
| | | | | | so when cross compiling the build host platform can be tested Alex
* ENH: merge CMake-CrossCompileBasic to HEADAlexander Neundorf2007-05-176-0/+161
| | | | | | | | | | | | | | | | | | | | | | | | -add a RESULT_VARIABLE to INCLUDE() -add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain -have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system) -use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to run the executables if they have a different suffix because they are probably crosscompiled, but nevertheless it should be able to find them -make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE -support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.) -move ranlib on OSX from the file command to a command in executed in cmake_install.cmake -add support for stripping during install in cmake_install.cmake -split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools -remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms -create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these -add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a list of directories which will be prepended to all search directories, right now as a cmake variable, turning it into a global cmake property may need some more work -remove cmTestTestHandler::TryExecutable(), it's unused -split cmFileCommand::HandleInstall() into slightly smaller functions Alex
* ENH: Add variable watch commandAndy Cedilnik2007-04-112-1/+24
|
* ENH: Fix INSERT to allow inserting to empty listAndy Cedilnik2006-05-151-2/+6
|
* ENH: Change REMOVE and REMOVE_ITEM to REMOVE_AT and REMOVE_ITEMAndy Cedilnik2006-05-151-7/+11
|
* ENH: Remove some errors, fix append to work on nonexisting listsAndy Cedilnik2006-05-151-2/+12
|
* ENH: Add initial implementation of the list commandAndy Cedilnik2006-02-102-0/+60