summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ENH: New link line item ordering algorithmBrad King2008-08-272-153/+241
| | | | | | | | | This change introduces a new algorithm for link line construction. The order it computes always begins with the exact link line specified by the user. Dependencies of items specified by the user are tracked, and those that are not already satisified by the line are appended to it at the end with minimal repeats. This restores the behavior of CMake 2.4 and below while still fixing some of its bugs. See issue #7546.
* BUG: Do not infer dependencies of link flagsBrad King2008-08-272-5/+14
| | | | | | | In cmComputeLinkDepends link items that look like flags (starting in '-') should not be included in dependency inferral. They are not libraries and therefore have no dependencies. They should just be passed through to the final link line unchanged. See issue #7546.
* BUG: Treat empty config name as no configurationBrad King2008-08-271-1/+1
| | | | | In cmComputeLinkDepends we should treat an empty configuration name as equivalent to no specific configuration at all.
* STYLE: Nightly Date StampBrad King2008-08-271-1/+1
|
* BUG: Do not use "Default" as a language, remove 2nd occurence of "English", ↵David Cole2008-08-261-7/+3
| | | | and remove three other languages not supported by older versions of NSIS. Tested with version 2.18 of NSIS on gaia.kitware.
* ENH: Add comments about pre-processor defines and moc.Clinton Stimpson2008-08-261-2/+3
|
* BUG: Correct typo in error message.David Cole2008-08-261-1/+1
|
* ENH: Use COMPILE_DEFINTIONS instead of DEFINITIONS.Clinton Stimpson2008-08-261-4/+6
|
* ENH: Add -DWIN32 for moc on Windows. Final fix for #7465.Clinton Stimpson2008-08-261-0/+3
|
* STYLE: Nightly Date StampBrad King2008-08-261-1/+1
|
* ENH: Add -D preprocessor defines to the moc commands.Clinton Stimpson2008-08-251-16/+16
| | | | Needed to fix #7465.
* ENH: Add unset() command.Brad King2008-08-2511-8/+207
| | | | | | | | This introduces the unset() command to make it easy to unset CMake variables, environment variables, and CMake cache variables. Previously it was not even possible to unset ENV or CACHE variables (as in completely remove them). Changes based on patch from Philip Lowman. See issue #7507.
* STYLE: Nightly Date StampBrad King2008-08-251-1/+1
|
* STYLE: Nightly Date StampBrad King2008-08-241-1/+1
|
* BUG: Correct typo in documentation: or -> ofDavid Cole2008-08-231-1/+1
|
* ENH: Add the RECURSE_SYMLINKS_OFF flag to the FILE GLOB_RECURSE command. ↵David Cole2008-08-232-2/+18
| | | | Exposes the recently added kwsys capability that prevents recursing through symlinks to CMake scripts.
* STYLE: Nightly Date StampBrad King2008-08-231-1/+1
|
* BUG: remove extension from insertsBill Hoffman2008-08-221-56/+56
|
* STYLE: Nightly Date StampBrad King2008-08-221-1/+1
|
* ENH: sort languages and use list from NSIS 2.22Bill Hoffman2008-08-211-49/+56
|
* BUG: remove some languages that are not supported in older versions of NSISBill Hoffman2008-08-211-4/+0
|
* 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
|