summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPathCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-4/+4
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Teach find_(library|package) about Linux multiarch (#12037)Brad King2011-06-081-0/+2
| | | | | | | | | | | | | Implement support for multiarch as specified here: http://wiki.debian.org/Multiarch https://wiki.ubuntu.com/MultiarchSpec Detect the <arch> part of <prefix>/lib/<arch> from the implicit library search path from each compiler to set CMAKE_<lang>_LIBRARY_ARCHITECTURE. Define CMAKE_LIBRARY_ARCHITECTURE using one of these values (they should all be the same). Teach the find_library and find_package commands to search <prefix>/lib/<arch> whenever they would search <prefix>/lib.
* Speedup find_* commands (#11412)Brad King2010-11-121-14/+11
| | | | | | | Delay computation of the command documentation until it is needed. It is wasteful to do it in the constructor on every call. Inspired-By: Christian Ehrlicher <Ch.Ehrlicher@gmx.de>
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* 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-091-52/+79
| | | | | | | | | | | - 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-091-10/+0
| | | | | | - Create cmFindCommon::AddTrailingSlashes - Use it in cmFindBase and cmFindPackageCommand - Remove duplication from other find commands
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* BUG: Fix previous commit to not access empty strings out of bounds.Brad King2008-01-211-1/+1
|
* BUG: Make sure search paths never have double-slashes. Leading with two ↵Brad King2008-01-201-3/+11
| | | | slashes (//) on cygwin looks like a network path and delays while waiting for a non-existent machine.
* ENH: Major improvements to the FIND_PACKAGE command. See bug #3659.Brad King2008-01-171-0/+6
| | | | | | | | | - Use CMAKE_PREFIX_PATH and CMAKE_SYSTEM_PREFIX_PATH among other means to locate package configuration files. - Create cmFindCommon as base for cmFindBase and cmFindPackageCommand - Move common functionality up to cmFindCommon - Improve documentation of FIND_* commands. - Fix FIND_* commands to not add framework/app paths in wrong place.
* BUG: fix for bug 6039 LIB and INCLUDE not used for find stuffBill Hoffman2007-12-151-0/+1
|
* ENH: add support for CMAKE_FIND_PREFIX_PATH as discussed with Brad.Alexander Neundorf2007-10-261-0/+2
| | | | | | | | CMAKE_FIND_PREFIX_PATH is both an environment variable and a cmake variable, which is a list of base directories where FIND_PATH, FIND_FILE, FIND_PROGRAM and FIND_LIBRARY will search in the respective subdirectories Alex
* ENH: make commands lower case by defaultKen Martin2007-10-101-1/+1
|
* ENH: add cmExternalMakefileProjectGenerator, which should make it easier toAlexander Neundorf2007-06-081-0/+4
| | | | | | | | | write generators for IDE projects, which use already existing makefiles (current the kdevelop generator) -first stept of the export interface, iniitial export() command -more replacements for the FIND_XXX docs Alex
* BUG: If the user specifies a cache entry on the command line without a type, ↵Brad King2006-07-181-0/+12
| | | | the FIND_* commands should add the type and docstring to the given value and put it back in the cache.
* STYLE: fix line lengthKen Martin2006-05-101-15/+21
|
* ENH: Remove cmGlob and use glob from kwsysAndy Cedilnik2006-03-211-1/+2
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-3/+3
|
* ENH: fix a bug in the find path stuff so that it can find headers deep in ↵Bill Hoffman2006-03-091-15/+15
| | | | frameworks
* ENH: check in new find stuffBill Hoffman2006-03-021-106/+107
|
* ENH: Improved support for user-configured search paths. Paths given in the ↵Brad King2006-01-271-6/+8
| | | | CMAKE_LIBRARY_PATH cmake variable are searched first, then those in the CMAKE_LIBRARY_PATH environment variable, then those listed in the call to the FIND_LIBRARY command and finally those listed in the PATH environment variable. The support is similar for finding include files with FIND_PATH, but the variable is CMAKE_INCLUDE_PATH.
* ENH: remove debug print stuffBill Hoffman2006-01-041-3/+0
|
* ENH: change framework orderBill Hoffman2006-01-021-1/+1
|
* ENH: move framework stuff from FindFile to FindPathBill Hoffman2005-12-311-1/+81
|
* BUG: fix for 301 CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH env vars now used ↵Bill Hoffman2004-04-221-1/+1
| | | | in FIND_LIBRARY and FIND_PATH in addtion to and before PATH
* ENH: add checking for NOTFOUNDBill Hoffman2003-01-311-2/+2
|
* remove trailing slash from findpath commandBill Hoffman2003-01-171-1/+5
|
* ENH: Moved ExpandListVariables out of individual commands. Argument ↵Brad King2002-12-111-4/+2
| | | | evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-3/+3
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* Couple of changes: cache variables now have a map of properties. ADVANCED ↵Andy Cedilnik2002-09-111-4/+5
| | | | and HELPSTRING are now properties of cache variable, IsAdvanced is gone, so is GetCacheEntry, since cache entries are now all private. To access them, you use the iterator. -ADVANCED cache entries are gone and are replaced by the property of cache variables. The cache file still looks the same, but the -ADVANCED cache entries are created when writing file. MarkAsAdvanced and VariableRequires are fixed. So are curses gui and wizard
* changed cache manager and registered generators to no longer be singletonsKen Martin2002-08-281-1/+1
|
* make sure ; expansion is done in all commandsBill Hoffman2002-03-291-2/+5
|
* ENH: remove several compiler warningsBill Hoffman2002-03-131-1/+1
|
* ENH: expand variables in arguments before the commands get themBill Hoffman2002-03-051-1/+0
|
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* FIX: Entry doc. should never be overwritten. This may cause cmake to be ↵Berk Geveci2002-01-151-1/+9
| | | | re-run very often.
* ENH: add possibility to add doc strings to varibles created by find type ↵Bill Hoffman2001-11-261-3/+20
| | | | commands
* ENH: change InitialPass to take a const reference to the argument string, to ↵Bill Hoffman2001-09-201-1/+1
| | | | avoid changes to the file cache
* ENH: Added cmSystemTools::GlobDirs function to allow wildcards in paths ↵Brad King2001-09-201-2/+4
| | | | (like /foo/bar/*).
* ENH: big change, only allow commands access to the cache via the cmMakefile ↵Bill Hoffman2001-08-081-15/+9
| | | | class and GetDefinition, also the cmMakefile is the only way for commands to add to the cache. Also, some changes to configure.in that check for for scoping
* ENH: rename Invoke to InitialPassBill Hoffman2001-06-061-1/+1
|
* The path found is now collapsed (cleaner).Sebastien Barre2001-05-251-0/+1
|
* added registry entry support and windows app supportKen Martin2001-05-111-0/+1
|
* bug fixesKen Martin2001-04-301-4/+1
|
* better help stringsKen Martin2001-04-271-5/+36
|
* ENH: add help for cache entriesBill Hoffman2001-04-261-0/+2
|
* bug fixesKen Martin2001-04-261-0/+74