summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Cleanup Find* modules with new HINTS featureBrad King2008-06-0939-531/+132
| | | | | | | | | | - The find_* commands now provide a HINTS option. - The option specifies paths to be preferred over the system paths. - Many Find* modules were using two find calls with NO_DEFAULT_PATH to approximate the behavior, but that blocked users from overriding things with CMAKE_PREFIX_PATH. - This commit uses the HINTS feature to get desired behavior in only one find command call.
* STYLE: apply patch from Thomas Klausner (NetBSD): use "=" for testingAlexander Neundorf2008-06-091-3/+3
| | | | | | | | | strings for equality instead of "==" This also matches what the man page for test says "s1 = s2 True if the strings s1 and s2 are identical." Alex
* ENH: Make find_* command search order more intuitive.Brad King2008-06-092-18/+15
| | | | | | | | - The CMAKE_PREFIX_PATH and similar variables have both environment and CMake cache versions. - Previously the environment value was checked before the cache value. - Now the cache value is favored because it is more specific.
* ENH: Add test for new find_* command HINTS option.Brad King2008-06-095-0/+25
|
* ENH: Add HINTS option to find_* commands.Brad King2008-06-096-66/+104
| | | | | | - Hints are searched after user locations but before system locations - The HINTS option should have paths provided by system introspection - The PATHS option should have paths that are hard-coded guesses
* ENH: Improve framework search speed for find_file and find_pathBrad King2008-06-091-2/+2
| | | | | | | - Locating a header inside a framework often requires globbing - Previously the glob was <dir>/*/Headers/<name> - Now the glob is <dir>/*.framework/Headers/<name> - This is much faster when <dir> is not really a framework dir
* 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
|