Alex Neundorf
35c48e1270
Check*.cmake: Expand imported targets in CMAKE_REQUIRED_LIBRARIES
...
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
2012-02-21 15:38:15 -05:00
Alex Neundorf
628f365140
-remove trailing whitespace
...
Alex
2012-02-21 15:33:31 -05:00
Todd Gamblin
2cde67a781
Modules: Fix spelling 'To distributed' -> 'To distribute'
2010-08-09 08:48:31 -04:00
Brad King
3a666595c9
Convert CMake non-find modules to BSD License
...
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.
2009-09-28 11:46:51 -04:00
Ken Martin
8e9a6beccc
ENH: centralized locaiton of CMakeFiles setting
2006-06-14 12:28:32 -04:00
Andy Cedilnik
8b4af97281
BUG: Fix CMAKE_REQUIRED_LIBRARIES stuff in this module
2006-02-10 09:46:40 -05:00
Brad King
f0a1da00c1
ENH: Made Check* modules more consistent and well documented. Added CMAKE_REQUIRED_DEFINITIONS option.
2006-02-09 19:23:18 -05:00
Ken Martin
d2689c95a1
ENH: some style fixes for the book
2005-12-15 10:41:19 -05:00
Bill Hoffman
b7fa820118
ENH: add documentation support for modules
2005-12-14 13:51:08 -05:00
Ken Martin
0d96e2824b
DOC: better documentation
2005-11-02 13:59:37 -05:00
Ken Martin
0a5b9db60b
DOC: better documentaiton
2005-11-02 13:51:59 -05:00
Ken Martin
c6b011e35e
ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree
2005-07-29 09:19:25 -04:00
Andy Cedilnik
8149dbed29
ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log
2003-08-08 11:59:07 -04:00
Andy Cedilnik
d6ebc123f7
ENH: Extra new line after output
2003-07-17 14:55:45 -04:00
Andy Cedilnik
a17587c244
ENH: Replace WRITE_FILE with FILE(WRITE and FILE(APPEND. Replace MAKE_DIRECTORY with FILE(MAKE_DIRECTORY, replace STRING(ASCII things
2003-07-11 14:14:03 -04:00
Andy Cedilnik
668b3f3cea
Fix problems with required flags
2003-01-03 20:03:35 -05:00
Andy Cedilnik
e720b84d6b
Add required flags
2003-01-03 19:23:19 -05:00
Andy Cedilnik
c8e546a353
To prevent cmake from breaking up arguments, put quotes around them
2003-01-01 16:25:26 -05:00
Andy Cedilnik
6d5c437045
Add a way to add custom libraries to the mix
2003-01-01 15:02:20 -05:00
Bill Hoffman
bd74882d3e
ENH: use CMAKE_ROOT and not PROJECT_ for try compile stuff, this allows projects within projects to have different languages
2002-12-17 14:54:25 -05:00
Brad King
7e824e83a9
ENH: Don't repeat check even if answer was no.
2002-12-13 14:58:55 -05:00
Andy Cedilnik
5b17658c91
Add more messages, make messages look the same, add checks if test was already successfull
2002-11-18 10:52:09 -05:00
Bill Hoffman
fe8428a3ee
ENH: add status messages
2002-11-13 16:31:12 -05:00
Bill Hoffman
5031b41ea5
add find threads check
2002-11-12 14:20:54 -05:00
Bill Hoffman
0b04a61366
add find threads check
2002-11-12 14:19:13 -05:00
Andy Cedilnik
ccafaa6bce
Add append to write_file
2002-10-29 13:34:12 -05:00
Andy Cedilnik
1bd6766643
Set variable to either 1 or empty string instead of TRUE and FALSE
2002-09-25 17:25:02 -04:00
Andy Cedilnik
8d604d3421
Cleanup
2002-09-25 10:38:56 -04:00
Andy Cedilnik
5902279ebc
Fix modules for recent changes
2002-09-25 10:08:08 -04:00
Andy Cedilnik
3697ad6dc7
Initial attempt to check if library exists
2002-09-24 16:36:56 -04:00