Brad King
b424df917d
ENH: Major improvements to the FIND_PACKAGE command. See bug #3659 .
...
- 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.
2008-01-17 09:02:31 -05:00
Bill Hoffman
779877a2ee
BUG: fix for bug 6039 LIB and INCLUDE not used for find stuff
2007-12-14 20:46:15 -05:00
Alexander Neundorf
0398d8ad38
ENH: add support for CMAKE_FIND_PREFIX_PATH as discussed with Brad.
...
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
2007-10-26 09:55:40 -04:00
Ken Martin
8d32d229a3
ENH: make commands lower case by default
2007-10-10 11:47:43 -04:00
Alexander Neundorf
0ddc9f62e5
ENH: add cmExternalMakefileProjectGenerator, which should make it easier to
...
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
2007-06-08 11:57:16 -04:00
Brad King
ec637248da
BUG: If the user specifies a cache entry on the command line without a type, the FIND_* commands should add the type and docstring to the given value and put it back in the cache.
2006-07-18 15:21:26 -04:00
Ken Martin
2af4710525
STYLE: fix line length
2006-05-10 15:46:45 -04:00
Andy Cedilnik
15d7dd9937
ENH: Remove cmGlob and use glob from kwsys
2006-03-21 12:54:31 -05:00
Ken Martin
3d96e52261
STYLE: some m_ to this-> cleanup
2006-03-15 11:02:08 -05:00
Bill Hoffman
cb95c0a5bc
ENH: fix a bug in the find path stuff so that it can find headers deep in frameworks
2006-03-09 11:35:38 -05:00
Bill Hoffman
a5825cd11a
ENH: check in new find stuff
2006-03-02 13:30:22 -05:00
Brad King
938890757a
ENH: Improved support for user-configured search paths. Paths given in the 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.
2006-01-27 18:20:55 -05:00
Bill Hoffman
0b40b42b08
ENH: remove debug print stuff
2006-01-04 09:55:39 -05:00
Bill Hoffman
9e5c219b87
ENH: change framework order
2006-01-02 11:07:57 -05:00
Bill Hoffman
14606c9902
ENH: move framework stuff from FindFile to FindPath
2005-12-30 21:54:26 -05:00
Bill Hoffman
d59e06595c
BUG: fix for 301 CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH env vars now used in FIND_LIBRARY and FIND_PATH in addtion to and before PATH
2004-04-22 13:24:20 -04:00
Bill Hoffman
f58d7df66a
ENH: add checking for NOTFOUND
2003-01-31 13:50:42 -05:00
Bill Hoffman
68d9a5d404
remove trailing slash from findpath command
2003-01-17 10:28:41 -05:00
Brad King
4888c088ae
ENH: Moved ExpandListVariables out of individual commands. Argument evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
2002-12-11 18:13:33 -05:00
Brad King
1f6a3c67b1
ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
2002-10-23 18:03:27 -04:00
Andy Cedilnik
bef93dc5c1
Couple of changes: cache variables now have a map of properties. ADVANCED 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
2002-09-11 14:05:45 -04:00
Ken Martin
d0be2896d7
changed cache manager and registered generators to no longer be singletons
2002-08-28 14:51:10 -04:00
Bill Hoffman
7d76de4403
make sure ; expansion is done in all commands
2002-03-29 14:20:32 -05:00
Bill Hoffman
809b32fe59
ENH: remove several compiler warnings
2002-03-13 10:25:11 -05:00
Bill Hoffman
4651dbcfc6
ENH: expand variables in arguments before the commands get them
2002-03-05 18:41:24 -05:00
Will Schroeder
a6a43d5320
ENH:Updated copyright
2002-01-21 15:30:43 -05:00
Berk Geveci
e452849640
FIX: Entry doc. should never be overwritten. This may cause cmake to be re-run very often.
2002-01-15 13:20:22 -05:00
Bill Hoffman
3e24edcd04
ENH: add possibility to add doc strings to varibles created by find type commands
2001-11-26 18:24:47 -05:00
Bill Hoffman
baa28efd10
ENH: change InitialPass to take a const reference to the argument string, to avoid changes to the file cache
2001-09-20 15:08:30 -04:00
Brad King
65ef85320a
ENH: Added cmSystemTools::GlobDirs function to allow wildcards in paths (like /foo/bar/*).
2001-09-20 10:54:29 -04:00
Bill Hoffman
db1303aa7d
ENH: big change, only allow commands access to the cache via the cmMakefile 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
2001-08-08 11:54:46 -04:00
Bill Hoffman
9922155423
ENH: rename Invoke to InitialPass
2001-06-06 13:19:15 -04:00
Sebastien Barre
2533d55099
The path found is now collapsed (cleaner).
2001-05-24 21:14:53 -04:00
Ken Martin
639f1fa239
added registry entry support and windows app support
2001-05-11 10:53:17 -04:00
Ken Martin
2fb2207c10
bug fixes
2001-04-30 14:56:06 -04:00
Ken Martin
07bd60f6b3
better help strings
2001-04-27 09:30:27 -04:00
Bill Hoffman
2c1fb789d7
ENH: add help for cache entries
2001-04-26 14:53:44 -04:00
Ken Martin
30ad61805b
bug fixes
2001-04-26 09:38:31 -04:00