summaryrefslogtreecommitdiffstats
path: root/Source/cmFindProgramCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Remove some unneeded c_str calls.Stephen Kelly2014-11-231-1/+1
|
* strings: Remove redundant calls to std::string::c_str()Nils Gladitz2014-10-151-1/+1
| | | | | Replacements were detected and performed by the clang tool remove-cstr-calls on a linux build.
* Remove some c_str() calls.Stephen Kelly2014-03-111-3/+3
| | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms.
* Drop builtin command documentationBrad King2013-10-161-31/+0
| | | | | Drop all GetTerseDocumentation and GetFullDocumentation methods from commands. The command documentation is now in Help/command/*.rst files.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-20/+20
| | | | | | | | | | | | | | | | | 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/ \+$//'
* Fix crash if app bundle executeable couldn't be foundBjoern Ricks2012-02-251-1/+2
| | | | | | | | Fix a crash on Mac OS X if a programm can't be found as an application bundle. CFRelease MUST NOT be called on a NULL value. See https://developer.apple.com/library/mac/documentation/CoreFOundation/Reference/CFTypeRef/Reference/reference.html#//apple_ref/doc/c_ref/CFRelease
* 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-5/+6
| | | | | | | 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-2/+5
| | | | | | | | | | | - 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: 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: 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.
* 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/+3
| | | | | | | | | 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/+9
| | | | 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-7/+14
|
* ENH: fix warningBill Hoffman2006-04-141-1/+1
|
* ENH: add patch for finding applications on OSXBill Hoffman2006-04-131-2/+94
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-5/+5
|
* ENH: make sure system path is not added unless asked forBill Hoffman2006-03-081-1/+1
|
* ENH: check in new find stuffBill Hoffman2006-03-021-112/+33
|
* removed redundent includesKen Martin2003-08-101-1/+0
|
* ENH: add checking for NOTFOUNDBill Hoffman2003-01-311-2/+2
|
* ENH: Moved ExpandListVariables out of individual commands. Argument ↵Brad King2002-12-111-5/+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.
* Rename variables to remove warningsAndy Cedilnik2002-10-171-3/+3
|
* 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
|
* ENH/FIX: add NO_SYSTEM_PATH option + fix command usageSebastien Barre2002-05-121-1/+8
|
* make sure ; expansion is done in all commandsBill Hoffman2002-03-291-2/+6
|
* ENH: remove several compiler warningsBill Hoffman2002-03-131-1/+1
|
* ENH: expand variables in arguments before the commands get themBill Hoffman2002-03-051-2/+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-0/+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-2/+3
| | | | avoid changes to the file cache
* ENH: Added cmSystemTools::GlobDirs function to allow wildcards in paths ↵Brad King2001-09-201-2/+5
| | | | (like /foo/bar/*).
* ENH: big change, only allow commands access to the cache via the cmMakefile ↵Bill Hoffman2001-08-081-11/+10
| | | | 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
|
* expands reg valuesKen Martin2001-05-111-0/+2
|
* ERR: Removed unused variableBrad King2001-05-101-1/+0
|
* ENH: change find library and find program to look for more than one nameBill Hoffman2001-05-091-25/+62
|
* ENH: move testing stuff to cmake from configure, good bye dashboard... :)Bill Hoffman2001-05-041-2/+5
|
* ENH: Added cmSystemTools::FindProgram() and full-path detection utilities.Brad King2001-05-031-19/+13
|
* ENH:New copyrightWill Schroeder2001-04-271-3/+28
|
* ENH: add help for cache entriesBill Hoffman2001-04-261-0/+1
|
* fixed bug and modified functionalityKen Martin2001-02-261-16/+23
|
* ERR: Fixed warnings (int->unsigned int and a few others).Brad King2001-02-231-1/+1
|
* ENH: first pass at cache, clean up the unix generator, clean up configure.in ↵Bill Hoffman2001-02-191-5/+19
| | | | some