Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle targets in the LINK_LIBRARIES of try_compile. | Stephen Kelly | 2013-02-22 | 1 | -5/+2 |
| | | | | | | | | | | Imported targets are re-exported so that they can be used by the try_compile generated code with target_link_libraries. This makes the use of the cmake_expand_imported_targets macro obsolete. The macro is not able to expand the generator expressions which may appear in the IMPORTED_LINK_INTERFACE_LIBRARIES content. Instead it just sees them as 'not a target'. | ||||
* | Remove CMake-language block-end command arguments | Kitware Robot | 2012-08-13 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed | ||||
* | Convert CMake-language commands to lower case | Kitware Robot | 2012-08-13 | 1 | -21/+21 |
| | | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed | ||||
* | Check*.cmake: Expand imported targets in CMAKE_REQUIRED_LIBRARIES | Alex Neundorf | 2012-02-21 | 1 | -1/+6 |
| | | | | | | | | | | | Add the function cmake_expand_imported_targets() to expand imported targets in a list of libraries into their on-disk file names for a particular configuration. Adapt the implementation from KDE's HANDLE_IMPORTED_TARGETS_IN_CMAKE_REQUIRED_LIBRARIES which has been in use for over 2 years. Call the function from all the Check*.cmake macros to handle imported targets named in CMAKE_REQUIRED_LIBRARIES. Alex | ||||
* | -remove trailing whitespace | Alex Neundorf | 2012-02-21 | 1 | -5/+5 |
| | | | | Alex | ||||
* | Modules: Fix spelling 'To distributed' -> 'To distribute' | Todd Gamblin | 2010-08-09 | 1 | -1/+1 |
| | |||||
* | Convert CMake non-find modules to BSD License | Brad King | 2009-09-28 | 1 | -0/+13 |
| | | | | | | | This adds copyright/license notification blocks CMake's non-find modules. Most of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices. | ||||
* | ENH: centralized locaiton of CMakeFiles setting | Ken Martin | 2006-06-14 | 1 | -2/+2 |
| | |||||
* | BUG: Fix CMAKE_REQUIRED_LIBRARIES stuff in this module | Andy Cedilnik | 2006-02-10 | 1 | -2/+0 |
| | |||||
* | ENH: Made Check* modules more consistent and well documented. Added ↵ | Brad King | 2006-02-10 | 1 | -5/+10 |
| | | | | CMAKE_REQUIRED_DEFINITIONS option. | ||||
* | ENH: some style fixes for the book | Ken Martin | 2005-12-15 | 1 | -2/+2 |
| | |||||
* | ENH: add documentation support for modules | Bill Hoffman | 2005-12-14 | 1 | -9/+8 |
| | |||||
* | DOC: better documentation | Ken Martin | 2005-11-02 | 1 | -0/+2 |
| | |||||
* | DOC: better documentaiton | Ken Martin | 2005-11-02 | 1 | -0/+4 |
| | |||||
* | ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree | Ken Martin | 2005-07-29 | 1 | -2/+2 |
| | |||||
* | ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. ↵ | Andy Cedilnik | 2003-08-08 | 1 | -0/+4 |
| | | | | Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log | ||||
* | ENH: Extra new line after output | Andy Cedilnik | 2003-07-17 | 1 | -1/+1 |
| | |||||
* | ENH: Replace WRITE_FILE with FILE(WRITE and FILE(APPEND. Replace ↵ | Andy Cedilnik | 2003-07-11 | 1 | -11/+11 |
| | | | | MAKE_DIRECTORY with FILE(MAKE_DIRECTORY, replace STRING(ASCII things | ||||
* | Fix problems with required flags | Andy Cedilnik | 2003-01-04 | 1 | -2/+2 |
| | |||||
* | Add required flags | Andy Cedilnik | 2003-01-04 | 1 | -1/+2 |
| | |||||
* | To prevent cmake from breaking up arguments, put quotes around them | Andy Cedilnik | 2003-01-01 | 1 | -1/+1 |
| | |||||
* | Add a way to add custom libraries to the mix | Andy Cedilnik | 2003-01-01 | 1 | -1/+6 |
| | |||||
* | ENH: use CMAKE_ROOT and not PROJECT_ for try compile stuff, this allows ↵ | Bill Hoffman | 2002-12-17 | 1 | -2/+2 |
| | | | | projects within projects to have different languages | ||||
* | ENH: Don't repeat check even if answer was no. | Brad King | 2002-12-13 | 1 | -2/+2 |
| | |||||
* | Add more messages, make messages look the same, add checks if test was ↵ | Andy Cedilnik | 2002-11-18 | 1 | -21/+23 |
| | | | | already successfull | ||||
* | ENH: add status messages | Bill Hoffman | 2002-11-13 | 1 | -0/+3 |
| | |||||
* | add find threads check | Bill Hoffman | 2002-11-12 | 1 | -1/+0 |
| | |||||
* | add find threads check | Bill Hoffman | 2002-11-12 | 1 | -1/+1 |
| | |||||
* | Add append to write_file | Andy Cedilnik | 2002-10-29 | 1 | -2/+3 |
| | |||||
* | Set variable to either 1 or empty string instead of TRUE and FALSE | Andy Cedilnik | 2002-09-25 | 1 | -2/+5 |
| | |||||
* | Cleanup | Andy Cedilnik | 2002-09-25 | 1 | -1/+1 |
| | |||||
* | Fix modules for recent changes | Andy Cedilnik | 2002-09-25 | 1 | -12/+11 |
| | |||||
* | Initial attempt to check if library exists | Andy Cedilnik | 2002-09-24 | 1 | -0/+27 |