Brad King
96fd5909d9
ENH: Implement linking with paths to library files instead of -L and -l separation. See bug #3832
...
- This is purely an implementation improvement. No interface has changed.
- Create cmComputeLinkInformation class
- Move and re-implement logic from:
cmLocalGenerator::ComputeLinkInformation
cmOrderLinkDirectories
- Link libraries to targets with their full path (if it is known)
- Dirs specified with link_directories command still added with -L
- Make link type specific to library names without paths
(name libfoo.a without path becomes -Wl,-Bstatic -lfoo)
- Make directory ordering specific to a runtime path computation feature
(look for conflicting SONAMEs instead of library names)
- Implement proper rpath support on HP-UX and AIX.
2008-01-22 09:13:04 -05:00
Bill Hoffman
c0bb73787d
ENH: make sure msvc90 gets set
2008-01-18 16:06:10 -05:00
Bill Hoffman
e5a4da5b3c
ENH: make sure MSVC90 is set
2008-01-18 15:19:19 -05:00
Brad King
8d1d5500c8
ENH: Enable use of COMPILE_DEFINITIONS property for Fortran sources.
2008-01-17 19:58:01 -05:00
Brad King
b8357db11d
ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more powerful signature.
2008-01-17 15:54:49 -05:00
Brad King
18b9e7db6c
ENH: Enable CMAKE_<lang>_DEFINE_FLAG for COMPILE_DEFINITIONS property implementation.
2008-01-17 10:00:19 -05:00
Brad King
2a78288064
ENH: Convert Modules/Platform specification of system search paths to use CMAKE_SYSTEM_PREFIX_PATH when possible.
2008-01-16 09:51:57 -05:00
Bill Hoffman
c598da4328
BUG: fix for bug 6231, bad regex for sunos, worked by chance, but better to have it right
2008-01-15 14:19:32 -05:00
Brad King
8262ccfd4e
ENH: Create COMPILE_DEFINITIONS property for targets and source files. Create <config>_COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators.
2008-01-14 09:20:58 -05:00
Bill Hoffman
3f45a27a6b
ENH: add support for xlf with -WF,-D for -D
2008-01-11 17:38:41 -05:00
Bill Hoffman
c3b7f618d1
ENH: add support for xlf with -WF,-D for -D
2008-01-11 17:37:38 -05:00
Brad King
d6a21fc25c
BUG: Removed stray debugging message.
2008-01-10 14:47:19 -05:00
Bill Hoffman
a40147abce
ENH: add support for visual age fortran on linux
2008-01-10 10:50:46 -05:00
Brad King
b761da39c1
ENH: Patch from Maik to add preprocessor directive handling to Fortran dependency scanning. Also added -fpp flag to Intel Fortran compiler on Windows by default.
2008-01-09 10:30:11 -05:00
Bill Hoffman
b479c6a8a9
ENH: add ability to have manifest files and incremental linking with make and nmake
2008-01-01 15:13:41 -05:00
Brad King
19037da40f
ENH: Add SunPro fortran module flags on SunOS.
2007-12-30 16:34:49 -05:00
Brad King
b2e8c07af8
ENH: Implemented Fortran module output directory and search path flags.
2007-12-30 16:11:38 -05:00
Alexander Neundorf
e3c84cf5a6
ENH: add support for the Syllable OS ( http://www.syllable.org )
...
major issues:
-access() doesn't return false for an empty string (#ifdefed in cmake)
-dlopen() doesn't return 0 on failure (#ifdefed in cmake and fixed now in Syllable)
-the kwsys and Bootstrap tests fail with timeout due to the fact that I'm doing all that in qemu, which is quite slow
-RPATH is now supported, so without modifying the test adapting DLL_PATH in Syllable is required for the tests to succeed
-the Plugin test fails with an undefined reference to example_exe_function() in example_mod_1, it seems this isn't supported under Syllable
Alex
2007-11-23 20:45:49 -05:00
Bill Hoffman
90e6f983de
ENH: add support for env var and better default for CMAKE_OSX_SYSROOT
2007-11-15 13:14:41 -05:00
Bill Hoffman
2f23d79969
ENH: fix bug in default arch, it was using the environment variable which is not a default
2007-11-08 14:31:56 -05:00
David Cole
e3572607f4
BUG: Do not us the search_paths_first flag on older Mac OSX (10.2 and earlier) systems.
2007-11-08 09:09:14 -05:00
Bill Hoffman
5765fbbb88
ENH: fix spelling error
2007-10-22 14:01:49 -04:00
Bill Hoffman
397d7ff29d
ENH: try to fix boostrap on 10.5
2007-10-22 10:17:31 -04:00
Bill Hoffman
613c35e033
ENH: do not always add -arch flags
2007-10-19 22:24:00 -04:00
Alin Elena
680cff0b9f
ENH: FindBLAS.cmake and FindLAPACK.cmake modules added. They locate various implementations of blas and lapack libraries. CheckFortranFunctionExists.cmake provides a test function to check if the library is usabale. I have also changed the -KPIC flag to -fPIC in Linux-ifort.cmake.
2007-10-10 17:47:37 -04:00
Bill Hoffman
f4ab553178
ENH: add support for preprocessed files in borland
2007-10-05 13:15:34 -04:00
Alexander Neundorf
4ee1ee1bd0
ENH: add support for the Portland Compiler to CMake, can build cmake and the tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt)
...
Alex
2007-09-17 15:55:17 -04:00
Bill Hoffman
9cbb998737
ENH: add support for vs 2008 beta 2
2007-09-17 15:21:47 -04:00
Alexander Neundorf
68c2dd8009
COMP: also use -Wl,-relax and -lc -lnss etc. when using the IBM compiler
...
Alex
2007-08-17 10:41:27 -04:00
Bill Hoffman
038f3e240c
ENH: use the correct flag for the linker
2007-08-17 09:00:13 -04:00
Alexander Neundorf
6b0e5745ab
ENH: add -Wl,-relax to the default linker flags for BlueGene, otherwise you can get "relocation truncated to fit" errors
...
Alex
2007-08-16 15:02:14 -04:00
Bill Hoffman
8ee6fc0598
ENH: make sure osx searches static and shared libs like other platforms
2007-08-16 09:22:29 -04:00
Alexander Neundorf
5fdb818c84
COMP: fix arguments
...
Alex
2007-08-16 08:37:17 -04:00
Alexander Neundorf
984b0adc5f
STYLE: explicitely set default options for sdcc, so it is visible for which
...
processor it currently compiles, use --out-fmt-ihx to enforce .ihx files
Alex
2007-08-15 14:22:54 -04:00
Alexander Neundorf
f9cb0f3cb4
BUG: also include UnixPaths.cmake on these platforms, this also sets UNIX to 1
...
Alex
2007-08-10 08:54:42 -04:00
Alexander Neundorf
176fe63d15
ENH: UNIX, CYGWIN, WIN32, APPLE, QNXNTO and BEOS are not longer set in
...
cmMakefile.cxx, but now in the platform files and are now valid for the
target platform, not the host platform.
New variables CMAKE_HOST_WIN32, CMAKE_HOST_UNIX, CMAKE_HOST_APPLE and
CMAKE_HOST_CYGWIN have been added in cmMakefile.cxx (...and have now to be
used in all cmake files which are executed before
CMakeSystemSpecificInformation.cmake is loaded). For compatibility the old
set is set to the new one in CMakeDetermineSystem.cmake and reset before the
system platform files are loaded, so custom language or compiler modules
which use these should still work.
Alex
2007-08-09 14:45:23 -04:00
Alexander Neundorf
dac7814841
ENH: use WindowsPaths.cmake on all Windows platforms, not only for cl, makes
...
the mingw cross compiler work out of the box and should help mingw users on
windows with a common install dir
Alex
2007-08-02 11:17:32 -04:00
Alexander Neundorf
21f73ebc36
ENH: add support for Catamount, the OS running on the compute nodes of Cray super computers
...
Alex
2007-08-01 09:14:32 -04:00
Alexander Neundorf
507896e03b
ENH:
...
-add /usr/openwin/include and /usr/openwin/lib to the default search paths
-add /${CMAKE_INSTALL_PREFIX}/(lib|bin|include) to the default cmake search
paths -> this should help users who install stuff in their home
Alex
2007-07-27 11:57:17 -04:00
Alexander Neundorf
919265516e
ENH: add ReadListFile() to cmCPackGenericGenerator, so cmMakefile can be
...
private again
-convert the ZIP generator to use a cmake script instead of hardcoding
everything (CPackZIP.cmake)
Alex
2007-07-24 12:52:39 -04:00
Alexander Neundorf
57f25c53e3
ENH: also look in the include/, lib/ and bin/ directories in the cmake
...
install dir under windows, this will help e.g. people using kdewininstaller
and similar setups
Alex
2007-07-17 08:51:45 -04:00
Alexander Neundorf
ce33d80fa5
BUG: the Plugin test fails on NetBSD, let's see if this fixes it
...
Alex
2007-07-16 10:13:00 -04:00
Alexander Neundorf
5bd38eb630
ENH: also add the install base dir of the running cmake to the search
...
directories for the FIND_XXX() commands, for the case that somebody has its
own install tree
Alex
2007-07-16 09:08:45 -04:00
Alexander Neundorf
2339b9f753
ENH: add DragonFly BSD, which is very close to FreeBSD ( #4500 )
...
Alex
2007-07-13 11:20:42 -04:00
Alexander Neundorf
2509e24afe
ENH: add the static libs always to the link libs, if they are not used it shouldn't hurt
...
Alex
2007-07-12 16:15:29 -04:00
Alexander Neundorf
d090159318
ENH: add support for the ADSP toolchains for Blackfin, Shark and TigerShark
...
DSPs, patch from Raphael Cotty
Alex
2007-07-12 13:41:00 -04:00
Alexander Neundorf
1f7e8e6f0b
ENH: add the ecos include dir and the ecos definitions by default
...
Alex
2007-07-10 17:11:57 -04:00
Alexander Neundorf
3974ddc69e
ENH: add support for building eCos applications natively
...
Alex
2007-07-09 13:07:23 -04:00
Alexander Neundorf
5b18b80b58
ENH: initial support for assembler in cmake, needs testing by our users
...
Alex
2007-06-28 09:14:27 -04:00
Brad King
eab81489f1
ENH: Added global property FIND_LIBRARY_USE_LIB64_PATHS to allow lib64 paths to be searched optionally. Turn off the feature on debian systems. This addresses debian report 419007.
2007-06-27 12:07:34 -04:00