summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Simplify make build rule generation by removing use of OBJECTS_QUOTED ↵Brad King2008-02-241-1/+1
| | | | and TARGET_QUOTED rule variables and updating the generation of OBJECTS to always use the newer cmLocalGenerator::Convert method.
* ENH: Better linker search path computation.Brad King2008-02-215-1/+19
| | | | | | | | | | | | | - Use linker search path -L.. -lfoo for lib w/out soname when platform sets CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME - Rename cmOrderRuntimeDirectories to cmOrderDirectories and generalize it for both soname constraints and link library constraints - Use cmOrderDirectories to order -L directories based on all needed constraints - Avoid processing implicit link directories - For CMAKE_OLD_LINK_PATHS add constraints from libs producing them to produce old ordering
* BUG: Fix passing of nodefaultrpath flag to linker through c++ compiler.Brad King2008-02-181-1/+1
|
* ENH: Cleanup building of OS X bundle contentBrad King2008-02-151-2/+0
| | | | | | | | | | - Fixes repeated rebuild of bundles by Makefile generators - Add special rules to copy sources to their MACOSX_PACKAGE_LOCATION bundle directory - Remove MacOSX_Content language hack - Remove EXTRA_CONTENT property - Remove MACOSX_CONTENT - Remove corresponding special cases in object names
* ENH: Fix eCos.cmake to not require a forced compilerBrad King2008-02-111-11/+13
| | | | | - Search for libtarget.a explicitly - Do not complain about compiler id during try-compile
* ENH: Remove CMAKE_ANSI_CFLAGS variable and instead always add ansi flags to ↵Brad King2008-02-111-2/+3
| | | | CMAKE_C_COMPILE_OBJECT. We should not require every project to reference CMAKE_ANSI_CFLAGS.
* BUG: Added TARGET_ARCHIVES_MAY_BE_SHARED_LIBS global property to help ↵Brad King2008-02-041-0/+3
| | | | compute proper rpath information on AIX when shared libraries have names like "libfoo.a".
* ENH: Enable dependent library search paths on more platformsBrad King2008-02-022-0/+2
| | | | | - NetBSD needs dependent library paths in -rpath-link option. - kFreeBSD needs dependent library paths in -rpath-link option.
* 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