summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-01-27 23:20:55 (GMT)
committerBrad King <brad.king@kitware.com>2006-01-27 23:20:55 (GMT)
commit938890757aa721ec08909df4870304d5a9405337 (patch)
treef1120377ca512d92ffb1aad64e5bb59e0d5c699b /Source/cmMakefile.h
parentf4b306d5d449b8b5959c2d32898bd9fd23b893c6 (diff)
downloadCMake-938890757aa721ec08909df4870304d5a9405337.zip
CMake-938890757aa721ec08909df4870304d5a9405337.tar.gz
CMake-938890757aa721ec08909df4870304d5a9405337.tar.bz2
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.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index dba2763..3f289c1 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -236,6 +236,14 @@ public:
const std::vector<std::string>& path);
/**
+ * Get the include file or library search path.
+ */
+ void GetIncludeSearchPath(const std::vector<std::string>& callerPaths,
+ std::vector<std::string>& path);
+ void GetLibrarySearchPath(const std::vector<std::string>& callerPaths,
+ std::vector<std::string>& path);
+
+ /**
* Add a variable definition to the build. This variable
* can be used in CMake to refer to lists, directories, etc.
*/