summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Recognize src extensions of all enabled langsBrad King2008-07-301-3/+8
| | | | | | | | | | | | For historical reasons we still support naming of source files without their extension. Sources without known extensions are located on disk by iterating through a fixed set of possible extensions. We now want users to always specify the extension, so the fixed set will not be expanded and is preserved for compatibility with older projects. This change adds recognition of extensions of all enabled languages to avoid checking the disk for files whose extensions are unambiguous but not in the original fixed set.
* BUG: Avoid double-slash in check for source fileBrad King2008-07-301-2/+5
|
* BUG: fix for bug 7421, fortran did not get arch flags on the macBill Hoffman2008-07-301-1/+1
|
* BUG: Preserve all non-targets on user link linesBrad King2008-07-303-25/+2
| | | | | | | | | | | | | | | | | | | | | In CMake 2.4 the generated link line for a target always preserved the originally specified libraries in their original order. Dependencies were satisfied by inserting extra libraries into the line, though it had some bugs. In CMake 2.6.0 we preserved only the items on the link line that are not known to be shared libraries. This reduced excess libraries on the link line. However, since we link to system libraries (such as /usr/lib/libm.so) by asking the linker to search (-lm), some linkers secretly replace the library with a static library in another implicit search directory (developers can override this by using an imported target to force linking by full path). When this happens the order still matters. To avoid this and other potential subtle issues this commit restores preservation of all non-target items and static library targets. This will create cases of unnecessary, duplicate shared libraries on the link line if the user specifies them, but at least it will work. In the future we can attempt a more advanced analysis to safely remove duplicate shared libraries from the link line.
* BUG: Preserve shared lib order for 2.4 compatibilityBrad King2008-07-301-2/+7
| | | | | | | | We preserve the order and multiplicity of libraries directly linked by a target as specified by the user. Items known to be shared libraries may be safely skipped because order preservation is only needed for static libraries. However, CMake 2.4 did not skip shared libs, so we do the same when in 2.4 compatibility mode.
* STYLE: Nightly Date StampBrad King2008-07-301-1/+1
|
* BUG: #7416 fix error when jpeg is not foundBill Hoffman2008-07-291-1/+3
|
* ENH: Warn when system libraries may be hidden.Brad King2008-07-293-3/+75
| | | | | | | | We never explicitly specify system library directories in linker or runtime search paths. Furthermore, libraries in these directories are always linked by asking the linker to search for them. We need to generate a warning when explicitly specified search directories contain files that may hide the system libraries during the search.
* ENH: Provide context in path ordering warningsBrad King2008-07-293-12/+16
|
* STYLE: Fix typo in comment in cmOrderDirectoriesBrad King2008-07-291-1/+1
|
* ENH: do not depend on files that do not existBill Hoffman2008-07-291-0/+8
|
* STYLE: Nightly Date StampBrad King2008-07-291-1/+1
|
* BUG: Be more careful with Boost_MINOR_VERSION in FindBoost moduleDouglas Gregor2008-07-281-9/+15
|
* BUG: Work around Boost 1.36.0 bug fix on Darwin by setting the mangled ↵Douglas Gregor2008-07-281-17/+23
| | | | compiler name to -xgccVERSION
* STYLE: Nightly Date StampBrad King2008-07-281-1/+1
|
* STYLE: Nightly Date StampBrad King2008-07-271-1/+1
|
* STYLE: Nightly Date StampBrad King2008-07-261-1/+1
|
* BUG: fix source file extension bug that broke Second life buildBill Hoffman2008-07-251-0/+30
|
* STYLE: Nightly Date StampBrad King2008-07-251-1/+1
|
* STYLE: Nightly Date StampBrad King2008-07-241-1/+1
|
* ENH: Support full-path libs w/out valid names.Brad King2008-07-236-40/+104
| | | | | | | | This change introduces policy CMP0008 to decide how to treat full path libraries that do not appear to be valid library file names. Such libraries worked by accident in the VS IDE and Xcode generators with CMake 2.4 and below. We support them in CMake 2.6 by introducing this policy. See policy documentation added by this change for details.
* ENH: Skip libs in known dirs for CMP0003 warnings.Brad King2008-07-232-6/+10
| | | | | | | Sometimes we ask the linker to search for a library for which the path is known but for some reason cannot be specified by full path. In these cases do not include the library in CMP0003 warnings because we know the extra paths are not needed for it.
* ENH: Updated FindImageMagick to:Miguel A. Figueroa-Villanueva2008-07-231-60/+173
| | | | | | - Find newer additions such as animate, compare, etc. - Find development api: Magick++, MagickCore, MagickWand - Use FindPackageHandleStandardArgs to output standard messages.
* STYLE: Nightly Date StampBrad King2008-07-231-1/+1
|
* ENH: change to correct line feedBill Hoffman2008-07-221-71/+71
|
* ENH: change to correct line feedBill Hoffman2008-07-222-731/+731
|
* COMP: fix compiler warning and follow styleBill Hoffman2008-07-221-1/+3
|
* ENH: FindBLAS.cmake, FindLAPACK.cmake modules were redesigned so now you ↵Alin Elena2008-07-223-561/+733
| | | | have three new variables BLA_VENDOR (you can specify the VENDOR), BLA_STATIC (gets the static version of libs), BLA_F95 (gets the fortran 95 interface). BLA_VENDOR can be specified as an environment variable. Intel mkls libs need FindThreads to be found correctly so you will need to enable the C/CXX
* STYLE: Nightly Date StampBrad King2008-07-221-1/+1
|
* ENH: handle HTML documentation for single items better: no warning aboutAlexander Neundorf2008-07-213-16/+37
| | | | | | ComputeSectionLinkPrefix, don't create an index for only one item Alex
* ENH: switch to using cdash for submissionsBill Hoffman2008-07-212-82/+12
|
* ENH: get out of module if no fortranBill Hoffman2008-07-212-2/+4
|
* ENH: this should fail only if required is sent to find packageBill Hoffman2008-07-212-206/+215
|
* ENH: checks if Fortran is enbaled. If not an error message is produced.Alin Elena2008-07-212-6/+15
|
* ENH: Support full-path libs w/out extension in VS IDE.Brad King2008-07-211-1/+40
| | | | | | | - This case worked accidentally in CMake 2.4, though not in Makefiles. - Some projects build only with the VS IDE on windows and have this mistake. - Support them when 2.4 compatibility is enabled by adding the extension.
* ENH: Modules/CheckFortranFunctionExists.cmake helps gfortran to check the ↵Alin Elena2008-07-212-4/+7
| | | | | | existence of a file ENH: Modules/FindLAPACK.cmake returns the full list of libraries required to link against Lapack
* STYLE: Nightly Date StampBrad King2008-07-211-1/+1
|
* STYLE: fix #7146, add documentation forAlexander Neundorf2008-07-201-8/+98
| | | | | | | | | | CMAKE[_SYSTEM]_(LIBRARY|PROGRAM|INCLUDE|PREFIX)_PATH variables -moved CMAKE_CROSSCOMPILING from "Variables that modify behaviour" to "variables that Provide Information", since it should be used only for testing whether we are currently in cross compiling mode, not for switching between the modes. Alex
* BUG: #7333, search dirs for FedoraAlexander Neundorf2008-07-201-0/+2
| | | | Alex
* BUG: #7360: add support for FreeBSDAlexander Neundorf2008-07-201-1/+8
| | | | | | BUG: #7345: add support for ppc Alex
* BUG: fix #6416: provide JNI_LIBRARIES and JNI_INCLUDE_DIRSAlexander Neundorf2008-07-201-3/+20
| | | | Alex
* STYLE: Nightly Date StampBrad King2008-07-201-1/+1
|
* STYLE: Nightly Date StampBrad King2008-07-191-1/+1
|
* ENH: Improvements to the bundle cpack generator from second patch attached ↵David Cole2008-07-181-100/+138
| | | | to feature request #7170. Thanks to Tim Shead.
* ENH: Use the HINTS feature of find_library to find the right libraries forDouglas Gregor2008-07-181-6/+7
| | | | MPI, and act a bit more intelligently when MPI cannot be found.
* STYLE: Nightly Date StampBrad King2008-07-181-1/+1
|
* COMP: Check for -Wno-long-double before usingBrad King2008-07-171-9/+13
| | | | | | | Older GCC on the Mac warns for use of long double, so we use -Wno-long-double. Newer GCC on the Mac does not have this flag and gives an error. We now check for the flag before using it. See bug #7357.
* ENH: Avoid cmcurl CMake macro name conflictsBrad King2008-07-173-28/+28
| | | | | | Utilities/cmcurl/CMake provides macros with the same file names and macro names as others in Modules, but with different interfaces. We rename the curl ones to avoid conflict.
* STYLE: Nightly Date StampBrad King2008-07-171-1/+1
|
* BUG: Fix try_compile during EnableLanguageBrad King2008-07-162-9/+33
| | | | | | | | | | | | | | - The source-file signature of try_compile looks up the language of the source file using the extension-to-language map so that it knows what language to enable in the generated project. - This map needs to be filled before loading a file specified by CMAKE_USER_MAKE_RULES_OVERRIDE CMAKE_USER_MAKE_RULES_OVERRIDE_<LANG> so that the user file may call the try_compile() source-file signature. - It must still be re-filled after loading CMake<LANG>Information.cmake in case the compiler- or platform-specific files added anything. - See bug #7340.