summaryrefslogtreecommitdiffstats
path: root/Source/cmTryCompileCommand.h
Commit message (Collapse)AuthorAgeFilesLines
* stringapi: Command namesBen Boeckel2014-03-081-1/+1
|
* Drop builtin command documentationBrad King2013-10-161-75/+0
| | | | | Drop all GetTerseDocumentation and GetFullDocumentation methods from commands. The command documentation is now in Help/command/*.rst files.
* try_compile: Add COPY_FILE_ERROR option to capture failureBrad King2013-07-151-2/+2
| | | | | | | | | | | When the COPY_FILE operation fails optionally capture the error message with a COPY_FILE_ERROR option instead of reporting the error immediately. This gives callers a chance to do something else or report the error. Teach the RunCMake.try_compile test to cover bad argument combinations involving COPY_FILE_ERROR. Teach the TryCompile test to cover the case of a COPY_FILE error message captured by COPY_FILE_ERROR.
* try_compile: Add signature to allow multiple SOURCESBrad King2013-06-061-5/+5
| | | | | | | | | | | | | | | | | Extend the signature try_compile(RESULT_VAR <bindir> <srcfile> ...) to allow multiple sources as try_compile(RESULT_VAR <bindir> SOURCES <srcfile>... ...) Process the sources to generate a CMakeLists.txt that enables all needed languages. Teach the TryCompile test to try cases with two sources of the same language and of mixed languages. Teach RunCMake.try_compile to cover error cases for the signature.
* Handle targets in the LINK_LIBRARIES of try_compile.Stephen Kelly2013-02-221-1/+7
| | | | | | | | | | 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'.
* Add 'const' qualifier to some cmCommand membersYury G. Kudryashov2012-02-291-3/+3
| | | | | Use const_cast for the special case in cmFindBase where GetFullDocumentation calls GenerateDocumentation.
* Minor fix to try_compile() docs (#12333)Alex Neundorf2011-07-121-4/+5
| | | | Alex
* CMake: Clarify the --debug-trycompile help textDavid Cole2011-04-121-5/+11
|
* Merge topic 'try_compile-Makefile-config'Brad King2011-01-191-1/+3
|\ | | | | | | | | | | 052c2ae Document CMAKE_TRY_COMPILE_CONFIGURATION variable 56efc60 Honor CMAKE_TRY_COMPILE_CONFIGURATION in Makefile generators (#10809)
| * Document CMAKE_TRY_COMPILE_CONFIGURATION variableBrad King2011-01-171-1/+3
| | | | | | | | | | Also reference it from try_compile and try_run since it affects those commands.
* | Document try_compile behavior more clearly (#11688)Brad King2011-01-121-18/+23
|/ | | | | | | 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.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | 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.
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* STYLE: Spelling fixes on documentationAmitha Perera2008-01-101-1/+1
|
* ENH: make commands lower case by defaultKen Martin2007-10-101-9/+9
|
* STYLE: fix line lengthsAlexander Neundorf2007-07-201-3/+3
| | | | Alex
* ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable canAlexander Neundorf2007-05-241-6/+8
| | | | | | be used e.g. for getting strings out of it. Alex
* ENH: add two simple tests for TRY_RUN()Alexander Neundorf2007-05-241-29/+3
| | | | | | | | 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
* ENH: move output file search to cmTryCompileCommand.cxx, so it can be usedAlexander Neundorf2007-05-241-3/+14
| | | | | | there too... many public static functions with lots of arguments... :-/ Alex
* STYLE: fix documentation for commandBill Hoffman2007-05-181-11/+22
|
* STYLE: fix line lengthKen Martin2006-05-121-6/+7
|
* ENH: fix line length style stuffBill Hoffman2006-03-101-1/+2
|
* ENH: put CmakeTmp into CMakeFilesKen Martin2006-01-121-1/+1
|
* STYLE: fix docsKen Martin2005-11-171-9/+9
|
* ENH: add more docsBill Hoffman2005-07-191-2/+11
|
* fix to the signature and argument parsingKen Martin2003-12-111-1/+1
|
* BUG#163: Added documentation of OUTPUT_VARIABLE argument.Brad King2003-10-301-3/+6
|
* removed redundent includesKen Martin2003-08-101-1/+0
|
* ENH: Cleaned up documentation and formatted it for use by cmDocumentation.Brad King2003-02-141-7/+9
|
* Make try compile add a depend to re-run cmake if its source chagnesBill Hoffman2002-12-121-1/+1
|
* clean up entire temp directoryBill Hoffman2002-11-211-1/+1
|
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-3/+3
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* Abstract cleaning of files and add code that deletes files from Debug ↵Andy Cedilnik2002-09-231-2/+8
| | | | subdirectory
* updated to try compileKen Martin2002-09-191-3/+15
|
* now Try compile can include CMAKE_FLAGSKen Martin2002-09-181-2/+2
|
* slight change in signatureKen Martin2002-09-171-2/+2
|
* another signature for Try_CompileKen Martin2002-09-121-1/+3
|
* updated signatureKen Martin2002-09-101-6/+4
|
* an early checking not completeKen Martin2002-08-281-0/+78