summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* BUG: fix #7477, set VERBOSE=1 in the kdevelop setting for the environment,Alexander Neundorf2008-08-161-2/+4
| | | | | | not together with the make executable Alex
* STYLE: remove some commented codeAlexander Neundorf2008-08-161-13/+2
| | | | Alex
* BUG: fix #7471, only put build directories and CMakeFiles/ in the blacklistAlexander Neundorf2008-08-161-4/+9
| | | | Alex
* ENH: also search in /usr/X11R7, remove /usr/lib and /usr/local/lib, they areAlexander Neundorf2008-08-161-4/+2
| | | | | | part of the standard search paths (partly sync wih KDE) Alex
* ENH: add more names for libtiff, mark TIFF_INCLUDE_DIR and TIFF_LIBRARY asAlexander Neundorf2008-08-161-2/+4
| | | | | | advanced (sync with KDE) Alex
* ENH: also search for xmllint, which comes with libxml2 (sync with ↵Alexander Neundorf2008-08-161-4/+9
| | | | | | FindLibXml2.cmake from KDE) Alex
* ENH: add more names of linpng (sync with the KDE version)Alexander Neundorf2008-08-161-1/+1
| | | | Alex
* STYLE: /usr/local/bin is in the path anywayAlexander Neundorf2008-08-161-6/+10
| | | | | | | | | STYLE: this file is mostly uppercase commands, so make all commands uppercase ENH: add a status message in case pkgconfig didn't find the package (sync with the one from KDE) Alex
* STYLE: Nightly Date StampBrad King2008-08-161-1/+1
|
* ENH: add platform file for bounds checkerBill Hoffman2008-08-151-0/+4
|
* COMP: Work-around bogus compiler warning.Brad King2008-08-151-0/+2
|
* STYLE: Nightly Date StampBrad King2008-08-151-1/+1
|
* BUG: fix documentation, the variables are named LUA50_FOUND and LUA51_FOUNDAlexander Neundorf2008-08-142-2/+2
| | | | | | (in all released versions) Alex
* ENH: Inform user when RPATH or RUNPATH is removedBrad King2008-08-143-5/+27
|
* BUG: Update both RPATH and RUNPATH entriesBrad King2008-08-141-70/+119
| | | | | | | | | During installation the RPATH and RUNPATH entries of ELF binaries are edited to match the user specification. Usually either one entry is present or both entries refer to the same string literal. In the case that they are both present and refer to separate string literals we need to update both. I have never seen this case in practice, but we should do this just in case.
* BUG: Remove both RPATH and RUNPATH entriesBrad King2008-08-141-62/+92
| | | | | | | | Removal of the RPATH and RUNPATH from ELF binaries must work when both entries are present. Both entries should be removed. Previously only one would be removed and the other would be blanked because it pointed at the same string which was zeroed. This fixes gentoo bug number 224901.
* STYLE: Nightly Date StampBrad King2008-08-141-1/+1
|
* STYLE: Nightly Date StampBrad King2008-08-131-1/+1
|
* ENH: Teach find_package about lib64 pathsBrad King2008-08-122-9/+28
| | | | | When find_package is about to look in <prefix>/lib, search first in <prefix>/lib64 in cases that find_library would use lib64 paths.
* BUG: Fix ExportImport test on VS6Brad King2008-08-123-2/+10
| | | | | Visual Studio 6 does not support per-target object files, so just use two separate source file names in this case.
* STYLE: one ifdef block less, the documentation object can be created a bit laterAlexander Neundorf2008-08-121-3/+1
| | | | Alex
* STYLE: Nightly Date StampBrad King2008-08-121-1/+1
|
* ENH: Test target_link_libraries INTERFACE optionBrad King2008-08-116-2/+63
|
* ENH: Simple specification of link interfacesBrad King2008-08-112-12/+111
| | | | | | | | Create an INTERFACE option to the target_link_libraries command to help set the LINK_INTERFACE_LIBRARIES and LINK_INTERFACE_LIBRARIES_DEBUG properties. This will help users specify link interfaces using variables from Find*.cmake modules that include the 'debug' and 'optimized' keywords.
* STYLE: Nightly Date StampBrad King2008-08-111-1/+1
|
* STYLE: Nightly Date StampBrad King2008-08-101-1/+1
|
* STYLE: Nightly Date StampBrad King2008-08-091-1/+1
|
* STYLE: Nightly Date StampBrad King2008-08-081-1/+1
|
* ENH: Tolerate repeated link library typesBrad King2008-08-072-26/+62
| | | | | | | | The "debug", "optimized", and "general" link library type specifier arguments to the target_link_library commands are sometimes repeated in user code due to variable expansion and other complications. Instead of silently accepting the duplicates and trying to link to a bogus library like "optimized.lib", warn and ignore the earlier specifiers.
* ENH: Clarify documentation of EXCLUDE_FROM_ALLBrad King2008-08-071-7/+15
| | | | | | The add_subdirectory() command's EXCLUDE_FROM_ALL option does not override inter-target dependencies. This change clarifies the documentation accordingly.
* ENH: Test fake circular dependency caseBrad King2008-08-074-0/+27
| | | | | | A recent change fixed a case in which CMake incorrectly diagnosed a circular dependency involving a non-linkable executable target. This adds a test for that case.
* ENH: Improve robustness of compiler INFO stringsBrad King2008-08-076-40/+57
| | | | | | | | | | | Compiler INFO strings built at preprocessing time encode information that must appear as a string literal in the resulting binary. We must make sure the strings appear in the final binary no matter what compiler and flags are used. The previous implementation worked in most places but failed with the GNU linker's --gc-sections option which managed to discard the string. Instead we make the program return value depend on an element of the string indexed by a runtime program parameter, which absolutely requires the string to be present.
* STYLE: Nightly Date StampBrad King2008-08-071-1/+1
|
* 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: fix endif()Alexander Neundorf2008-08-061-1/+1
| | | | Alex
* ENH: add simple tests to test that the extra generators don't crashAlexander Neundorf2008-08-061-0/+49
| | | | Alex
* ENH: Add preprocessor and assembly rules for IntelBrad King2008-08-062-0/+6
|
* 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: fix #7452, bad closing ENDIF() statementAlexander Neundorf2008-08-051-1/+1
| | | | Alex
* ENH: Test relative path custom command outputBrad King2008-08-051-1/+11
| | | | | | | As of CMake 2.6 a custom command output specified by relative path is placed in the build tree. This adds a test to make sure other references to the output are hooked up correctly, fixing a bug in CMake 2.6.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-044-21/+19
| | | | | | 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.