summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Avoid bogus dependency on executable targetsBrad King2008-08-064-7/+39
| | | | | | | | | | | | When an executable target within the project is named in target_link_libraries for another target, but the executable does not have the ENABLE_EXPORTS property set, then the executable cannot really be linked. This is probably a case where the user intends to link to a third-party library that happens to have the same name as an executable target in the project (or else will get an error at build time). We need to avoid making the other target depend on the executable target incorrectly, since the executable may actually want to link to that target and this is not a circular depenency.
* ENH: Improve readability of circular depends errorBrad King2008-08-061-2/+2
| | | | | | When reporting the dependencies in a strongly connected component quote the target names to make the message more readable no matter the target name.
* BUG: Fix crash on circular target dependenciesBrad King2008-08-061-1/+4
| | | | | | After reporting an error about circular target dependencies do not try to continue generation because the dependency computation object is not in a useful state.
* BUG: don't crash in the generator is EXECUTABLE_OUTPUT_PATH orAlexander Neundorf2008-08-061-3/+3
| | | | | | LIBRARY_OUTPUT_PATH are empty Alex
* STYLE: Nightly Date StampBrad King2008-08-061-1/+1
|
* BUG: Custom command depends may match sourcesBrad King2008-08-051-0/+9
| | | | | | | | Custom command dependencies that are not full paths or targets may also match source files. When one does, the full information about the source file's location and name may be used. This fixes the case when a custom commands depends by relative path on a source file generated by another custom command specifying its output by relative path.
* BUG: Fix matching of ambiguous sf extensions.Brad King2008-08-052-18/+58
| | | | | | | | A name with an ambiguous extension may only match an unambiguous name that is extended by one of the fixed set of extensions tried when finding the source file on disk. This rule makes matching of source files with ambiguous extensions much less aggressive but still sufficient.
* BUG: Do not convert RPATH entries to full path.Brad King2008-08-051-1/+1
| | | | | | When generating RPATH entries on the link line using a repeated linker flag (-R ... -R ... style) do not convert individual entries to a full path. We need to preserve what the user requested.
* BUG: Fix escaping in link scriptsBrad King2008-08-051-1/+1
| | | | | | | When generating escape sequences for the native build tool do not put in Makefile escapes for paths generated into link scripts. This fixes putting "$ORIGIN" into the RPATH, and probably some other subtle problems.
* STYLE: Nightly Date StampBrad King2008-08-051-1/+1
|
* ENH: Build large archives incrementallyBrad King2008-08-041-0/+4
| | | | | | Creation of archive libraries with the unix 'ar' tool should be done incrementally when the number of object files is large. This avoids problems with the command line getting too many arguments.
* BUG: Fix operator precedence error in cmELFBrad King2008-08-041-4/+4
| | | | | | When attempting to load the RPATH out of a non-ELF file cmELF would crash because the check for a valid file was done with in correct operator precedence. See bug#7392.
* STYLE: Nightly Date StampBrad King2008-08-041-1/+1
|
* STYLE: Nightly Date StampBrad King2008-08-031-1/+1
|
* STYLE: Nightly Date StampBrad King2008-08-021-1/+1
|
* BUG: Improve fix for issue #7058 - comsuppd did not yet exist in VC6.David Cole2008-08-011-1/+6
|
* STYLE: Nightly Date StampBrad King2008-08-011-2/+2
|
* BUG: Fix issue#4792 - improve verbose and log output when ctest cannot find ↵David Cole2008-07-311-6/+9
| | | | a file during coverage analysis.
* BUG: Fix issue #7058 - link the commsup lib explicitly for use on some ↵David Cole2008-07-311-0/+8
| | | | Visual Studio + SDK combinations
* BUG: fix for 7426 bad check for cpackBill Hoffman2008-07-311-1/+1
|
* BUG: Fix issue #5773 - add table entry to map /W0 to WarningLevel="0"David Cole2008-07-311-0/+1
|
* BUG: Fix issue #4971 - use lower case when comparing file names from gcov ↵David Cole2008-07-311-2/+19
| | | | output on _WIN32 since sometimes the drive letters have different case.
* ENH: add a --trace optionBill Hoffman2008-07-314-0/+28
|
* STYLE: Nightly Date StampBrad King2008-07-311-1/+1
|
* BUG: Fix issue #7088 - do not emit error messages when attempts to run ↵David Cole2008-07-304-19/+39
| | | | Visual Studio macros fail. You can still get the error output as messages if you want using --debug-output from the cmake command line.
* BUG: fix for bug 7427, preinstall target name hard codedBill Hoffman2008-07-301-1/+1
|
* BUG: Fix issue #7414 - do not crash when given components with circular ↵David Cole2008-07-302-7/+27
| | | | dependencies. Thanks to Doug Gregor for the patch.
* 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