summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Look in arch-specific HPUX implicit link dirsBrad King2009-06-191-5/+11
| | | | | | | | | | | | | | | On HP-UX machines some system libraries appear in architecture-specific implicit linker search paths. We need to add these paths to our system library search path. However, at the time we construct the search path we do not know the target architecture. A full solution requires re-organizing platform configuration files so that the target architecture can be known when needed. Until that happens we can avoid the problem by searching in both 32-bit and 64-bit implicit link directories. By telling CMake that they are implicit directories the generated link lines will never pass the paths, leaving the linker free to find the library of the proper architecture even if the find_library call finds the wrong one.
* ENH: put the 64 bit paths firstBill Hoffman2009-06-151-1/+2
|
* ENH: add more search paths on HPUXBill Hoffman2009-06-151-0/+5
|
* ENH: use .exe on vmsBill Hoffman2009-06-111-0/+1
|
* ENH: Enable basic OpenVMS platform supportBrad King2009-06-101-0/+7
| | | | | | | | This adds the Modules/Platform/OpenVMS.cmake platform file for OpenVMS. We just use Unix-like rules to work with the GNV compiler front-end. A problem with process execution currently prevents CMake link scripts from working, so we avoid using them.
* BUG: Recognize .so shared libraries on HP-UXBrad King2009-06-031-0/+1
| | | | | | HP-UX uses both .sl and .so as extensions for shared libraries. This teaches CMake to recognize .so shared libraries so they are treated properly during link dependency analysis.
* ENH: Auto-import symbols for cygwin executablesBrad King2009-05-271-0/+1
| | | | | | This enables the --enable-auto-import linker flag on Cygwin when linking executables. It works with the old gcc 3.x compiler and is necessary for the new gcc 4.x compiler. See issue #9071.
* ENH: Re-enable system include dir suppressionBrad King2009-02-251-0/+7
| | | | | | | | | | | | | | | This creates variable CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES to specify implicit include directories on a per-language basis. This replaces the previous platform-wide variable. It is necessary to avoid explicit specification of -I/usr/include on some compilers (such as HP aCC) because: 1.) It may break ordering among system include directories defined internally by the compiler, thus getting wrong system headers. 2.) It tells the compiler to treat the system include directory as a user include directory, enabling warnings in the headers. See issue #8598.
* BUG: Remove implicit include dir suppressionBrad King2009-02-242-2/+0
| | | | | | | We used to suppress generation of -I/usr/include (and on OSX also -I/usr/local/include). This behavior seems to cause more trouble than it's worth, so I'm removing it until someone encounters the original problem it fixed. See issue #8598.
* BUG: Allow third component of Mac OSX sw_vers output to be empty. Mac OSX ↵David Cole2009-02-171-1/+1
| | | | 10.5 was recently reinstalled on dashmacmini3 and pointed out the fact that this expression is faulty when the reported version is simply 10.5 rather than 10.5.x... for example. This fixes it.
* BUG: Remove unnecessary double quotes from SET statements. Hopefully ↵David Cole2009-01-291-8/+8
| | | | resolves the strange and difficult to diagnose (or reproduce) test failures on the dashmacmini2 Continuous dashboard.
* BUG: Fix OS X dylib version flags for more linkersBrad King2009-01-291-2/+2
| | | | | | | Some OS X linkers want a 'dylib_' prefix on the -compatiblity_version and -current_version flags while others do not. This passes the flags through gcc instead since it never wants the prefix and translates the flags for the linker correctly.
* BUG: fix for # 8413 add more haiku searchingBill Hoffman2009-01-291-1/+2
|
* BUG: Fix careless typo that only caused test failures on clean builds...David Cole2009-01-281-1/+1
|
* BUG: Try to fix the universal binary continuous dashboard on dashmacmini2. I ↵David Cole2009-01-271-6/+12
| | | | am deducing that the value of CMAKE_OSX_ARCHITECTURES_DEFAULT is responsible for the failure, although I cannot reproduce it on other builds or even by running the test via ctest interactively *on* the continuous dashboard's build...
* BUG: Only set CMAKE_OSX_DEPLOYMENT_TARGET on Mac OSX 10.4 or later. The gcc ↵David Cole2009-01-271-2/+4
| | | | that runs on 10.3 and earlier does not understand the compiler flag it maps to...
* BUG: Fix issue #6195. Add CMAKE_OSX_DEPLOYMENT_TARGET cache variable to ↵David Cole2009-01-271-33/+102
| | | | specify the target deployment runtime OS version of the built executables on Mac OSX. Thanks to Mike Jackson for the patch.
* BUG: Fix install_name_tool problem on the Mac when a PROJECT(... NONE) is ↵David Cole2008-12-301-1/+1
| | | | followed by multiple calls to ENABLE_LANGUAGE. Use find_program to set the CMAKE_INSTALL_NAME_TOOL variable so it gets saved in the cache as a full path to the install_name_tool executable rather than a simple set which eventually goes out of scope.
* ENH: Use 32-bit and 64-bit Program Files foldersBrad King2008-12-171-8/+49
| | | | | | On 64-bit Windows there may be two Program Files folders, one for 32-bit binaries and one for 64-bit binaries. When we compute CMAKE_SYSTEM_PREFIX_PATH we should put both folders in the path.
* ENH: fix curses on haikuBill Hoffman2008-12-031-0/+6
|
* ENH: fix fortran flags on g77 windowsBill Hoffman2008-11-111-0/+7
|
* ENH: fix fortran flags on sunBill Hoffman2008-11-111-2/+5
|
* ENH: fix problem where rc language recursively included itself because ↵Bill Hoffman2008-10-141-4/+1
| | | | CMAKE_BASE_NAME was used from c compiler, do the same fix for other uses of CMAKE_BASE_NAME
* ENH: better error message for mis-configured nmake environmentBill Hoffman2008-10-141-1/+4
|
* BUG: fix for 5705, link in standard libs for mingwBill Hoffman2008-10-021-0/+2
|
* BUG: fix for bug 4772, enable_language should now work on linux with correct ↵Bill Hoffman2008-10-011-0/+2
| | | | flags
* BUG: fix for 7704Bill Hoffman2008-09-251-0/+6
|
* ENH: Teach find_library to find OpenBSD-style libsBrad King2008-09-221-0/+1
| | | | | | | OpenBSD shared libraries use a ".so.<major>.<minor>" extension and do not have a symlink with just a ".so" extension. Its "ld" is capable of finding the library with the best version. This change adds support for finding such libraries. See issue #3470.
* ENH: add initial support for HAIKU OS from bug# 7425Bill Hoffman2008-09-151-0/+14
|
* BUG: make sure the intel compiler uses the intel linkerBill Hoffman2008-09-021-1/+1
|
* BUG: fix for 6710 CMAKE_OSX_SYSROOT should be a PATHBill Hoffman2008-08-191-1/+1
|
* ENH: add platform file for bounds checkerBill Hoffman2008-08-151-0/+4
|
* ENH: Add preprocessor and assembly rules for IntelBrad King2008-08-062-0/+6
|
* BUG: Fix dylib versioning flags for old OSX.Brad King2008-07-091-2/+2
| | | | | | - ld flags -dylib_compatibility_version and -dylib_current_version are libtool flags -compatibility_version and -current_version - OSX 10.3 does not like the dylib_ prefixes.
* ENH: Set version info for shared libs on OSX.Brad King2008-07-091-0/+5
| | | | | | - Map SOVERSION major.minor.patch to compatibility_version - Map VERSION major.minor.patch to current_version - See issue #4383.
* ENH: undo optional because we need itBill Hoffman2008-06-241-3/+0
|
* ENH: rc is not so optional at least with 2005 and newer, as it is used to ↵Bill Hoffman2008-06-241-1/+1
| | | | embed the manifest files
* ENH: make rc optionalBill Hoffman2008-06-231-1/+4
|
* ENH: Add basic flags for Portland Group fortran compiler.Brad King2008-05-171-0/+8
|
* ENH: Add Linux-PGI-Fortran platform file to support the Portland Group ↵Brad King2008-05-161-0/+1
| | | | Fortran compiler (PGI).
* ENH: Make /opt/SUNWspro/lib, /opt/SUNWspro/prod/lib, and /usr/ccs/lib ↵Brad King2008-04-301-0/+6
| | | | implicit link directories on the Sun when using the SunPro compiler.
* ENH: add more fortran flagsBill Hoffman2008-04-301-1/+1
|
* ENH: allow users to set sysrootBill Hoffman2008-04-281-0/+1
|
* ENH: remove c flags from cxx config fileBill Hoffman2008-04-251-6/+0
|
* ENH: rename Linux-ifort to Linux-Intel-FortranBill Hoffman2008-04-251-0/+0
|
* ENH: do not force the intel ar on C from CXXBill Hoffman2008-04-251-3/+0
|
* ENH: support intel compiler on linuxBill Hoffman2008-04-252-1/+13
|
* ENH: use xiar for the intel compilerBill Hoffman2008-04-211-0/+11
|
* ENH: Add Intel compiler module files for the Mac. Thanks to Mike Jackson for ↵David Cole2008-03-312-0/+132
| | | | contributing.
* ENH: Patch from Maik to add per-configuration default flags to GCC and Intel ↵Brad King2008-03-172-2/+23
| | | | Fortran compilers on Linux.