summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ENH: During file installation treat the source file as a dependency of the ↵Brad King2007-10-051-18/+45
| | | | installed file. Install the file only if the destination is older than the source. Set the file times on the installed file to match those of the source file. This should greatly improve the speed of repeated installations because it removes the comparison of file contents. This addresses bug#3349.
* STYLE: fix line lengthsAlexander Neundorf2007-07-201-1/+1
| | | | Alex
* COMP: Remove unused argument.Brad King2007-07-021-2/+1
|
* ENH: Further cleanup of installation script generation. The per-component ↵Brad King2007-07-021-223/+33
| | | | 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: Need to compute the correct versioned name for executables on cygwin. ↵Brad King2007-06-271-19/+26
| | | | This addresses bug#5238.
* STYLE: remove out commented codeAlexander Neundorf2007-06-071-74/+23
| | | | Alex
* ENH: add option to FILE(STRINGS NO_HEX_CONVERSION) to disable automaticAlexander Neundorf2007-05-251-7/+68
| | | | | | | | | | | | | | | | | | | conversion of hex and srec files to binary. Without this automatic conversion, everywhere where a compiled file is parsed for strings the a file(HEX2BIN somefile binfile) command has to be added otherwise it will not work for these compilers. I tried this with DetermineCompiler and CheckTypeSize and nobody will do this except the users who work with such compilers. For them it will break if they don't add this conversion command in all these places. If FILE(STRINGS) is used with a text file, it will in most cases still work as expected, since it will only convert hex and srec files. If a user actually wants to get text out of hex files, he knows what he's doing and will see the hint in the documentation. Anyway, it should work without having to create a temporary file, will work on this later. Alex
* ENH: make the compiler id detection work, even if the output file name ofAlexander Neundorf2007-05-251-0/+10
| | | | | | | the compiler is completely unknown and even if it produces intel hex or motorola s-record files, with test Alex
* COMP: Fix for borland now that components list check is const.Brad King2007-05-191-2/+4
|
* STYLE: fix line lengthsAlexander Neundorf2007-05-181-12/+15
| | | | Alex
* ENH: merge CMake-CrossCompileBasic to HEADAlexander Neundorf2007-05-171-449/+501
| | | | | | | | | | | | | | | | | | | | | | | | -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
* COMP: Avoid warning.Brad King2007-04-261-4/+4
|
* ENH: Added FILE(STRINGS) command.Brad King2007-04-251-0/+304
|
* ENH: Added option CMAKE_INSTALL_SO_NO_EXE on linux to choose whether the ↵Brad King2007-04-101-9/+13
| | | | default permissions for shared libraries include the executable bit. This is necessary to support the conflicting policies of Debian and Fedora. These changes address bug#4805.
* BUG: Preserve symlinks during installation. This addresses bug#4384.Brad King2007-03-121-0/+68
|
* COMP: fix warningsKen Martin2007-03-021-1/+1
|
* COMP: fix a compiel warningKen Martin2007-03-011-1/+1
|
* ENH: added LIMIT on file readKen Martin2007-03-011-3/+25
|
* ENH: Add support to INSTALL(DIRECTORY) to install an empty directory. This ↵Brad King2006-08-291-2/+11
| | | | addresses bug#3572.
* COMP: Need to use cmsys_stl when in CMake code, not kwsys_stl.Brad King2006-08-271-3/+3
|
* BUG: Avoid putting double-slashes in fromFile during installation. Also ↵Brad King2006-08-251-3/+8
| | | | added regex debugging copy of the expression in string form.
* BUG: Directory installation pattern matching should be case insensitive on ↵Brad King2006-08-211-0/+7
| | | | some platforms.
* ENH: Implemented INSTALL(DIRECTORY) command and added a test. Re-organized ↵Brad King2006-08-211-238/+424
| | | | cmFileCommand's implementation of FILE(INSTALL) a bit to help out. This addresses bug#1694 and partially addresses bug#2691.
* BUG: RENAME option should be allowd for INSTALL(PROGRAMS) too.Brad King2006-08-211-2/+4
|
* BUG: Bundle installation needs all file permissions to be preserved from the ↵Brad King2006-08-171-5/+9
| | | | build tree.
* ENH: Started implementing INSTALL(DIRECTORY) command mode. This is not yet ↵Brad King2006-08-171-88/+262
| | | | finished so it is undocumented and there is no test. These changes also separate the notions of file and directory permissions.
* ENH: Fix directory installation to properly deal with trailing slash names ↵Brad King2006-08-171-4/+11
| | | | (using the rsync convention for whether the last directory name is included in naming the destination directory).
* ENH: fix crash when glob has wrong number of argumentsBill Hoffman2006-06-271-0/+5
|
* ENH: Changing shared library versioned file names on OSX to conform to that ↵Brad King2006-06-051-9/+24
| | | | platform's convention.
* ENH: fix error messageBill Hoffman2006-05-111-2/+2
|
* STYLE: fix line lengthKen Martin2006-05-101-9/+20
|
* ENH: Added CONFIGURATIONS option to INSTALL command to allow ↵Brad King2006-05-051-10/+41
| | | | per-configuration install rules.
* ENH: Added option to not use copy-if-different when installing.Brad King2006-05-051-4/+10
|
* BUG: Using the source-file permissions by default for installation is ↵Brad King2006-04-181-19/+6
| | | | 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: More cleanups and add stgz header script, so it does not have to be ↵Andy Cedilnik2006-04-181-1/+3
| | | | hard-coded. Also, the user can overwrite it
* BUG: Fixed install rules to use copy-if-different.Brad King2006-04-141-7/+3
|
* ENH: handle single pathBill Hoffman2006-04-101-1/+4
|
* ENH: add path conversion stuff and rm SYSTEM_PATHBill Hoffman2006-04-051-7/+34
|
* ENH: fix warning, and remove debug codeBill Hoffman2006-04-031-8/+0
|
* ENH: Added named component installation implementation. Installation ↵Brad King2006-03-301-0/+32
| | | | behavior should be unchanged unless -DCOMPONENT=<name> is specified when cmake_install.cmake is invoked.
* ENH: make sure framework search order is correctBill Hoffman2006-03-301-0/+8
|
* ENH: Add proper support for installing bundlesAndy Cedilnik2006-03-281-1/+21
|
* ENH: Allow blocking of writing into the source treeAndy Cedilnik2006-03-221-0/+15
|
* ENH: Add relative tag and add test for relative tagAndy Cedilnik2006-03-211-0/+11
|
* ENH: Remove cmGlob and use glob from kwsysAndy Cedilnik2006-03-211-13/+13
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-13/+13
|
* ENH: add a new FILE SYSTEM_PATH that allows you to read a environment ↵Bill Hoffman2006-03-101-0/+29
| | | | variable with a path in it.
* ENH: use a cmake script to do the clean step, this allows for large numbers ↵Bill Hoffman2006-03-091-0/+32
| | | | of files to be removed without making the command line too long
* BUG: Most platforms other than Linux seem to require executable permissions ↵Brad King2006-03-071-1/+1
| | | | on their shared libraries.
* ENH: Added PERMISSIONS and RENAME options to the INSTALL command's FILES and ↵Brad King2006-03-031-121/+273
| | | | 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.