summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Allow custom limit on object file path lengthBrad King2008-08-214-12/+66
| | | | | | | | Some native build tools, particularly those for cross compiling, may have a limit on the length of the full path to an object file name that is lower than the platform otherwise supports. This change allows the limit to be set by the project toolchain file through the variable CMAKE_OBJECT_PATH_MAX.
* STYLE: Nightly Date StampBrad King2008-08-211-1/+1
|
* ENH: try to fix errorBill Hoffman2008-08-201-1/+0
|
* ENH: Add RecurseThroughSymlinks data member to kwsys::Glob. Allows recursive ↵David Cole2008-08-203-1/+19
| | | | globs to skip symlinks when necessary. Default to true for backwards compatible behavior. Used from the ctest coverage handler to avoid recursing through the '/Applications' directory on the Mac looking for *.da files... Should fix the hangs reported recently by Mac CMake dashboard submitters.
* ENH: Add if(TARGET) commandBrad King2008-08-208-0/+72
| | | | | | | | | | It is useful to be able to test if a target has been created. Often targets are created only inside conditions. Rather than storing the result of the condition manually for testing by other parts of the project, it is much easier for the other parts to just test for the target's existence. This will also be useful when find-modules start reporting results with IMPORTED targets and projects want to test if a certain target is available.
* BUG: Handle case when select() liesBrad King2008-08-201-7/+10
| | | | | | | According to "man select" on Linux it is possible that select() lies about data being ready on a pipe in some subtle cases. We deal with this by switching to non-blocking i/o and checking for EAGAIN. See issue #7180.
* STYLE: Nightly Date StampBrad King2008-08-201-1/+1
|
* BUG: fix for 6462, delete key should delete the current charBill Hoffman2008-08-191-2/+9
|
* BUG: fix for bug 7104 look for GL in X11R6 dirsBill Hoffman2008-08-191-4/+4
|
* BUG: fix for 7045, use gcc for .mBill Hoffman2008-08-191-2/+3
|
* BUG: fix 6647 arguments after -E should not be parsed by CMakeBill Hoffman2008-08-193-11/+18
|
* BUG: fix for 6794 support for LTCG WholeProgramOptimization, which is not ↵Bill Hoffman2008-08-191-0/+1
| | | | available in VS 8 and newer.
* BUG: fix for bug 6775, FindPHP4 did not honor requiredBill Hoffman2008-08-191-0/+2
|
* BUG: fix for 6710 CMAKE_OSX_SYSROOT should be a PATHBill Hoffman2008-08-191-1/+1
|
* BUG: fix for 7446 NSIS support for other languagesBill Hoffman2008-08-191-1/+55
|
* 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.