summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommand.h
Commit message (Collapse)AuthorAgeFilesLines
* Include necessary headers in commandsDaniel Pfeifer2016-10-261-0/+6
|
* Make cmCommand not inherit from cmObjectDaniel Pfeifer2016-10-221-2/+0
|
* Simplify CMake per-source license noticesBrad King2016-09-271-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Add support for creating prebuilt Android.mk filesBill Hoffman2016-09-131-0/+1
| | | | | | | | | | | Add options to the `install()` and `export()` commands to export the targets we build into Android.mk files that reference them as prebuilt libraries with associated usage requirements (compile definitions, include directories, link libraries). This will allow CMake-built projects to be imported into projects using the Android NDK build system. Closes: #15562
* mark functions with CM_OVERRIDEDaniel Pfeifer2016-06-271-4/+4
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-7/+3
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* stringapi: Command namesBen Boeckel2014-03-081-1/+1
|
* Drop builtin command documentationBrad King2013-10-161-301/+0
| | | | | Drop all GetTerseDocumentation and GetFullDocumentation methods from commands. The command documentation is now in Help/command/*.rst files.
* Add a convenient way to add the includes install dir to the INTERFACE.Stephen Kelly2013-07-241-0/+5
| | | | | | | 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.
* Export: Generate INTERFACE_LINK_LIBRARIES property on targets.Stephen Kelly2013-07-081-0/+5
| | | | | | | | | | This property is generated only for targets which have recorded policy CMP0022 as NEW, and a compatibility mode is added to additionally export the old interfaces in that case too. If the old interfaces are not exported, the generated export files require CMake 2.8.12. Because the unit tests use a version which is not yet called 2.8.12, temporarily require a lower version.
* Enhance DESTDIR documentation. Fixes #0012374.Eric NOULARD2012-08-141-1/+3
|
* Enhance documentation of install command w.r.t. the "Undefined" component.Eric NOULARD2012-06-211-1/+4
| | | | Inspired-By: Bill Lorensen on the mailing list.
* make default install component name configurableAlex Neundorf2012-05-141-0/+2
| | | | | | | | | 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-1/+1
| | | | Alex
* Add 'const' qualifier to some cmCommand membersYury G. Kudryashov2012-02-291-3/+3
| | | | | Use const_cast for the special case in cmFindBase where GetFullDocumentation calls GenerateDocumentation.
* cmInstallCommand: Remove duplicated sentence from docsYury G. Kudryashov2012-01-171-3/+1
| | | | | install(TARGETS ...) documentation described twice what happens on non-DLL systems.
* Clarify install(TARGETS) docs for EXPORT optionBrad King2010-08-241-0/+1
| | | | Explicitly state that a call to install(EXPORT) is also needed.
* 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.
* ENH: Add install(DIRECTORY) option 'OPTIONAL'Brad King2009-02-241-1/+1
| | | | | | This adds the OPTIONAL option to the install(DIRECTORY) command. It tells the installation rule that it is not an error if the source directory does not exist. See issue #8394.
* ENH: Clarify documentation of install(TARGETS) command to refer to install ↵Brad King2008-04-141-9/+9
| | | | target types by the upper-case keywords used when invoking the command.
* BUG: Fix compatibility with CMake 2.4 for installation of MACOSX_BUNDLE targetsBrad King2008-04-141-0/+1
| | | | | | - 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
* ENH: Allow separate installation of shared libs and their links.Brad King2008-02-041-1/+20
| | | | | | | - 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: Document PRIVATE_HEADER, PUBLIC_HEADER, and RESOURCE target properties ↵Brad King2008-01-281-1/+11
| | | | and corresponding arguments to INSTALL(TARGETS).
* ENH: Support exporting/importing of AppBundle targets.Brad King2008-01-281-4/+6
| | | | | | | | - 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-5/+6
| | | | | | | | - 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-1/+46
| | | | | | | | | | | | | | | | | | 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-7/+20
| | | | install a tree of header files while ignoring non-headers.
* ENH: make commands lower case by defaultKen Martin2007-10-101-10/+10
|
* ENH: add install files generators for targets which have PUBLIC_HEADER,Alexander Neundorf2007-08-271-2/+3
| | | | | | | PRIVATE_HEADER or RESOURCE_FILES property, use the destination for the public headers as include directory property for exported libraries Alex
* ENH: Added warning when an install rule is created from an EXCLUDE_FROM_ALL ↵Brad King2007-08-031-0/+3
| | | | target. Added a foo/preinstall version of targets that need relinking so that exclude-from-all targets can be manually relinked for installation.
* ENH: add INSTALL(EXPORT ...) mode and INSTALL( TARGETS ... EXPORT <set> ) ,Alexander Neundorf2007-06-191-0/+1
| | | | | | tests still have to be added Alex
* STYLE: preparations for the INSTALL(EXPORT ...) generatorAlexander Neundorf2007-06-191-2/+2
| | | | | | | | | -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
* STYLE: add some more line breaks so it should be easier to readAlexander Neundorf2007-06-151-6/+6
| | | | Alex
* ENH: Added OPTIONAL option to INSTALL command to allow installation of files ↵Brad King2006-10-051-2/+5
| | | | if they exist while ignoring them otherwise. This addresses bug#2922.
* ENH: Add support to INSTALL(DIRECTORY) to install an empty directory. This ↵Brad King2006-08-291-0/+2
| | | | addresses bug#3572.
* BUG: Fixed man page formatting for INSTALL command documentation. Fixed ↵Brad King2006-08-221-12/+14
| | | | line-too-long warning.
* ENH: Implemented INSTALL(DIRECTORY) command and added a test. Re-organized ↵Brad King2006-08-211-0/+49
| | | | 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/+1
| | | | finished so it is undocumented and there is no test. These changes also separate the notions of file and directory permissions.
* STYLE: fix line lengthKen Martin2006-05-111-7/+9
|
* ENH: Added CONFIGURATIONS option to INSTALL command to allow ↵Brad King2006-05-051-0/+5
| | | | per-configuration install rules.
* BUG: Using the source-file permissions by default for installation is ↵Brad King2006-04-181-2/+4
| | | | somewhat unpredictable because users can extract source code with almost any permissions (umask). Changing the default to use 644 for files and 755 for programs. No release has documented the old behavior so we do not need compatibility.
* ENH: Added INSTALL(CODE) mode to allow inline specification of install ↵Brad King2006-04-131-4/+8
| | | | 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-2/+12
| | | | 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/+22
| | | | 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.
* ENH: Added PERMISSIONS option to the TARGETS mode of the INSTALL command.Brad King2006-03-041-0/+1
|
* ENH: Added PERMISSIONS and RENAME options to the INSTALL command's FILES and ↵Brad King2006-03-031-7/+23
| | | | 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-11/+38
| | | | replacements for the INSTALL_FILES and INSTALL_PROGRAMS commands. This addresses the request for absolute path install destinations in bug#2691.
* ENH: Created new install script generation framework. The INSTALL command ↵Brad King2006-02-191-9/+55
| | | | 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/+80
specification interface. Currently it supports only a SCRIPT option specifying a script to run during the install stage.