summaryrefslogtreecommitdiffstats
path: root/Source/cmFindLibraryCommand.h
Commit message (Collapse)AuthorAgeFilesLines
* stringapi: Command namesBen Boeckel2014-03-081-1/+1
|
* Drop builtin command documentationBrad King2013-10-161-8/+0
| | | | | Drop all GetTerseDocumentation and GetFullDocumentation methods from commands. The command documentation is now in Help/command/*.rst files.
* find_library: Optionally consider all names in each directoryBrad King2012-09-251-0/+4
| | | | | | | When more than one value is given to the NAMES option this command by default will consider one name at a time and search every directory for it. Add a NAMES_PER_DIR option to tell this command to consider one directory at a time and search for all names in it.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-2/+2
| | | | | | | | | | | | | | | | | 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/ \+$//'
* find_library: Fix mixed lib->lib64 (non-)conversion cases (#13419)Brad King2012-07-201-0/+4
| | | | | | | | When a search path contains multiple "lib/" instances we previously converted all or none. This fails for cases where only some of the multiple instances must be converted. Teach AddArchitecturePaths to generate all combinations that exist. Uncomment these cases in the CMakeOnly.find_library test now that they work.
* find_library: Refactor lib->lib64 conversionBrad King2012-07-201-1/+0
| | | | | | | Previously methods AddArchitecturePaths and AddLib64Paths were almost identical. Replace the latter with a call to the former. Fix the AddArchitecturePaths implementation to add trailing slashes to all tested paths.
* Add 'const' qualifier to some cmCommand membersYury G. Kudryashov2012-02-291-3/+3
| | | | | Use const_cast for the special case in cmFindBase where GetFullDocumentation calls GenerateDocumentation.
* Speedup find_* commands (#11412)Brad King2010-11-121-0/+1
| | | | | | | 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: Refactor find_* command framework/appbundle search order impl.Brad King2008-06-091-1/+4
| | | | | | | | | | | - 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.
* BUG: Move decision to switch library paths found in implicit link ↵Brad King2008-01-311-1/+0
| | | | directories to use -l options from cmFindLibraryCommand to cmComputeLinkInformation. Existing projects may depend on find_library returning a full path. This slightly weakens cmComputeLinkInformation but is necessary for compatibility.
* ENH: Teach find_library to avoid returning library paths in system ↵Brad King2008-01-231-0/+1
| | | | directories that may be converted to architecture-specific directories by the compiler when it invokes the linker.
* 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
* ENH: Enable library search path suffix for sparcv9 architecture. This ↵Brad King2008-01-231-1/+1
| | | | should be generalized to a platform file later.
* ENH: Add support to find_library to transform /lib to /lib32 on some ↵Brad King2008-01-211-1/+2
| | | | architectures.
* ENH: make commands lower case by defaultKen Martin2007-10-101-1/+1
|
* ENH: check in new find stuffBill Hoffman2006-03-021-29/+7
|
* ENH: Improved support for user-configured search paths. Paths given in the ↵Brad King2006-01-271-4/+7
| | | | 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: big change that includes immediate subdir support, removing the notion ↵Ken Martin2005-03-181-6/+0
| | | | of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings
* BUG: fix for 301 CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH env vars now used ↵Bill Hoffman2004-04-221-1/+2
| | | | in FIND_LIBRARY and FIND_PATH in addtion to and before PATH
* ENH: Make more commands scriptableAndy Cedilnik2004-02-231-0/+5
|
* ENH: Documentation improvements.Brad King2003-11-131-9/+13
|
* removed redundent includesKen Martin2003-08-101-1/+0
|
* ENH: Cleaned up documentation and formatted it for use by cmDocumentation.Brad King2003-02-141-4/+10
|
* 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.
* FIX: command usageSebastien Barre2002-05-121-1/+1
|
* ENH: speed improvementsBill Hoffman2002-04-111-1/+1
|
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* ENH: add possibility to add doc strings to varibles created by find type ↵Bill Hoffman2001-11-261-2/+4
| | | | 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: rename Invoke to InitialPassBill Hoffman2001-06-061-1/+1
|
* ENH: change find library and find program to look for more than one nameBill Hoffman2001-05-091-2/+2
|
* ENH:New copyrightWill Schroeder2001-04-271-3/+28
|
* bug fixesKen Martin2001-04-261-1/+2
|
* ENH: Added safe downcast support (without RTTI) to cmCommand and its subclasses.Brad King2001-02-261-0/+2
|
* ENH: add new commands fro find library and find programKen Martin2001-02-161-1/+1
|
* ENH:Reworked CMake for consistencyWill Schroeder2001-01-181-0/+78