summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommandArguments.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Export: Process relative includes after genex evaluation.Stephen Kelly2013-11-261-5/+0
| | | | | | | | | | | | | In code such as install(TARGETS ... INCLUDES DESTINATION $<FOO>include ) the generator expressions are evaluated at generate-time. Delay determining whether each entry is a relative path until after the generator expressions are evaluated. Such relative paths are based relative to the CMAKE_INSTALL_PREFIX.
* Add a convenient way to add the includes install dir to the INTERFACE.Stephen Kelly2013-07-241-0/+34
| | | | | | | Export the INCLUDES DESTINATION without appending to the INTERFACE_INCLUDE_DIRECTORIES of the target itself. That way, a target can be exported multiple times with different INCLUDES DESTINATION without unintended cross-pollution of export sets.
* install: Fix COMPONENT optionBrad King2012-07-111-2/+5
| | | | | | | | | | | | Since commit 7ced0732 (make default install component name configurable, 2012-05-13) the COMPONENT option has not worked in all cases. The change restored use of the broken SetDefaultString previously removed by commit 43cad3e4 (fix the default "Unspecified" component, 2008-03-26). Remove SetDefaultString and use the default component name only when an invocation does not specify a non-empty COMPONENT option value. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680825
* make default install component name configurableAlex Neundorf2012-05-141-2/+5
| | | | | | | | | Until now an unnamed component was always named "Unspecified". Now this name is taken from the new cmake variable CMAKE_INSTALL_DEFAULT_COMPONENT_NAME, which is initialized to "Unspecified". But it can now be set to something project-specific, per directory Alex
* -strip trailing whitespaceAlex Neundorf2012-05-131-6/+6
| | | | Alex
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* BUG: fix the default "Unspecified" component when only the generic (i.e. notAlexander Neundorf2008-03-261-4/+4
| | | | | | | | | | RUNTIME, ARCHIVE, LIBRARY, etc.) arguments are given. If the component of a part of a target is queried, return the specific one, if a specific one hasn't been set, return the generic one, if that hasn't been set, return "Unspecified". Alex
* ENH: Allow separate installation of shared libs and their links.Brad King2008-02-041-0/+28
| | | | | | | - Add NAMELINK_ONLY and NAMELINK_SKIP to INSTALL command - Options select a \"namelink\" mode - cmInstallTargetGenerator selects files/link based on mode - See bug #4419
* ENH: Updated exporting and importing of targets to support libraries and ↵Brad King2008-01-281-24/+4
| | | | | | | | | | | | | | | | | | configurations. - Created cmExportFileGenerator hierarchy to implement export file generation - Installed exports use per-config import files loaded by a central one. - Include soname of shared libraries in import information - Renamed PREFIX to NAMESPACE in INSTALL(EXPORT) and EXPORT() commands - Move addition of CMAKE_INSTALL_PREFIX to destinations to install generators - Import files compute the installation prefix relative to their location when loaded - Add mapping of importer configurations to importee configurations - Rename IMPORT targets to IMPORTED targets to distinguish from windows import libraries - Scope IMPORTED targets within directories to isolate them - Place all properties created by import files in the IMPORTED namespace - Document INSTALL(EXPORT) and EXPORT() commands. - Document IMPORTED signature of add_executable and add_library - Enable finding of imported targets in cmComputeLinkDepends
* STYLE: fix MSVC warnings by making the cmCommandArgumentsHelper a member ofAlexander Neundorf2007-08-241-7/+14
| | | | | | cmInstallCommandArguments instead of deriving from it Alex
* ENH: class for parsing the arguments for INSTALL()Alexander Neundorf2007-08-231-0/+189
Alex