- Aug 19, 2008
-
-
Bill Hoffman authored
-
Bill Hoffman authored
-
Bill Hoffman authored
-
Brad King authored
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.
-
Brad King authored
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.
-
Brad King authored
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.
-
Brad King authored
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.
-
Brad King authored
-
- Aug 18, 2008
-
-
Brad King authored
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.
-
Brad King authored
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.
-
Brad King authored
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.
-
Brad King authored
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.
-
Brad King authored
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.
-
Brad King authored
-
- Aug 17, 2008
-
-
Alexander Neundorf authored
Alex
-
Alexander Neundorf authored
Alex
-
Brad King authored
-
- Aug 16, 2008
-
-
Alexander Neundorf authored
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
-
Alexander Neundorf authored
ENH: add a test for calling RETURN() in an included file Alex
-
Alexander Neundorf authored
STYLE: everything uppercase in this file Alex
-
Alexander Neundorf authored
not together with the make executable Alex
-
Alexander Neundorf authored
Alex
-
Alexander Neundorf authored
Alex
-
Alexander Neundorf authored
part of the standard search paths (partly sync wih KDE) Alex
-
Alexander Neundorf authored
advanced (sync with KDE) Alex
-
Alexander Neundorf authored
Alex
-
Alexander Neundorf authored
Alex
-
Alexander Neundorf authored
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
-
Brad King authored
-
- Aug 15, 2008
-
-
Bill Hoffman authored
-
Brad King authored
-
Brad King authored
-
- Aug 14, 2008
-
-
Alexander Neundorf authored
(in all released versions) Alex
-
Brad King authored
-
Brad King authored
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.
-
Brad King authored
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.
-
Brad King authored
-
- Aug 13, 2008
-
-
Brad King authored
-
- Aug 12, 2008