summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Fix implementation of CMP0006 to not override the BUNDLE destination ↵Brad King2008-04-231-1/+1
| | | | with the RUNTIME destination.
* BUG: Fix compatibility with CMake 2.4 for installation of MACOSX_BUNDLE targetsBrad King2008-04-141-1/+47
| | | | | | - Add policy CMP0006 to decide whether to use compatibility - OLD behavior is to fall back to RUNTIME rules - NEW behavior is to produce an error
* STYLE: add some commentsAlexander Neundorf2008-02-071-0/+5
| | | | Alex
* ENH: Improve exporting/importing of targetsBrad King2008-02-061-2/+11
| | | | | - Use real name instead of link for location of versioned targets - Error when a target is exported multiple times
* ENH: Allow separate installation of shared libs and their links.Brad King2008-02-041-0/+65
| | | | | | | - 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: Support exporting/importing of AppBundle targets.Brad King2008-01-281-2/+3
| | | | | | | | - Imported bundles have the MACOSX_BUNDLE property set - Added cmTarget::IsAppBundleOnApple method to simplify checks - Document BUNDLE keyword in INSTALL command - Updated IMPORTED_LOCATION property documentation for bundles - Updated ExportImport test to test bundles
* ENH: Support exporting/importing of Framework targets.Brad King2008-01-281-4/+2
| | | | | | | | - Imported frameworks have the FRAMEWORK property set - Added cmTarget::IsFrameworkOnApple method to simplify checks - Also remove separate IMPORTED_ENABLE_EXPORTS property and just use ENABLE_EXPORTS since, like FRAMEWORK, it just represents the target type. - Document FRAMEWORK keyword in INSTALL command. - Updated IMPORTED_LOCATION property documentation for Frameworks
* ENH: Updated exporting and importing of targets to support libraries and ↵Brad King2008-01-281-39/+57
| | | | | | | | | | | | | | | | | | 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
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* ENH: Added FILES_MATCHING option to INSTALL(DIRECTORY). This will help ↵Brad King2008-01-021-0/+23
| | | | install a tree of header files while ignoring non-headers.
* BUG: Apply patch from issue #6006.Brad King2007-12-171-1/+2
|
* STYLE: Fixed line-too-long.Brad King2007-10-161-2/+4
|
* BUG: Fix #5868 - add COMPONENT handling to the SCRIPT and CODE signatures of ↵David Cole2007-10-151-11/+48
| | | | the INSTALL command.
* ENH: Finish up the Framework creation code restructuring. Frameworks build ↵David Cole2007-10-101-81/+95
| | | | and install now. More work needed on the packaging step. See Tests/Framework for example use.
* STYLE: fix line lengthsAlexander Neundorf2007-08-311-1/+1
| | | | Alex
* STYLE: rename FILENAME keyword to FILE, because FILENAME is used in no otherAlexander Neundorf2007-08-301-1/+16
| | | | | | place Alex
* ENH: add install files generators for targets which have PUBLIC_HEADER,Alexander Neundorf2007-08-271-42/+126
| | | | | | | PRIVATE_HEADER or RESOURCE_FILES property, use the destination for the public headers as include directory property for exported libraries Alex
* STYLE: fix MSVC warnings by making the cmCommandArgumentsHelper a member ofAlexander Neundorf2007-08-241-6/+6
| | | | | | cmInstallCommandArguments instead of deriving from it Alex
* ENH: Add InstallNameFixupPath to support installing built frameworks on the ↵David Cole2007-08-241-1/+2
| | | | Mac. Change Application to Applications in the BundleTest. Also correct small typo (tcl->Tcl) noted in bug 4572.
* ENH: use cmCommandArgumentHelper for INSTALL(TARGETS, FILES, PROGRAMS,Alexander Neundorf2007-08-241-801/+273
| | | | | | | | EXPORTS), saves a lot of code. INSTALL(DIRECTORY) is still done the old way, since this seems to be quite complicated -for INSTALL(TARGETS ): also parse PUBLIC_HEADER, PRIVATE_HEADER, RESOURCE Alex
* ENH: Handle FRAMEWORK and BUNDLE arguments in the INSTALL TARGETS command. ↵David Cole2007-08-221-36/+206
| | | | Work in progress... More to come.
* ENH: if no COMPONENT is specified, make this install item part of theAlexander Neundorf2007-08-011-5/+5
| | | | | | | | | | | | | "Unspecified" component -> if no components are used at all, no change in behaviour, if components are used completely, no change in behaviour, since this default will be overridden everywhere, if components where used partly, it is now possible to install only the unspecified items (e.g. everything which wasn't marked as "Development") Alex Alex
* ENH: Further cleanup of installation script generation. The per-component ↵Brad King2007-07-021-1/+1
| | | | and per-configuration testing is now done in cmake code instead of in the FILE(INSTALL) command. The generation of the cmake code to do these tests is centralized in cmInstallGenerator. Old-style shared library versioning and component/config support code has been removed from FILE(INSTALL). This commit is surrounded by the tags CMake-InstallGeneratorCleanup2-pre and CMake-InstallGeneratorCleanup2-post.
* BUG: Do not install the import library for an executable that does not have ↵Brad King2007-06-271-1/+2
| | | | ENABLE_EXPORTS set.
* ENH: add INSTALL(EXPORT ...) mode and INSTALL( TARGETS ... EXPORT <set> ) ,Alexander Neundorf2007-06-191-0/+186
| | | | | | tests still have to be added Alex
* STYLE: preparations for the INSTALL(EXPORT ...) generatorAlexander Neundorf2007-06-191-23/+36
| | | | | | | | | -move std::string Destination to cmInstallGenerator, since all (except the script one) have it and add a const accessor so it can be queried -use temporary variables in cmInstallCommand for the generators so they can be reused easier -some more const Alex
* ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates anAlexander Neundorf2007-05-221-1/+1
| | | | | | | | | | "imported" executable target. This can then be used e.g. with ADD_CUSTOM_COMMAND() to generate stuff. It adds a second container for "imported" targets, and FindTarget() now takes an additional argument bool useImportedTargets to specify whether you also want to search in the imported targets or only in the "normal" targets. Alex
* ENH: Added support for import libraries created by executable and module ↵Brad King2007-03-191-0/+14
| | | | targets. The module import libraries should never be used but some windows compilers always create them for .dll files since there is no distinction from shared libraries on that platform. The executable import libraries may be used to create modules that when loaded bind to symbols from the executables. This is an enhancement related to bug#4210 though not requested by it explicitly.
* ENH: Added OPTIONAL option to INSTALL command to allow installation of files ↵Brad King2006-10-051-7/+50
| | | | if they exist while ignoring them otherwise. This addresses bug#2922.
* STYLE: Fixed line-too-long.Brad King2006-09-081-2/+4
|
* ENH: Patch from Toni Timonen to allow cross-compiling of DLLs.Brad King2006-09-071-35/+43
|
* ENH: Do not generate install target unless some INSTALL or INSTALL_* ↵Brad King2006-08-311-0/+4
| | | | commands have been used. This addresses bug#2827.
* ENH: Add support to INSTALL(DIRECTORY) to install an empty directory. This ↵Brad King2006-08-291-0/+6
| | | | addresses bug#3572.
* BUG: Directory installation pattern matching should be case insensitive on ↵Brad King2006-08-211-0/+5
| | | | some platforms.
* ENH: Implemented INSTALL(DIRECTORY) command and added a test. Re-organized ↵Brad King2006-08-211-1/+177
| | | | cmFileCommand's implementation of FILE(INSTALL) a bit to help out. This addresses bug#1694 and partially addresses bug#2691.
* ENH: Started implementing INSTALL(DIRECTORY) command mode. This is not yet ↵Brad King2006-08-171-0/+179
| | | | finished so it is undocumented and there is no test. These changes also separate the notions of file and directory permissions.
* ENH: Added CONFIGURATIONS option to INSTALL command to allow ↵Brad King2006-05-051-2/+63
| | | | per-configuration install rules.
* ENH: Added INSTALL(CODE) mode to allow inline specification of install ↵Brad King2006-04-131-0/+23
| | | | script code. This reduces the need for configuring an install script that needs some variable settings because the install code can set thing up first.
* ENH: Added named component installation implementation. Installation ↵Brad King2006-03-301-7/+81
| | | | behavior should be unchanged unless -DCOMPONENT=<name> is specified when cmake_install.cmake is invoked.
* ENH: Added ARCHIVE option to the TARGETS mode of the INSTALL command. It is ↵Brad King2006-03-241-16/+67
| | | | a third option added to RUNTIME and LIBRARY property types. Static libraries and import libraries are now treated as ARCHIVE targets instead of LIBRARY targets. This adds a level of granularity necessary for upcoming features. Also updated the CVS CMake patch level set in CMake_VERSION_PATCH from 4 to 5 to allow users of this version to know whether this incompatible change is present.
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-10/+10
|
* ENH: Added PERMISSIONS option to the TARGETS mode of the INSTALL command.Brad King2006-03-041-5/+51
|
* ENH: Added PERMISSIONS and RENAME options to the INSTALL command's FILES and ↵Brad King2006-03-031-1/+79
| | | | PROGRAMS mode, and corresponding support to FILE(INSTALL). Default permissions for shared libraries on non-Windows/non-OSX platforms no longer has the execute bit set.
* ENH: Implemented FILES and PROGRAMS forms of the INSTALL command as ↵Brad King2006-02-191-0/+88
| | | | replacements for the INSTALL_FILES and INSTALL_PROGRAMS commands. This addresses the request for absolute path install destinations in bug#2691.
* COMP: Removed unused variables.Brad King2006-02-191-3/+1
|
* ENH: Created new install script generation framework. The INSTALL command ↵Brad King2006-02-191-1/+261
| | | | creates the generators which are later used by cmLocalGenerator to create the cmake_install.cmake files. A new target installation interface is provided by the INSTALL command which fixes several problems with the INSTALL_TARGETS command. See bug#2691. Bugs 1481 and 1695 are addressed by these changes.
* ENH: Added INSTALL command as a placeholder for a future generic install ↵Brad King2006-02-101-0/+54
specification interface. Currently it supports only a SCRIPT option specifying a script to run during the install stage.