summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix issue #10155 - default value of CMAKE_OSX_DEPLOYMENT_TARGET should ↵David Cole2010-01-297-34/+47
| | | | always be the empty string. When the value of CMAKE_OSX_DEPLOYMENT_TARGET is the empty string, the -mmacosx-version-min flag should not show up on the compiler command line. The logic for selecting default value of CMAKE_OSX_SYSROOT is orthogonal to and independent of the value of the deployment target. The default value for CMAKE_OSX_SYSROOT is the SDK that corresponds to the current version of Mac OSX on which cmake is running.
* KWSys Nightly Date StampKWSys Robot2010-01-291-1/+1
|
* Add -rpath for cuda libraries on Apple. They use @rpath in the library link ↵James Bigler2010-01-281-0/+8
| | | | names.
* Updated the documentation on what kinds of flags you can use when setting ↵James Bigler2010-01-281-3/+6
| | | | target properties.
* Define __CUDACC__ during dependency scanning, since NVCC doesn't.James Bigler2010-01-281-0/+7
|
* KWSys Nightly Date StampKWSys Robot2010-01-281-1/+1
|
* -remove unnecessary debug outputAlexander Neundorf2010-01-271-1/+0
| | | | Alex
* KWSys: Remove $Id$ from MD5.cBrad King2010-01-271-1/+0
| | | | | This CVS keyword was copied into the file with the rest of the implementation. It has no meaning outside its original project tree.
* KWSys Nightly Date StampKWSys Robot2010-01-271-1/+1
|
* COMP: remove exporting String as VS10 attempts to export its parents ↵Dave Partyka2010-01-261-1/+1
| | | | (basic_string) which causes all kinds of multiply defined symbols at link time.
* KWSys Nightly Date StampKWSys Robot2010-01-261-1/+1
|
* Avoid PathScale cmd-line bug in TryCompile testBrad King2010-01-251-2/+8
| | | | | | | | | | | | | | | | | | | | The PathScale compiler silently accepts unknown options that start in more than one '-': $ touch foo.c $ pathcc -c foo.c --junk $ echo $? 0 $ pathcc -c foo.c ---junk $ echo $? 0 $ pathcc -c foo.c -junk pathcc ERROR parsing -junk: unknown flag $ echo $? 2 We teach the TryCompile to pass a bogus flag with only one '-' instead of three '-'s for this compiler.
* Skip Fortran module mangling test on PathScaleBrad King2010-01-251-1/+1
| | | | | | We disable this test because PathScale Fortran mangles module symbols as "MYSUB.in.MYMODULE" so we cannot interface with it from C. We already did this for SunPro and MIPSpro.
* KWSys Nightly Date StampKWSys Robot2010-01-251-1/+1
|
* -make paths with spaces work in the CodeBlocks generator with MinGW (#10014)Alexander Neundorf2010-01-241-6/+10
| | | | Alex
* KWSys Nightly Date StampKWSys Robot2010-01-241-1/+1
|
* KWSys Nightly Date StampKWSys Robot2010-01-231-1/+1
|
* FortranCInterface: Fix PathScale detectionBrad King2010-01-222-0/+7
| | | | | | | PathScale Fortran mangles module symbols as "MYSUB.in.MYMODULE" and also requires "mymodule_" when the module is imported. We cannot provide the symbol with ".in." mangling so we should not provide "mymodule_" because it would duplicate the one in the Fortran-provided object file.
* -also put CMAKE_LINKER in the C and CXX compiler information filesAlexander Neundorf2010-01-222-0/+2
| | | | | | This is already done for assembler and is necessary for e.g. Symbian. Alex
* KWSys Nightly Date StampKWSys Robot2010-01-221-1/+1
|
* Do not export all symbols from DLLs on CygwinBrad King2010-01-211-2/+3
| | | | | | | | | | In commit "use export all symbols on cygwin" (2003-01-21) we started passing -Wl,--export-all-symbols when linking shared libraries. Now cygwin exports all symbols automatically if no symbols are explicitly exported. When symbols are explicitly exported we want to honor that narrow interface. Therefore this flag should not be passed. Change based on patch from issue #10122.
* Fix CMAKE_DL_LIBS on CygwinBrad King2010-01-211-1/+0
| | | | | | | | The variable should contain the name of a library needed to link the symbol equivalent to dlopen. On Cygwin no special library is needed, and certainly not "gdi32". Change based on patch from issue #10122.
* Add PathScale shared library flags on LinuxBrad King2010-01-214-0/+31
| | | | | | | | We add platform-specific compiler information files Platform/Linux-PathScale-<lang>.cmake to enable -fPIC and -shared flags for shared libraries.
* KWSys Nightly Date StampKWSys Robot2010-01-211-1/+1
|
* KWSys Nightly Date StampKWSys Robot2010-01-201-1/+1
|
* KWSys Nightly Date StampKWSys Robot2010-01-191-1/+1
|
* -make the imported targets feature of FindQt4.cmake fully backwards compatibleAlexander Neundorf2010-01-181-42/+110
| | | | | | | | | | | After discussing with Brad and Clinton: -the namespace for the imported targets is now "Qt4::", tested with Makefiles, Visual Studio and XCode projects -the imported targets are always created -if QT_USE_IMPORTED_TARGETS is set to TRUE (it defaults to FALSE), the QT_QTFOO_LIBRARY variables are set to point to these imported targets, otherwise the old behaviour is used. -on OSX if Qt has been found as framework, disable QT_USE_IMPORTED_TARGETS, since cmake doesn't handle the framework directory as location of the library correctly Alex
* Put quotes arounds strings when doing STREQUAL.Clinton Stimpson2010-01-181-2/+2
|
* some tweaks as suggested by Brad (no functional changes)Alexander Neundorf2010-01-181-16/+4
| | | | | | | | | -set the type of the IMPORTED libraries to UNKNOWN, this way also on Windows only the "LOCATION" property has to be set -the if() around the SET(QT_${basename}_FOUND 1) was useless (always true) -the mapping of the configuration types DEBUG and PROFILE did not belong here Alex
* KWSys Nightly Date StampKWSys Robot2010-01-181-1/+1
|
* -create imported library targets for the Qt4 libsAlexander Neundorf2010-01-171-34/+32
| | | | | | | | | | | | | | | | | This commit syncs FindQt4.cmake again with KDEs version. Now for every Qt library an imported target with the name Qt4ImportedTarget__<LIBNAME> is created. This way we can now finally handle the release and debug versions of the Qt libraries correctly. Also, if a Qt-using project A installs a file with exported targets, these targets now depend on the imported Qt targets, e.g. Qt4ImportedTarget__QtCore. The location of QtCore is then resolved at buildtime of project B, which uses the exported targets from project A. Before this patch the full path to the QtCore on the original build machine of project A was stored, so this had to match the directory layout on the build machine for project B. Alex
* KWSys Nightly Date StampKWSys Robot2010-01-171-1/+1
|
* KWSys Nightly Date StampKWSys Robot2010-01-161-1/+1
|
* KWSys Nightly Date StampKWSys Robot2010-01-151-1/+1
|
* KWSys Nightly Date StampKWSys Robot2010-01-141-1/+1
|
* Fix bug #10114. Find phonon on some installations.Clinton Stimpson2010-01-131-0/+10
|
* Do not find cyg*.dll on CygwinBrad King2010-01-131-2/+2
| | | | | | | | | | | | | | While Cygwin supports linking directly to .dll files, the behavior is now discouraged. All Cygwin packages now provide import libraries of the form lib*.dll.a and CMake has built the import libraries for years. We believe it is now safe to stop explicitly searching for .dll files because their import libraries will always be available when the corresponding header files are available. Users can always set find_library cache entries to point at a .dll file by hand if they really must use one. Change based on patch from issue #10122.
* Fix KDE3 .la file format on CygwinBrad King2010-01-131-1/+5
| | | | | We teach KDE3Macros.cmake to generate .la files on Cygwin that match those produced by libtool. See issue #10122.
* Remove unused #include <windows.h>Brad King2010-01-131-4/+0
|
* Search prefix /usr before root prefix /Brad King2010-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit "Find locally installed software first" made /usr/local the first prefix searched to be consistent with the Filesystem Hierarchy Standard: http://www.pathname.com/fhs/ The standard also implies that the root prefix "/" should not have any package or development files. The "/bin" and "/lib" directories should have only minimal contents to boot the system. No "/include" ever exists. This commit re-orders the search path prefix list from /usr/local / /usr to /usr/local /usr / to prefer package and development files over low-level system files. See issue #10136. On Cygwin /usr/lib == /lib and /usr/bin == /bin. This change also makes search results report locations as "/usr/..." instead of "/lib/...". See issue #10122.
* Name Cygwin DLLs with SOVERSION, not VERSIONBrad King2010-01-131-2/+2
| | | | | | | | | Cygwin versions .dll files by putting the version number in the file name. Our fix to issue #3571 taught CMake to do this, but it used the VERSION target property. It is better to use the SOVERSION property since that is the interface (rather than implementation) version. Change based on patch from issue #10122.
* KWSys: Fix SharedForward on Cygwin without -mwin32Brad King2010-01-131-4/+6
| | | | | | | | | | When building on Cygwin without -mwin32, the _WIN32 macro may not be defined. SharedForward must still set the PATH environment variable to ensure runtime dependencies are found. The 'ldd' wrapping feature uses 'cygcheck' for now since a real ldd tool is not available in Cygwin 1.5. We can change to use the real ldd when we choose to stop supporting legacy Cygwin and require 1.7.
* Enable extra CodeBlocks generator on CygwinBrad King2010-01-132-7/+3
| | | | | This generator builds correctly on Cygwin so it should be enabled. Change based on patch from issue #10122.
* Use if(CYGWIN) instead of if(WIN32 AND UNIX)Brad King2010-01-132-4/+4
| | | | | CMake has defined CYGWIN on Cygwin for years, so we no longer need the legacy form of the test. Change based on patch from issue #10122.
* PathScale C/C++/Fortran Compiler InformationBrad King2010-01-134-0/+43
| | | | | | | | | | We add compiler information files Compiler/PathScale-<lang>.cmake to specify PathScale compiler information for C, C++, and Fortran languages. We use a macro in Compiler/PathScale.cmake to consolidate the information common to all languages.
* Recognize the PathScale C/C++/Fortran compilersBrad King2010-01-133-0/+8
|
* Restore -rdynamic in Linux build rulesBrad King2010-01-132-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | The commit "Drop -rdynamic from Linux build rules" removed default use of the flag on Linux. It was expected to be compatible because any project using plugins should set ENABLE_EXPORTS on its executables to export their symbols for use by the plugins in a cross-platform way. However, it is possible to build without ENABLE_EXPORTS and load plugins that do not link to any symbols from the executable explicitly. These plugins may need to see RTTI and other executable symbols needed by the language implementation. Executables using such plugins were broken by the change. If we want to remove the -rdynamic flag in the future we should do so in a compatible way. At that time we should also remove equivalent flags on other platforms (like -bexpall on AIX). We will either need a policy or an explicit API to disable symbol exports on executables. The primary purpose of the above-mentioned commit was to avoid passing the -rdynamic flag to compilers on Linux that do not support it. In this commit we restore the flag but only on GNU and Intel compilers which are known to support it. See issue #9985.
* Create Linux GNU compiler flag consolidation macroBrad King2010-01-134-0/+28
| | | | | This macro will be used for GNU compiler flags that are specific to Linux but not to any language.
* KWSys Nightly Date StampKWSys Robot2010-01-131-1/+1
|
* Trust umask for file permissionsBrad King2010-01-123-11/+6
| | | | | Open output files with mode 0666 so that permissions are not more strict than umask permits. See issue #10126.