summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* STYLE: Remove trailing whitespaceBrad King2009-05-121-6/+4
|
* STYLE: Nightly Date StampBrad King2009-05-121-1/+1
|
* COMP: Avoid operator precedence warningBrad King2009-05-111-5/+1
| | | | GCC warns that parens should be used for nested and/or operators.
* STYLE: Nightly Date StampBrad King2009-05-111-1/+1
|
* STYLE: cacheStart is used only locally in the if-branchAlexander Neundorf2009-05-101-2/+1
| | | | Alex
* STYLE: first lower-casing the string makes comparing its contents easierAlexander Neundorf2009-05-101-5/+6
| | | | Alex
* ENH: move the code which queries gcc for the system include dirs fromAlexander Neundorf2009-05-104-36/+55
| | | | | | | | | | | | | | | CMakeSystemSpecificInformation.cmake into a separate file, CMakeEclipseCDT4.cmake -if CMAKE_EXTRA_GENERATOR is set, i.e. either CodeBlocks or KDevelop3 or EclipseCDT4, load a matching cmake script file, which can do things specific for this generator - added such files for Eclipse, KDevelop and CodeBlocks, one thing they all do is they try to find the respective IDE and store it in the CMAKE_(KDEVELOP3|CODEBLOCKS|ECLIPSE)_EXECUTABLE variable. This could be used by cmake-gui to open the project it just generated with the gui (not sure this is possible with eclipse). Alex
* BUG: don't report changed compiler variables if the path to the compilerAlexander Neundorf2009-05-101-12/+20
| | | | | | | differs only e.g. a double slash somewhere instead only one slash as directory separator (#8890) Alex
* STYLE: Nightly Date StampBrad King2009-05-101-1/+1
|
* STYLE: document CMAKE_INCLUDE_CURRENT_DIRAlexander Neundorf2009-05-091-0/+14
| | | | Alex
* ENH: when cross compiling, e.g. for WinCE, don't use VCExpress, since this ↵Alexander Neundorf2009-05-092-2/+16
| | | | | | | | doesn't support it This is the first patch to add support for WinCE to cmake (#7919) Alex
* STYLE: Nightly Date StampBrad King2009-05-091-1/+1
|
* STYLE: Nightly Date StampBrad King2009-05-081-1/+1
|
* ENH: add docs for command line ctestBill Hoffman2009-05-071-0/+8
|
* BUG: 8898 fix date in ctest nightly timeBill Hoffman2009-05-071-2/+5
|
* STYLE: Nightly Date StampBrad King2009-05-071-1/+1
|
* BUG: Fix spaces in file paths for lupdate commandClinton Stimpson2009-05-061-1/+4
|
* ENH: Add support for QtScriptTools in Qt 4.5.Clinton Stimpson2009-05-061-0/+1
|
* ENH: Add support for QtScriptTools in Qt 4.5.Clinton Stimpson2009-05-062-3/+8
|
* STYLE: Nightly Date StampBrad King2009-05-061-1/+1
|
* STYLE: Nightly Date StampBrad King2009-05-051-1/+1
|
* STYLE: Nightly Date StampBrad King2009-05-041-1/+1
|
* STYLE: Nightly Date StampBrad King2009-05-031-1/+1
|
* STYLE: Nightly Date StampBrad King2009-05-021-1/+1
|
* ENH: Remove cmTarget internal type argumentsBrad King2009-05-012-83/+35
| | | | | | | | Internally cmTarget was passing the target type in several name computation signatures to support computation of both shared and static library names for one target. We no longer need to compute both names, so this change simplifies the internals by using the GetType method and dropping the type from method signatures.
* ENH: Remove cmTarget::GetExecutableCleanNamesBrad King2009-05-013-41/+7
| | | | This method was redundant with GetExecutableNames.
* ENH: Always imply CLEAN_DIRECT_OUTPUT target propBrad King2009-05-017-161/+31
| | | | | | | | | | | | | | This property was left from before CMake always linked using full path library names for targets it builds. In order to safely link with "-lfoo" we needed to avoid having both shared and static libraries in the build tree for targets that switch on BUILD_SHARED_LIBS. This meant cleaning both shared and static names before creating the library, which led to the creation of CLEAN_DIRECT_OUTPUT to disable the behavior. Now that we always link with a full path we do not need to clean old library names left from an alternate setting of BUILD_SHARED_LIBS. This change removes the CLEAN_DIRECT_OUTPUT property and instead uses its behavior always. It removes some complexity from cmTarget internally.
* ENH: Allow more specification of target file namesBrad King2009-05-015-30/+105
| | | | | | | | | | | | | | This creates target properties ARCHIVE_OUTPUT_NAME, LIBRARY_OUTPUT_NAME, and RUNTIME_OUTPUT_NAME, and per-configuration equivalent properties ARCHIVE_OUTPUT_NAME_<CONFIG>, LIBRARY_OUTPUT_NAME_<CONFIG>, and RUNTIME_OUTPUT_NAME_<CONFIG>. They allow specification of target output file names on a per-type, per-configuration basis. For example, a .dll and its .lib import library may have different base names. For consistency and to avoid ambiguity, the old <CONFIG>_OUTPUT_NAME property is now also available as OUTPUT_NAME_<CONFIG>. See issue #8920.
* ENH: Refactor target output file type computationBrad King2009-05-012-56/+63
| | | | | | | This creates method cmTarget::GetOutputTargetType to compute the output file type 'ARCHIVE', 'LIBRARY', or 'RUNTIME' from the platform and target type. It factors out logic from the target output directory computation code for later re-use.
* STYLE: Nightly Date StampBrad King2009-05-011-2/+2
|
* STYLE: Nightly Date StampBrad King2009-04-301-1/+1
|
* ENH: Teach UntarFile to preserve file timestampsBrad King2009-04-291-19/+3
| | | | | | After extracting the tarball in a temporary directory we copy the tree to the destination directory. The 'cmake -E copy_directory' command does not preserve file timestamps, so we use file(COPY) instead.
* COMP: Avoid unused arg warnings in cmFileCommandBrad King2009-04-291-1/+1
| | | | | The default cmFileCopier::ReportCopy implementation is empty, so we should leave out the argument names.
* BUG: Remove '-d<now' from 'cvs log' commandsBrad King2009-04-291-1/+1
| | | | | | | When CTest runs 'cvs log' to get revision information for updated files, we were passing '-d<now'. The option seems useless since revisions cannot be created in the future, and can lose revisions if the client machine clock is behind the server.
* BUG: Fix CMake.File test for deep dir nameBrad King2009-04-291-1/+1
| | | | | This fixes the regex checking expected output of Copy-NoFile to account for line wrapping when the input directory name is long.
* COMP: Fix nested class member accessBrad King2009-04-291-0/+2
| | | | | | Nested classes have no special access to other members of their enclosing class. In cmFileCopier the nested class MatchRule must use MatchProperties, so we grant friendship to it.
* COMP: Fix non-virtual destructor warningBrad King2009-04-291-0/+1
| | | | | | This gives cmFileCopier a virtual destructor since it has virtual methods. While we never actually delete through a base pointer (or dynamically at all), the compiler doesn't know and warns anyway.
* ENH: Test file(COPY) failure casesBrad King2009-04-299-0/+58
| | | | | This tests some cases of bad arguments to the file(COPY) signature. It checks that the proper error messages are produced.
* ENH: Create file(COPY) command signatureBrad King2009-04-293-16/+155
| | | | | | | | The file(INSTALL) command has long been undocumented and used only to implement install() scripts. We now document it and provide a similar file(COPY) signature which is useful in general-purpose scripts. It provides the capabilities of install(DIRECTORY) and install(FILES) but operates immediately instead of contributing to install scripts.
* ENH: Teach file(INSTALL) relative pathsBrad King2009-04-291-2/+19
| | | | | | | | | | | This teaches the undocumented file(INSTALL) command to deal with relative paths. Relative input file paths are evaluated with respect to the current source directory. Relative output file paths are evaluated with respect to the current binary directory. While this command is currently used only in cmake_install.cmake scripts (in -P script mode), this cleans up its interface in preparation for a documented signature.
* ENH: Refactor file(INSTALL) implementationBrad King2009-04-292-522/+583
| | | | | | The undocumented file(INSTALL) is implemented by a cmFileInstaller class inside cmFileCommand. This refactors the class to split out code not specific to installation into a cmFileCopier base class.
* ENH: Send all file installations through one pathBrad King2009-04-292-100/+81
| | | | | | This creates a single cmFileInstaller method to dispatch installation of symlinks, directories, and files. The change removes duplicate tests of input file type and makes the decision more consistent.
* ENH: Better error on file perm or time failureBrad King2009-04-291-26/+16
| | | | | This improves the error message produced during installation when CMake cannot set file modification time or permissions.
* BUG: Error when install dir cannot be createdBrad King2009-04-291-0/+4
| | | | | This teaches the undocumented file(INSTALL) command to report an error when it cannot create the destination directory.
* ENH: Simplify CMAKE_INSTALL_ALWAYS implementationBrad King2009-04-291-27/+20
| | | | | | This simplifies cmFileInstaller internally by storing the 'always' mark as an instance variable instead of passing it through all method signatures.
* ENH: Simplify construction of cmFileInstallerBrad King2009-04-291-3/+4
| | | | This cleans up the cmFileInstaller constructor signature.
* STYLE: Nightly Date StampBrad King2009-04-291-1/+1
|
* BUG: Fix required permissions check againBrad King2009-04-281-1/+1
| | | | | | While copying a directory the destination must have owner rwx permissions. This corrects our check, this time with correct operator precedence using parenthesis.
* STYLE: Nightly Date StampBrad King2009-04-281-1/+1
|
* ENH: Remove unused PROPERTIES from file(INSTALL)Brad King2009-04-278-52/+13
| | | | | The undocumented file(INSTALL) command used to support a PROPERTIES option, but no install code still uses it. This removes the option.