Stephen Kelly
236133e79e
Handle targets in the LINK_LIBRARIES of try_compile.
...
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'.
2013-02-22 08:35:39 -05:00
Yury G. Kudryashov
737c49a357
Add 'const' qualifier to some cmCommand members
...
Use const_cast for the special case in cmFindBase where
GetFullDocumentation calls GenerateDocumentation.
2012-02-29 13:27:04 -05:00
Alex Neundorf
d6b9df409c
Minor fix to try_compile() docs ( #12333 )
...
Alex
2011-07-12 22:37:38 +02:00
David Cole
7f6f6060c3
CMake: Clarify the --debug-trycompile help text
2011-04-12 16:21:54 -04:00
Brad King
3a1975c529
Merge topic 'try_compile-Makefile-config'
...
052c2ae
Document CMAKE_TRY_COMPILE_CONFIGURATION variable
56efc60
Honor CMAKE_TRY_COMPILE_CONFIGURATION in Makefile generators (#10809 )
2011-01-19 14:28:32 -05:00
Brad King
052c2ae1aa
Document CMAKE_TRY_COMPILE_CONFIGURATION variable
...
Also reference it from try_compile and try_run since it affects those
commands.
2011-01-17 17:23:15 -05:00
Brad King
4da2a5687b
Document try_compile behavior more clearly ( #11688 )
...
Explicitly state up front that the source-file form of the command links
an executable and expects a 'main' to be defined. While at it, update
the command signature documentation to use a syntax more consistent with
other commands. Also tweak some wording.
2011-01-12 08:13:15 -05:00
Brad King
96afb12087
Convert CMake to OSI-approved BSD License
...
This converts the CMake license to a pure 3-clause OSI-approved BSD
License. We drop the previous license clause requiring modified
versions to be plainly marked. We also update the CMake copyright to
cover the full development time range.
2009-09-28 11:43:28 -04:00
Ken Martin
0e69d38004
ENH: add return and break support to cmake, also change basic command invocation signature to be able to return extra informaiton via the cmExecutionStatus class
2008-01-23 10:28:26 -05:00
Amitha Perera
4d9259c15b
STYLE: Spelling fixes on documentation
2008-01-09 22:09:19 -05:00
Ken Martin
8d32d229a3
ENH: make commands lower case by default
2007-10-10 11:47:43 -04:00
Alexander Neundorf
55303d6dd2
STYLE: fix line lengths
...
Alex
2007-07-20 08:36:16 -04:00
Alexander Neundorf
7147c3e1cc
ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable can
...
be used e.g. for getting strings out of it.
Alex
2007-05-24 12:06:59 -04:00
Alexander Neundorf
7d7aba292c
ENH: add two simple tests for TRY_RUN()
...
STYLE: create a new base class cmCoreTryCompile, from which
cmTryCompileCommand and cmTryRunCommand are derived, so there are no public
static functions with lots of arguments anymore
Alex
2007-05-24 11:27:51 -04:00
Alexander Neundorf
00e6d62fd1
ENH: move output file search to cmTryCompileCommand.cxx, so it can be used
...
there too... many public static functions with lots of arguments... :-/
Alex
2007-05-24 08:56:14 -04:00
Bill Hoffman
fda955e752
STYLE: fix documentation for command
2007-05-18 09:30:21 -04:00
Ken Martin
cac30b5ff8
STYLE: fix line length
2006-05-12 14:12:13 -04:00
Bill Hoffman
6b47b28867
ENH: fix line length style stuff
2006-03-10 11:13:15 -05:00
Ken Martin
4bdca3b404
ENH: put CmakeTmp into CMakeFiles
2006-01-12 13:49:32 -05:00
Ken Martin
4d2ce04caa
STYLE: fix docs
2005-11-17 11:39:02 -05:00
Bill Hoffman
0e986b12fc
ENH: add more docs
2005-07-19 15:27:12 -04:00
Ken Martin
baaf5eae7d
fix to the signature and argument parsing
2003-12-11 08:57:40 -05:00
Brad King
f2e6d5790b
BUG#163: Added documentation of OUTPUT_VARIABLE argument.
2003-10-30 13:46:25 -05:00
Ken Martin
072db6ad70
removed redundent includes
2003-08-10 18:30:54 -04:00
Brad King
a02574158d
ENH: Cleaned up documentation and formatted it for use by cmDocumentation.
2003-02-14 18:47:16 -05:00
Bill Hoffman
e03219860d
Make try compile add a depend to re-run cmake if its source chagnes
2002-12-12 17:48:49 -05:00
Bill Hoffman
c544cb4307
clean up entire temp directory
2002-11-21 14:59:41 -05:00
Brad King
1f6a3c67b1
ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
2002-10-23 18:03:27 -04:00
Andy Cedilnik
e6406f681d
Abstract cleaning of files and add code that deletes files from Debug subdirectory
2002-09-23 11:06:01 -04:00
Ken Martin
d4f5545007
updated to try compile
2002-09-19 09:49:14 -04:00
Ken Martin
610ff11cf3
now Try compile can include CMAKE_FLAGS
2002-09-18 11:37:40 -04:00
Ken Martin
83f61619a3
slight change in signature
2002-09-17 09:16:53 -04:00
Ken Martin
31f714fc2a
another signature for Try_Compile
2002-09-12 11:08:35 -04:00
Ken Martin
5608a9a129
updated signature
2002-09-10 16:52:56 -04:00
Ken Martin
4855fe5c10
an early checking not complete
2002-08-28 14:49:25 -04:00