summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Enable dependent library search paths on more platformsBrad King2008-02-015-0/+15
| | | | | | | - 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.
* ENH: Pass dependent library search path to linker on some platforms.Brad King2008-02-013-1/+3
| | | | | | | | | | | | | | | | - Move runtime path ordering out of cmComputeLinkInformation into its own class cmOrderRuntimeDirectories. - Create an instance of cmOrderRuntimeDirectories for runtime path ordering and another instance for dependent library path ordering. - Replace CMAKE_DEPENDENT_SHARED_LIBRARY_MODE with explicit CMAKE_LINK_DEPENDENT_LIBRARY_FILES boolean. - Create CMAKE_LINK_DEPENDENT_LIBRARY_DIRS boolean. - Create variables to specify -rpath-link flags: CMAKE_SHARED_LIBRARY_RPATH_LINK_<LANG>_FLAG CMAKE_EXECUTABLE_RPATH_LINK_<LANG>_FLAG - Enable -rpath-link flag on Linux and QNX. - Documentation and error message updates
* ENH: Support linking to shared libs with dependent libsBrad King2008-01-311-0/+6
| | | | | | | | | - Split IMPORTED_LINK_LIBRARIES into two parts: IMPORTED_LINK_INTERFACE_LIBRARIES IMPORTED_LINK_DEPENDENT_LIBRARIES - Add CMAKE_DEPENDENT_SHARED_LIBRARY_MODE to select behavior - Set mode to LINK for Darwin (fixes universal binary problem) - Update ExportImport test to account for changes
* BUG: Move decision to switch library paths found in implicit link ↵Brad King2008-01-312-0/+19
| | | | 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.
* ENH: Added build rule variables CMAKE_<LANG>_ARCHIVE_CREATE, ↵Brad King2008-01-301-0/+11
| | | | CMAKE_<LANG>_ARCHIVE_APPEND, and CMAKE_<LANG>_ARCHIVE_FINISH to support creation of static archive libraries out of a large number of objects. See bug #6284.
* BUG: Fix dynamic exports executable link option for Sun C compiler on Linux.Brad King2008-01-291-1/+1
|
* BUG: Fix generation of Watcom link lines.Brad King2008-01-231-0/+1
| | | | | - Work-around bug in Watcom command line parsing for spaces in paths. - Add 'library' option before libraries specified by file path.
* ENH: Implement linking with paths to library files instead of -L and -l ↵Brad King2008-01-222-21/+40
| | | | | | | | | | | | | | | | | 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.
* ENH: make sure msvc90 gets setBill Hoffman2008-01-181-0/+1
|
* ENH: make sure MSVC90 is setBill Hoffman2008-01-181-0/+4
|
* ENH: Enable use of COMPILE_DEFINITIONS property for Fortran sources.Brad King2008-01-181-1/+1
|
* ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more ↵Brad King2008-01-176-7/+6
| | | | powerful signature.
* ENH: Enable CMAKE_<lang>_DEFINE_FLAG for COMPILE_DEFINITIONS property ↵Brad King2008-01-171-1/+1
| | | | implementation.
* ENH: Convert Modules/Platform specification of system search paths to use ↵Brad King2008-01-164-33/+44
| | | | CMAKE_SYSTEM_PREFIX_PATH when possible.
* BUG: fix for bug 6231, bad regex for sunos, worked by chance, but better to ↵Bill Hoffman2008-01-151-2/+2
| | | | have it right
* ENH: Create COMPILE_DEFINITIONS property for targets and source files. ↵Brad King2008-01-147-19/+23
| | | | Create <config>_COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators.
* ENH: add support for xlf with -WF,-D for -DBill Hoffman2008-01-112-2/+2
|
* ENH: add support for xlf with -WF,-D for -DBill Hoffman2008-01-113-0/+3
|
* BUG: Removed stray debugging message.Brad King2008-01-101-1/+0
|
* ENH: add support for visual age fortran on linuxBill Hoffman2008-01-102-0/+5
|
* ENH: Patch from Maik to add preprocessor directive handling to Fortran ↵Brad King2008-01-091-1/+3
| | | | dependency scanning. Also added -fpp flag to Intel Fortran compiler on Windows by default.
* ENH: add ability to have manifest files and incremental linking with make ↵Bill Hoffman2008-01-011-14/+4
| | | | and nmake
* ENH: Add SunPro fortran module flags on SunOS.Brad King2007-12-301-0/+2
|
* ENH: Implemented Fortran module output directory and search path flags.Brad King2007-12-303-0/+4
|
* ENH: add support for the Syllable OS (http://www.syllable.org)Alexander Neundorf2007-11-241-0/+36
| | | | | | | | | | | 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
* ENH: add support for env var and better default for CMAKE_OSX_SYSROOTBill Hoffman2007-11-151-7/+13
|
* ENH: fix bug in default arch, it was using the environment variable which is ↵Bill Hoffman2007-11-081-1/+3
| | | | not a default
* BUG: Do not us the search_paths_first flag on older Mac OSX (10.2 and ↵David Cole2007-11-081-2/+29
| | | | earlier) systems.
* ENH: fix spelling errorBill Hoffman2007-10-221-2/+1
|
* ENH: try to fix boostrap on 10.5Bill Hoffman2007-10-221-1/+2
|
* ENH: do not always add -arch flagsBill Hoffman2007-10-201-0/+1
|
* ENH: FindBLAS.cmake and FindLAPACK.cmake modules added. They locate various ↵Alin Elena2007-10-101-1/+1
| | | | 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.
* ENH: add support for preprocessed files in borlandBill Hoffman2007-10-051-0/+4
|
* ENH: add support for the Portland Compiler to CMake, can build cmake and the ↵Alexander Neundorf2007-09-172-0/+9
| | | | | | tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt) Alex
* ENH: add support for vs 2008 beta 2Bill Hoffman2007-09-171-5/+17
|
* COMP: also use -Wl,-relax and -lc -lnss etc. when using the IBM compilerAlexander Neundorf2007-08-171-1/+9
| | | | Alex
* ENH: use the correct flag for the linkerBill Hoffman2007-08-171-2/+2
|
* ENH: add -Wl,-relax to the default linker flags for BlueGene, otherwise you ↵Alexander Neundorf2007-08-161-7/+2
| | | | | | can get "relocation truncated to fit" errors Alex
* ENH: make sure osx searches static and shared libs like other platformsBill Hoffman2007-08-161-2/+2
|
* COMP: fix argumentsAlexander Neundorf2007-08-161-1/+1
| | | | Alex
* STYLE: explicitely set default options for sdcc, so it is visible for whichAlexander Neundorf2007-08-151-1/+10
| | | | | | processor it currently compiles, use --out-fmt-ihx to enforce .ihx files Alex
* BUG: also include UnixPaths.cmake on these platforms, this also sets UNIX to 1Alexander Neundorf2007-08-106-1/+11
| | | | Alex
* ENH: UNIX, CYGWIN, WIN32, APPLE, QNXNTO and BEOS are not longer set inAlexander Neundorf2007-08-096-0/+13
| | | | | | | | | | | | | | 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
* ENH: use WindowsPaths.cmake on all Windows platforms, not only for cl, makesAlexander Neundorf2007-08-023-6/+11
| | | | | | | the mingw cross compiler work out of the box and should help mingw users on windows with a common install dir Alex
* ENH: add support for Catamount, the OS running on the compute nodes of Cray ↵Alexander Neundorf2007-08-011-0/+26
| | | | | | super computers Alex
* ENH:Alexander Neundorf2007-07-272-5/+10
| | | | | | | | -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
* ENH: add ReadListFile() to cmCPackGenericGenerator, so cmMakefile can beAlexander Neundorf2007-07-241-0/+5
| | | | | | | | private again -convert the ZIP generator to use a cmake script instead of hardcoding everything (CPackZIP.cmake) Alex
* ENH: also look in the include/, lib/ and bin/ directories in the cmakeAlexander Neundorf2007-07-171-3/+11
| | | | | | | install dir under windows, this will help e.g. people using kdewininstaller and similar setups Alex
* BUG: the Plugin test fails on NetBSD, let's see if this fixes itAlexander Neundorf2007-07-161-0/+3
| | | | Alex
* ENH: also add the install base dir of the running cmake to the searchAlexander Neundorf2007-07-161-0/+8
| | | | | | | directories for the FIND_XXX() commands, for the case that somebody has its own install tree Alex