Brad King
a443308c37
Load compiler information after configuring it
...
After configuring CMakeFiles/CMake<lang>Compiler.cmake in the build tree
the second time (to store ABI information), include it immediately.
This allows any logic and settings in the compiler information files to
be used without duplicating it in CMakeDetermineCompilerABI.cmake.
The change in commit "Use Fortran ABI detection results conservatively"
(2010-05-05) needs this to use the same logic to set CMAKE_SIZEOF_VOID_P
during first and later runs of CMake.
2010-05-06 11:26:49 -04:00
David Cole
f48660fa85
Make a common function that prints the status during the checks for working compilers. Call it from all of the CMakeTesten_US.UTF-8Compiler.cmake files. In the message, print the full path to the tested compiler only for the Makefile generators. For Xcode and Visual Studio generators, print the generator instead so that users are not misled with the full path to a compiler that the generator may not even use. Xcode and Visual Studio have their own mechanisms for choosing the compiler to use during try_compile and build...
2010-02-12 14:32:20 -05: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
Bill Hoffman
ad113d4df2
BUG: fix cmake so that if you configure with a bad env for cl, then with a good path, it will configure correctly
2009-04-18 14:37:04 -04:00
Brad King
8375bb4768
ENH: Remove unnecessary compiler force macros. The compiler ID can now be detected without linking an executable.
2008-02-14 10:50:43 -05:00
Brad King
c12a7e388d
BUG: When configuring compiler information files into the CMakeFiles directory in the project build tree, use IMMEDIATE option for CONFIGURE_FILE explicitly. It is needed in case the user sets CMAKE_BACKWARDS_COMPATIBILITY to 2.0 or lower.
2008-02-04 10:04:23 -05:00
Brad King
bbbb2be765
BUG: When forcing the C and CXX compilers do not try to detect the ABI information. Cleanup configured language compiler info files by always using @ONLY. This addresses bug#6297.
2008-02-03 17:24:50 -05:00
Brad King
a28b197b11
ENH: Generalize the check for sizeof void* to detect more ABI information.
2008-01-21 18:30:17 -05:00
Ken Martin
8e9a6beccc
ENH: centralized locaiton of CMakeFiles setting
2006-06-14 12:28:32 -04:00
Ken Martin
4bdca3b404
ENH: put CmakeTmp into CMakeFiles
2006-01-12 13:49:32 -05:00
Bill Hoffman
b7fa820118
ENH: add documentation support for modules
2005-12-14 13:51:08 -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
Bill Hoffman
36dd18efce
ENH: stuff to keep compiler tests from re-running all the time
2005-01-20 12:30:03 -05:00
Bill Hoffman
e78a57563c
ENH: make sure the c++ compiler is a c++ compiler
2004-10-11 11:55:39 -04:00
Brad King
81be61b153
BUG#411: Re-ordering statements so errors show up in CMakeError.log.
2003-12-01 13:06:35 -05:00
Brad King
ae28d81894
ERR: Fixed typo in comment.
2003-08-27 16:02:37 -04:00
Bill Hoffman
a413160fec
ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32
2003-08-21 16:22:23 -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
Brad King
c17220091c
ERR: Fixed typeo tests->test.
2003-08-04 17:08:41 -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
Bill Hoffman
950399ec9d
ENH: only run test for working c and cxx compiler once
2003-01-22 12:29:37 -05:00
Bill Hoffman
2f4ea98a4c
add a fatal error, and make sure c and c++ compilers work before using them
2003-01-21 12:50:48 -05:00