summaryrefslogtreecommitdiffstats
path: root/Source/cmCoreTryCompile.cxx
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* No /fast targets in try_compile project modeBrad King2009-08-041-0/+1
| | | | | | | | The try_compile command builds the cmTryCompileExec executable using the cmTryCompileExec/fast target with Makefile generators in order to save time since dependencies are not needed. However, in project mode the command builds an entire source tree that may have dependencies. Therefore we can use the /fast target approach only in one-source mode.
* BUG: fix for #0009051 CMake does not pass CMAKE_OSX_SYSROOT and ↵Bill Hoffman2009-05-191-0/+14
| | | | CMAKE_OSX_DEPLOYMENT_TARGET when running TRY_COMPILE
* ENH: Emit a little more information in the error message when the output ↵David Cole2009-01-291-1/+8
| | | | file is not found during a core try compile.
* STYLE: Emit filenames in try_compile error message to get more information ↵David Cole2009-01-271-1/+5
| | | | from the Continuous dashboard test that is failing.
* ENH: make sure numAttempts is incrementedBill Hoffman2008-03-261-0/+1
|
* ENH: try to fix dashboard issue with not being able to remove try compile codeBill Hoffman2008-03-261-3/+19
|
* BUG: Change generated try-compile projects to use cmake_minimum_required ↵Brad King2008-03-191-1/+1
| | | | instead of cmake_policy to set the version now that CMP0000 requires it.
* BUG: Generated try-compile CMakeLists.txt file should call cmake_policy with ↵Brad King2008-03-071-1/+2
| | | | the current version of CMake, not just 2.6.
* ENH: make sure policy is set in generated cmakelist filesBill Hoffman2008-03-061-0/+1
|
* ENH: for try compile do not put the rules to rebuild the project with cmake ↵Bill Hoffman2007-12-061-0/+1
| | | | inside it. This has caused infinite loops of builds in some cases, and it is just a waste of time anyway.
* ENH: determine typesize by compiling a file and reading strings from the ↵Alexander Neundorf2007-06-041-5/+22
| | | | | | | | | compiled output. Tested with various gcc, XCode, MSVC7, sdcc For OSX when doing TRY_COMPILE() CMAKE_OSX_ARCHITECTURES is used, if there are different results an error is generated. CMAKE_OSX_ARCHITECTURES can be overwritten for the TRY_COMPILES with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES. Alex
* ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable canAlexander Neundorf2007-05-241-0/+32
| | | | | | be used e.g. for getting strings out of it. Alex
* ENH: add two simple tests for TRY_RUN()Alexander Neundorf2007-05-241-0/+376
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