summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* COMP: Remove shadowed local.Brad King2007-07-021-1/+0
|
* ENH: Further cleanup of installation script generation. The per-component ↵Brad King2007-07-021-45/+7
| | | | 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: Fix install_name_tool update of the executable in an installed bundle ↵Brad King2007-07-021-6/+10
| | | | on OSX. This addresses bug#4534.
* ENH: Improved indentation of generated cmake_install.cmake code.Brad King2007-07-021-31/+79
|
* ENH: First step of install script generator cleanup. Each configuration to ↵Brad King2007-06-281-208/+203
| | | | be installed is now separately handled instead of using variables to store per-configuration names. For targets the component and configuration install-time tests are now done in the install script instead of in the FILE(INSTALL) command. This cleans things up like not trying to strip a file that was optionally not installed. It also simplifies the code for install_name adjustment on OSX. This commit is surrounded by the tags CMake-InstallGeneratorCleanup1-pre and CMake-InstallGeneratorCleanup1-post.
* STYLE: preparations for the INSTALL(EXPORT ...) generatorAlexander Neundorf2007-06-191-17/+23
| | | | | | | | | -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: remove code duplication between PrepareScriptReference andAlexander Neundorf2007-06-151-92/+61
| | | | | | | GetScriptReference, and make the logic for getting the filename public, so it can be used e.g. for exporting Alex
* BUG: don't strip static libraries, it removes their symbol table, dynamicAlexander Neundorf2007-06-151-11/+16
| | | | | | libs have an extra symbol table so they still work stripped Alex
* BUG: don't run strip on OPTIONAL install targets if the file doesn't existAlexander Neundorf2007-06-151-15/+28
| | | | 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: move hack to fix "new cmake on old build tree on OSX doesn't have ↵Alexander Neundorf2007-05-181-8/+0
| | | | | | | | CMAKE_INSTALL_NAME_TOOL in the cache" from cmInstallTargetGenerator.cxx to Darwin.cmake Alex
* STYLE: fix line lengthsAlexander Neundorf2007-05-181-4/+5
| | | | Alex
* BUG: Need to use GetSafeDefinition when assigning to a string.Brad King2007-05-171-2/+2
|
* STYLE: fix indentationAlexander Neundorf2007-05-171-9/+23
| | | | | | ENH: add hack to make new cmake work with older existing cmake build trees Alex
* ENH: merge CMake-CrossCompileBasic to HEADAlexander Neundorf2007-05-171-4/+65
| | | | | | | | | | | | | | | | | | | | | | | | -add a RESULT_VARIABLE to INCLUDE() -add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain -have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system) -use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to run the executables if they have a different suffix because they are probably crosscompiled, but nevertheless it should be able to find them -make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE -support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.) -move ranlib on OSX from the file command to a command in executed in cmake_install.cmake -add support for stripping during install in cmake_install.cmake -split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools -remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms -create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these -add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a list of directories which will be prepended to all search directories, right now as a cmake variable, turning it into a global cmake property may need some more work -remove cmTestTestHandler::TryExecutable(), it's unused -split cmFileCommand::HandleInstall() into slightly smaller functions Alex
* ENH: Added support for import libraries created by executable and module ↵Brad King2007-03-191-6/+26
| | | | 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.
* BUG: Use GetExecutableNames instead of GetLibraryNames to compute the ↵Brad King2007-03-161-35/+61
| | | | installation file name for executable targets.
* ENH: Added implib option to cmTarget::GetDirectory to support a separate ↵Brad King2007-03-091-1/+1
| | | | directory containing the import library. This is an incremental step for bug#4210.
* BUG: The .pdb file generated for a library or executable should match the ↵Brad King2007-02-011-2/+5
| | | | real file name used for the target. This addresses bug#3277.
* ENH: Cleanup of install component list. There was already the list in the ↵Andy Cedilnik2006-10-311-2/+0
| | | | global generator. Use that one
* STYLE: Fix kwstyleAndy Cedilnik2006-10-311-1/+2
|
* ENH: Add support for displaying the list of componentsAndy Cedilnik2006-10-301-0/+1
|
* ENH: Added OPTIONAL option to INSTALL command to allow installation of files ↵Brad King2006-10-051-3/+4
| | | | if they exist while ignoring them otherwise. This addresses bug#2922.
* ENH: Implemented INSTALL(DIRECTORY) command and added a test. Re-organized ↵Brad King2006-08-211-1/+5
| | | | 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-3/+4
| | | | finished so it is undocumented and there is no test. These changes also separate the notions of file and directory permissions.
* STYLE: Fixed long line.Brad King2006-08-031-1/+2
|
* BUG: Fixed shared library version support for Fortran. This addresses bug#3558.Brad King2006-08-011-8/+17
|
* ENH: centralized locaiton of CMakeFiles settingKen Martin2006-06-141-1/+3
|
* BUG: Adjustment of install_name with install_name_tool should account for ↵Brad King2006-06-011-1/+1
| | | | DESTDIR when specifying the file to be changed.
* STYLE: fix line lengthKen Martin2006-05-111-10/+15
|
* ENH: Added CONFIGURATIONS option to INSTALL command to allow ↵Brad King2006-05-051-3/+8
| | | | per-configuration install rules.
* ENH: Added named component installation implementation. Installation ↵Brad King2006-03-301-7/+13
| | | | behavior should be unchanged unless -DCOMPONENT=<name> is specified when cmake_install.cmake is invoked.
* ENH: Add proper support for installing bundlesAndy Cedilnik2006-03-281-18/+2
|
* BUG: Pay attention to the MACOSX_BUNDLE target property only on APPLE platforms.Brad King2006-03-281-2/+2
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-3/+5
|
* ENH: Added PERMISSIONS option to the TARGETS mode of the INSTALL command.Brad King2006-03-041-3/+6
|
* BUG: Fixed installation of MacOSX Bundle executables and the corresponding ↵Brad King2006-03-031-15/+24
| | | | install_name remapping support. Extended the BundleTest test to check that this all works. Part of these fixes required changing the signature of AppendDirectoryForConfig in all generators. It now accepts prefix and suffix strings to deal with whether leading or trailing slashes should be included with the configuration subdirectory.
* ENH: Created target property INSTALL_NAME_DIR initalized by ↵Brad King2006-02-241-12/+161
| | | | CMAKE_INSTALL_NAME_DIR specifying the directory portion of the OSX install_name field in shared libraries. This is the OSX equivalent of RPATH.
* BUG: Fixed optional file install support for multi-configuration generators.Brad King2006-02-201-1/+8
|
* STYLE: Removed unused includes.Brad King2006-02-191-2/+0
|
* BUG: Fixed relink with new install framework.Brad King2006-02-191-0/+1
|
* BUG: Import libraries should be installed as STATIC_LIBRARY.Brad King2006-02-191-0/+8
|
* ENH: Created new install script generation framework. The INSTALL command ↵Brad King2006-02-191-0/+191
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.