Commit Graph

9 Commits

Author SHA1 Message Date
Bill Hoffman 69a961a6ba ENH: make sure numAttempts is incremented 2008-03-26 13:50:23 -04:00
Bill Hoffman 3827991e87 ENH: try to fix dashboard issue with not being able to remove try compile code 2008-03-26 13:14:16 -04:00
Brad King 16b32f9c9b BUG: Change generated try-compile projects to use cmake_minimum_required instead of cmake_policy to set the version now that CMP0000 requires it. 2008-03-19 15:44:56 -04:00
Brad King 1d23ea1a2d BUG: Generated try-compile CMakeLists.txt file should call cmake_policy with the current version of CMake, not just 2.6. 2008-03-07 08:53:22 -05:00
Bill Hoffman ff445e3fd0 ENH: make sure policy is set in generated cmakelist files 2008-03-06 15:20:39 -05:00
Bill Hoffman 3944e268f4 ENH: for try compile do not put the rules to rebuild the project with cmake inside it. This has caused infinite loops of builds in some cases, and it is just a waste of time anyway. 2007-12-06 09:56:02 -05:00
Alexander Neundorf 74750610cf ENH: determine typesize by compiling a file and reading strings from the 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
2007-06-04 17:08:46 -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