summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ENH: check in current build scriptsBill Hoffman2008-08-194-3/+7
|
* BUG: fix for 7496, do not just report configure done when there is an error ↵Bill Hoffman2008-08-191-1/+6
| | | | during configure
* BUG: 7448 fix crash in ccmake when compiler is changedBill Hoffman2008-08-191-1/+4
|
* ENH: Add test_clean target to wipe out testsBrad King2008-08-192-0/+60
| | | | | | We frequently need to wipe out all the CMake test build directories in order to run tests from scratch. This change adds a test_clean custom target to remove all these directories for out-of-source builds.
* ENH: Disallow link-type keywords in link interfaceBrad King2008-08-194-0/+69
| | | | | | | | | The LINK_INTERFACE_LIBRARIES target property may not contain the "debug", "optimized", or "general" keywords. These keywords are supported only by the target_link_libraries (and link_libraries) command and are not a generic library list feature in CMake. When a user attempts to add one of these keywords to the property value, we now produce an error message that refers users to alternative means.
* ENH: Clarify link interface documentationBrad King2008-08-191-5/+14
| | | | | | | | The LINK_INTERFACE_LIBRARIES property does not apply for STATIC libraries. The IMPORTED_LINK_INTERFACE_LIBRARIES property does apply for STATIC libraries. State both explicitly in the documentation. Also, clarify that the per-configuration version of these properties completely overrids the generic version.
* BUG: Linking to modules is for 2.2 compat onlyBrad King2008-08-191-8/+11
| | | | | | | | The compatibility check to allow linking to modules should test for CMake 2.2, not the unreleased 2.3. See issue #7500. Furthermore, the message should be more clear about fixing the code instead of setting CMAKE_BACKWARDS_COMPATIBILITY unless one is just trying to build an existing project.
* STYLE: Nightly Date StampBrad King2008-08-191-1/+1
|
* ENH: Improve errors when a policy is REQUIREDBrad King2008-08-184-165/+142
| | | | | | In the future some policies may be set to REQUIRED_IF_USED or REQUIRED_ALWAYS. This change clarifies the error messages users receive when violating the requirements.
* ENH: Add UNKNOWN type for IMPORTED librariesBrad King2008-08-189-12/+70
| | | | | | | | | | | | | | | When creating an IMPORTED target for a library that has been found on disk, it may not be known whether the library is STATIC or SHARED. However, the library may still be linked using the file found from disk. Use of an IMPORTED target is still important to allow per-configuration files to be specified for the library. This change creates an UNKNOWN type for IMPORTED library targets. The IMPORTED_LOCATION property (and its per-config equivalents) specifies the location of the library. CMake makes no assumptions about the library that cannot be inferred from the file on disk. This will help projects and find-modules import targets found on disk or specified by the user.
* STYLE: Convert unused target type cases to defaultBrad King2008-08-182-25/+5
| | | | | | In switch statements that deal with only a few target types, use a 'default' case for the remaining target types instead of listing them explicitly. This will make it easier to add more types in the future.
* ENH: Make link interface mode more distinctBrad King2008-08-183-12/+22
| | | | | | | | | Rename the recently added INTERFACE mode of the target_link_libraries() command to LINK_INTERFACE_LIBRARIES. This makes it much more distinct from a normal call to the command, and clearly states its connection to the property of the same name. Also require the option to appear immediately after the target name to make it a mode rather than an option.
* ENH: Add cmake_policy(GET) command modeBrad King2008-08-185-0/+82
| | | | | | | It is likely that projects or CMake modules in the future will need to check the value of a policy setting. For example, if we add a policy that affects the results of FindXYZ.cmake modules, the module code will need to be able to check the policy.
* STYLE: Nightly Date StampBrad King2008-08-181-1/+1
|
* BUG: fix closing ENDIF()Alexander Neundorf2008-08-171-1/+1
| | | | Alex
* BUG: fix closing IF()Alexander Neundorf2008-08-171-1/+1
| | | | Alex
* STYLE: Nightly Date StampBrad King2008-08-171-1/+1
|
* BUG: fix #7447, FindModulesExecuteAll test fails if both Qt3 and KDE4 can beAlexander Neundorf2008-08-164-6/+55
| | | | | | | | | | | | | found in the system Qt3 and Qt4 cannot be used together in one project. Now Qt3/KDE3 and Qt4/KDE4 handle the case that this is done nevertheless properly, i.e. they fail with FATAL_ERROR if it was REQUIRED and they fail with just MESSAGE(STATUS ...) and RETURN() if it was not REQUIRED BUG: make FindQt4 error out with FATAL_ERROR also if it was searched QUIET Alex
* STYLE: extend documentation for RETURN() a bitAlexander Neundorf2008-08-163-5/+20
| | | | | | ENH: add a test for calling RETURN() in an included file Alex
* STYLE: remove some unnecessary linesAlexander Neundorf2008-08-161-30/+14
| | | | | | STYLE: everything uppercase in this file Alex
* 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.