summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Refactor find_* command framework/appbundle search order impl.Brad King2008-06-097-183/+195
| | | | | | | | | | | - CMAKE_FIND_FRAMEWORK and CMAKE_FIND_APPBUNDLE are supposed to specify whether to find frameworks/appbundles FIRST, LAST, ONLY, or NEVER. - Previously this affected only the placement of CMAKE_FRAMEWORK_PATH and CMAKE_APPBUNDLE_PATH with respect to the other path specifiers. - Now it behaves as documented. The entire search path is inspected for each kind of program, library, or header before trying the next kind. - Additionally the ONLY mode is now honored for headers so that users do not end up with a library in framework and a header from elsewhere.
* ENH: In find_* implementation centralize addition of trailing slashesBrad King2008-06-096-29/+23
| | | | | | - Create cmFindCommon::AddTrailingSlashes - Use it in cmFindBase and cmFindPackageCommand - Remove duplication from other find commands
* STYLE: Nightly Date StampBrad King2008-06-091-1/+1
|
* ENH: Whenever CMake re-runs from inside the VS IDE inform the user why.Brad King2008-06-081-1/+5
|
* BUG: Fix CMake.FindBase test to normalize paths before comparing.Brad King2008-06-081-0/+4
| | | | | | - Previously the find_* commands did not normalize the search paths - The recent refactoring enabled such normalization - The FindBase test must also normalize before comparing paths
* BUG: Fix find_* command calls with no PATHS but new-style options.Brad King2008-06-081-0/+1
| | | | | | - In cmFindBase when CheckCommonArgument returns true, set newStyle - Otherwise if there are no PATHS then the ancient-style compatibility mode is enabled and the common argument is treated as a path.
* STYLE: Nightly Date StampBrad King2008-06-081-1/+1
|
* STYLE: Nightly Date StampBrad King2008-06-071-1/+1
|
* ENH: Recognize more color terminals.Brad King2008-06-061-1/+19
| | | | | - Patch from Matthew McCormick, slightly tweaked - See issue #6833
* ENH: fix for flags that have sub-string matchesBill Hoffman2008-06-061-1/+1
|
* ENH: fix for bug 6364, extra help targets when there are subdirectories of ↵Ken Martin2008-06-061-8/+8
| | | | the top level
* BUG: Fix cmFindBase::AddMacPath to actually use its arguments after previous ↵Brad King2008-06-061-3/+3
| | | | refactoring commit.
* BUG: Fix for #7118.Clinton Stimpson2008-06-061-0/+1
| | | | | Relative paths going outside the current source dir resulted in badly placed moc source files in the build dir (or out of the build dir).
* STYLE: Nightly Date StampBrad King2008-06-061-1/+1
|
* ENH: Refactor cmFindCommon, cmFindBase, and cmFindPackageCommandBrad King2008-06-056-301/+247
| | | | | | | | | | | - Add each part of the search order in a separate method. - Collect added paths in an ivar in cmFindCommon. - Move user path storage up to cmFindCommon and share between cmFindBase and cmFindPackageCommand. - Expand user path registry values up in cmFindCommon - Enables 32-/64-bit registry view for find_package - Disables registry expansion for paths not specified with the PATHS argument, which is not expected.
* BUG: Fix new custom command with make-var expansion test on VS6. The VS6 ↵Brad King2008-06-051-2/+8
| | | | IDE adds some extra characters to the variable value during expansion.
* BUG: Fix 64-bit build of CMake so it can find 32-bit VS install.Brad King2008-06-051-16/+6
| | | | | | | - cmFindBase should search both 32-bit and 64-bit registry views for FIND_PROGRAM even if CMAKE_SIZEOF_VOID_P is not set. - Needed because the variable is not available when CMAKE_MAKE_PROGRAM is to be found.
* STYLE: Nightly Date StampBrad King2008-06-051-1/+1
|
* ENH: Add test for make variable replacement in a custom command with the ↵Brad King2008-06-042-0/+14
| | | | VERBATIM option.
* ENH: Allow custom commands with VERBATIM option to have $(SomeVar) make ↵Brad King2008-06-041-0/+2
| | | | variable replacement.
* STYLE: Nightly Date StampBrad King2008-06-041-1/+1
|
* ENH: Some Linux distros don't install xorg-devel, png-devel, etc... whenClinton Stimpson2008-06-031-14/+49
| | | | | qt4-devel is installed. Finding them was required to support building against static Qt. Changing it so they are ignored if not found.
* COMP: Fix bootstrap build after previous change to signature of AddRuleHash.Brad King2008-06-031-2/+2
|
* BUG: Include less content as input to "rule hash" computation.Brad King2008-06-033-21/+12
| | | | | | | - The rule hash should use only commands specified by the user. - No make output (echo and progress) rules should be included. - No outputs or dependencies need be included. The native build tool will take care of them.
* STYLE: Nightly Date StampBrad King2008-06-031-1/+1
|
* BUG: FormatMessage can return a NULL message. Add check for NULL pointer.Clinton Stimpson2008-06-021-1/+6
|
* ENH: Remove SKIP_RULE_DEPENDS option from add_custom_command()Brad King2008-06-027-56/+8
| | | | | | | | - Option was recently added but never released. - Custom commands no longer depend on build.make so we do not need the option. - Rule hashes now take care of rebuilding when rules change so the dependency is not needed.
* ENH: Introduce "rule hashes" to help rebuild files when rules change.Brad King2008-06-023-7/+164
| | | | | | | | | | | | | | - In CMake 2.4 custom commands would not rebuild when rules changed. - In CMake 2.6.0 custom commands have a dependency on build.make which causes them to rebuild when changed, but also when any source is added or removed. This is too often. - We cannot have a per-rule file because Windows filesystems do not deal well with lots of small files. - Instead we add a persistent CMakeFiles/CMakeRuleHashes.txt file at the top of the build tree that is updated during each CMake Generate step. It records a hash of the build rule for each file to be built. When the hash changes the file is removed so that it will be rebuilt.
* BUG: fixed Lua50 to be Lua51 in FIND_PACKAGE_HANDLE_STANDARD_ARGS call.Eric Wing2008-06-021-1/+1
|
* COMP: fix warningKen Martin2008-06-021-4/+4
|
* STYLE: Nightly Date StampBrad King2008-06-021-1/+1
|
* ENH: fix crash on dash17 linux where the parsing of the proc file must not ↵Bill Hoffman2008-06-021-1/+6
| | | | have worked right
* ENH: fix crash on cygwinBill Hoffman2008-06-011-3/+5
|
* BUG:cpuinfo format are different between Linux and Cygwin. Cygwin does not ↵Francois Bertel2008-06-011-6/+10
| | | | have physical id tag or cpu cores tag.
* ENH: avoid divide by zero, temporary fix until cygwin cpu file is read ↵Bill Hoffman2008-06-011-7/+5
| | | | better, bad cpu info is better than a crash
* STYLE: Nightly Date StampBrad King2008-06-011-2/+2
|
* BUG:Fixed NumberOfLogicalCPU, NumberOfPhysicalCPU and ↵Francois Bertel2008-05-311-16/+24
| | | | LogicalProcessorsPerPhysical under Linux. Some part was just wrong. Some other part missed to take the multicore value into account.
* ENH: make end of file checking for close if, foreach, macro, functions etc ↵Ken Martin2008-05-311-8/+9
| | | | enabled. Not sure why it was disabled to start with, but I suspect I will find out. In reponse to Bill email about a ctest -S script with a function that waqs not closed. Closure was only checked for regular listfiles not other files.
* STYLE: Nightly Date StampBrad King2008-05-311-1/+1
|
* ENH: make tes test finding logic also try full paths as relative paths ↵Ken Martin2008-05-301-4/+15
| | | | because some folks have been doing that and 2.4 handled it
* STYLE: Nightly Date StampBrad King2008-05-301-1/+1
|
* BUG: improve progress reporting when there are multiple targets with the ↵Ken Martin2008-05-292-6/+6
| | | | same name, bug# 7042
* STYLE: Nightly Date StampBrad King2008-05-291-1/+1
|
* STYLE: Nightly Date StampBrad King2008-05-281-1/+1
|
* BUG: Fix previous registry lookup change for executables.Brad King2008-05-271-4/+20
| | | | | | | - The target platform does not matter for finding executables so find_program should expand to both 32-bit and 64-bit registry values. - See issue #7095.
* BUG: Fix registry lookups for FIND commands to use view of target platform.Brad King2008-05-271-1/+16
| | | | - See issue #7095.
* ENH: Added WOW64 key view support to KWSys SystemTools' windows registry API.Brad King2008-05-274-16/+54
| | | | | | | - Add an argument to registry read/write/delete methods to specify a 32-bit or 64-bit view. - Default is the bit-ness of the running program. - See issue #7095.
* ENH: Catch missing source files specified by full path earlier.Brad King2008-05-271-11/+7
| | | | | | - Revert previous change to trust user-provided full paths. - Instead trust them only far enough to determine the source language but still check for existence for non-generated sources.
* BUG: Fix crash on repeated configure steps and exported targets.Brad King2008-05-272-10/+18
| | | | | | - In cmGlobalGenerator the ExportSets ivar must be cleared at the beginning of each Configure. - See issue #7101.
* ENH: Inform user when RPATH is set during installation.Brad King2008-05-273-5/+29
| | | | | - Original patch from Alex. - Modified to print only when RPATH is actually set.