summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Darwin.cmake
Commit message (Collapse)AuthorAgeFilesLines
...
* 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 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.
* BUG: fix for 6710 CMAKE_OSX_SYSROOT should be a PATHBill Hoffman2008-08-191-1/+1
|
* 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: allow users to set sysrootBill Hoffman2008-04-281-0/+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: Pass dependent library search path to linker on some platforms.Brad King2008-02-011-1/+1
| | | | | | | | | | | | | | | | - 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
* ENH: Convert Modules/Platform specification of system search paths to use ↵Brad King2008-01-161-2/+1
| | | | CMAKE_SYSTEM_PREFIX_PATH when possible.
* 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: use the correct flag for the linkerBill Hoffman2007-08-171-2/+2
|
* ENH: make sure osx searches static and shared libs like other platformsBill Hoffman2007-08-161-2/+2
|
* ENH: UNIX, CYGWIN, WIN32, APPLE, QNXNTO and BEOS are not longer set inAlexander Neundorf2007-08-091-0/+2
| | | | | | | | | | | | | | 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: determine typesize by compiling a file and reading strings from the ↵Alexander Neundorf2007-06-041-5/+0
| | | | | | | | | compiled output. Tested with various gcc, XCode, MSVC7, sdcc For OSX when doing TRY_COMPILE() CMAKE_OSX_ARCHITECTURES is used, if there are different results an error is generated. CMAKE_OSX_ARCHITECTURES can be overwritten for the TRY_COMPILES with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES. Alex
* ENH: move hack to fix "new cmake on old build tree on OSX doesn't have ↵Alexander Neundorf2007-05-181-0/+9
| | | | | | | | CMAKE_INSTALL_NAME_TOOL in the cache" from cmInstallTargetGenerator.cxx to Darwin.cmake Alex
* ENH: initial support for creation of frameworks on MacBill Hoffman2007-05-081-0/+5
|
* ENH: Added CMAKE_SHARED_MODULE_LOADER_C_FLAG and ↵Brad King2007-04-171-0/+2
| | | | CMAKE_SHARED_MODULE_LOADER_CXX_FLAG to support linking plugins to executables.
* BUG: Propagate platform settings such as CMAKE_OSX_ARCHITECTURES to the try ↵Andy Cedilnik2007-03-021-0/+5
| | | | compile
* BUG: Do not enable -isystem support for Xcode generator until it is implemented.Brad King2006-10-061-0/+6
|
* BUG: fix for bug# 3584 missing SONAME for fortran on darwinBill Hoffman2006-10-041-0/+7
|
* ENH: add patch for finding applications on OSXBill Hoffman2006-04-131-0/+8
|
* ENH: use correct name for pathBill Hoffman2006-03-291-1/+1
|
* ENH: Add support for adding content to bundlesAndy Cedilnik2006-03-281-0/+2
|
* ENH: add support for universal binariesBill Hoffman2006-03-241-0/+23
|
* ENH: add support for removing language flags from shared library and shared ↵Bill Hoffman2006-03-141-0/+2
| | | | module link commands
* ENH: remove junkBill Hoffman2006-03-091-1/+1
|
* ENH: add support for language flags that allow for universal binariesBill Hoffman2006-03-061-4/+4
|
* ENH: check in new find stuffBill Hoffman2006-03-021-0/+3
|
* ENH: use program files env for searchingBill Hoffman2006-02-281-0/+9
|
* ENH: Created target property INSTALL_NAME_DIR initalized by ↵Brad King2006-02-241-24/+12
| | | | CMAKE_INSTALL_NAME_DIR specifying the directory portion of the OSX install_name field in shared libraries. This is the OSX equivalent of RPATH.
* ENH: Added platform settings CMAKE_FIND_LIBRARY_PREFIXES and ↵Brad King2006-02-091-0/+1
| | | | CMAKE_FIND_LIBRARY_SUFFIXES to allow customized searching for libraries.
* ENH: fixed some spelling errorsKen Martin2005-06-201-1/+1
|
* ENH: fix install test with xcode, the xcode generator does not support ↵Bill Hoffman2005-04-071-3/+5
| | | | library versioning yet
* ENH: Removed CMAKE_GENERATOR_NEW now that the old unix makefile generator is ↵Brad King2005-04-061-29/+22
| | | | never used.
* ENH: Adding support for shared library versioning using the -install_name ↵Brad King2005-03-011-4/+31
| | | | option on the OSX linker. This is actually needed to support relative -o paths which are used by cmLocalUnixMakefileGenerator2.
* ENH: use c++ with c++ and c flags with cBill Hoffman2004-09-241-2/+2
|
* ENH: more uniform approach to enable language, one step closer to being able ↵Bill Hoffman2004-08-261-1/+0
| | | | to enable a language without modifing cmake source code
* BUG: fix for bug 116 platform files can now specify directories that should ↵Bill Hoffman2004-04-281-0/+2
| | | | not be added by CMAKE
* BUG: fix for bug 383 gcc flags are now always set if the compiler is gnuBill Hoffman2003-11-141-0/+2
|
* ERR: Old -flat_namespace -undefined suppress flags for ↵Brad King2003-10-151-4/+9
| | | | CMAKE_SHARED_MODULE_CREATE_C_FLAGS should be included when CMAKE_BACKWARDS_COMPATIBILITY is 1.6 or lower.