Brad King
4d72006bd6
Reduce duplication in Platform/<os>.cmake files
...
Several platform-wide linker flag variables are defined in
Modules/Platform/<os>.cmake files for C and then copied by the
Modules/CMake<lang>Information.cmake file for each language.
We now use this approach for the variables
CMAKE_EXE_EXPORTS_${lang}_FLAG
CMAKE_SHARED_LIBRARY_SONAME_${lang}_FLAG
CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS
to avoid duplication for multiple languages in each platform file.
2009-12-02 15:17:53 -05:00
Brad King
f49ec94e9f
ENH: Enable dependent library search paths on more platforms
...
- HP-UX needs dependent library paths as -L options.
- IRIX needs dependent library paths as -L options.
- Sun needs dependent library paths as -L options.
- FreeBSD needs dependent library paths in -rpath-link option.
2008-02-01 09:57:41 -05:00
Brad King
3a05425309
BUG: Move decision to switch library paths found in implicit link directories to use -l options from cmFindLibraryCommand to cmComputeLinkInformation. Existing projects may depend on find_library returning a full path. This slightly weakens cmComputeLinkInformation but is necessary for compatibility.
2008-01-31 07:50:40 -05:00
Brad King
8fbf4a0de6
ENH: Enabling preprocessed source and asembly source generation rules on SGI MIPSpro compilers.
2006-08-09 13:14:48 -04:00
Bill Hoffman
d33021924d
ENH: add more search paths and add UnixPaths to all unix platforms
2006-03-27 10:46:42 -05:00
Bill Hoffman
692ba48c4e
ENH: major changes to support addition of languages from cmake modules directory.
2004-09-22 14:42:05 -04:00
Bill Hoffman
66a08c10e5
ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code
2004-08-26 14:55:55 -04:00
Brad King
830e1ac1d9
BUG#895: Adding -DNDEBUG to C and C++ flags for release builds.
2004-06-01 14:08:04 -04:00
Bill Hoffman
c3530dd01f
BUG: fix for bug 383 gcc flags are now always set if the compiler is gnu
2003-11-14 10:44:12 -05:00
Bill Hoffman
d1051bb575
clean up flags with _init flags
2002-11-11 12:31:46 -05:00
Bill Hoffman
538f38596f
BUG: fix setting of c flags
2002-11-10 10:02:52 -05:00
Bill Hoffman
ac481e0ee9
fix for cxxflags
2002-11-09 13:43:16 -05:00
Brad King
3a6d52f4c5
ENH: Moved caching of C*_FLAGS* settings down to CMakeSystemSpecificInformation.cmake. The platform files can set the defaults on the first run, and then the settings are cached at the end.
2002-11-08 18:06:53 -05:00
Bill Hoffman
f5d95fb078
Complete rework of makefile generators expect trouble
2002-11-08 15:46:08 -05:00