summaryrefslogtreecommitdiffstats
path: root/Source
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
|
* 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
|
* 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.
* STYLE: Nightly Date StampBrad King2008-07-231-1/+1
|
* COMP: fix compiler warning and follow styleBill Hoffman2008-07-221-1/+3
|
* 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: 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.
* 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
* 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.
* STYLE: Nightly Date StampBrad King2008-07-181-1/+1
|
* 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.
* STYLE: Nightly Date StampBrad King2008-07-161-1/+1
|
* STYLE: Nightly Date StampBrad King2008-07-151-1/+1
|
* BUG: fix for bug 7316Bill Hoffman2008-07-141-4/+0
|
* STYLE: Nightly Date StampBrad King2008-07-141-1/+1
|
* STYLE: Nightly Date StampBrad King2008-07-131-1/+1
|
* STYLE: Nightly Date StampBrad King2008-07-121-1/+1
|
* STYLE: Nightly Date StampBrad King2008-07-111-1/+1
|
* COMP: remove warning and check for assignment to itself in operator=Bill Hoffman2008-07-101-0/+4
|
* STYLE: Nightly Date StampBrad King2008-07-101-1/+1
|
* COMP: Fix HP continuous. Pull stl headers into CMake header files using ↵David Cole2008-07-091-3/+1
| | | | cmStandardIncludes.h
* ENH: One more patch from Doug Gregor including PackageMaker functionality ↵David Cole2008-07-095-99/+255
| | | | for componentized-for-the-end-user and download-some-bit-on-demand installers.
* ENH: fix memory leakBill Hoffman2008-07-091-0/+1
|
* ENH: Set version info for shared libs on OSX.Brad King2008-07-093-4/+77
| | | | | | - Map SOVERSION major.minor.patch to compatibility_version - Map VERSION major.minor.patch to current_version - See issue #4383.
* ENH: Add full target version signature cmTarget::GetTargetVersion.Brad King2008-07-092-3/+21
|
* STYLE: Nightly Date StampBrad King2008-07-091-1/+1
|
* ENH: Further refinement of the CPack components functionality from Doug Gregor.David Cole2008-07-0813-46/+392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Details: ========== - New cpack_add_component, cpack_add_component_group, and cpack_add_install_type "commands" defined as macros in the CPack module. - Documentation for all of the variables and commands in the CPack module. - Added get_cmake_property(... COMPONENTS) to CMake to ask for the names of all components. Used in the CPack module to automatically build component-based installers. (Set CPACK_MONOLITHIC_INSTALL to turn off component-based installation). - A group can declare its PARENT_GROUP, to build an arbitrary hierarchy of groups. - New CPack command cpack_configure_downloads, which creates an installer that downloads only the selected components on-the-fly. Those components marked DOWNLOADED will be separate packages downloaded on-the-fly (or, all packages can be marked as such with the ALL option to cpack_configure_downloads). Individual components are compressed with ZIP at installer-creation time and downloaded/uncompressed by the installer as needed. This feature is only available on Windows with NSIS at the moment. - NSIS installers can install themselves and enable the "Change" button in Add/Remove programs, allowing users to go back and install or remove components. This can be disabled through cpack_configure_downloads, because it's only really useful is most of the application's functionality is in downloaded components. - Bug fix: automatically install everything whose COMPONENT was not specified (it's a hidden, required group) - Bug fix: fixed removal of components when re-running the NSIS installer and unchecking components - Bug fix: NSIS installers now only install/remove the minimal number of files when re-run to update the installation (or by clicking "Change" in Add/Remove programs)
* STYLE: Nightly Date StampBrad King2008-07-081-1/+1
|
* ENH: add get_test_property to bootstrap so bootstrap builds test the same as ↵Bill Hoffman2008-07-072-2/+2
| | | | non-bootstrap builds