diff options
author | Craig Scott <craig.scott@crascit.com> | 2018-09-26 12:11:28 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-09-26 12:11:40 (GMT) |
commit | 3181f8405bc949affb8ea321ec7746b44717fd99 (patch) | |
tree | 7111151e7ef38815fea1dae046f1cc46dd2df04a /Source/cmMakefile.h | |
parent | b16b25484545e8186eb8d52760386b6ab531b9c2 (diff) | |
parent | f9717725f9d4c7f4a1da52b0184365cd757bc076 (diff) | |
download | CMake-3181f8405bc949affb8ea321ec7746b44717fd99.zip CMake-3181f8405bc949affb8ea321ec7746b44717fd99.tar.gz CMake-3181f8405bc949affb8ea321ec7746b44717fd99.tar.bz2 |
Merge topic 'link-directories'
f9717725f9 link_directories(): enhance capabilities
b5915744eb LINK_DIRECTORIES target property: add policy for absolute paths check.
a71caab46b LINK_DIRECTORIES: Add new properties and commands
5ca130e223 Refactoring: introduce function to check if a string is a generator expression
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2403
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index bb01c0b..b30f281 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -182,6 +182,7 @@ public: void AddCompileDefinition(std::string const& definition); void AddCompileOption(std::string const& option); void AddLinkOption(std::string const& option); + void AddLinkDirectory(std::string const& directory, bool before = false); /** Create a new imported target with the name and type given. */ cmTarget* AddImportedTarget(const std::string& name, @@ -802,6 +803,8 @@ public: cmBacktraceRange GetCompileDefinitionsBacktraces() const; cmStringRange GetLinkOptionsEntries() const; cmBacktraceRange GetLinkOptionsBacktraces() const; + cmStringRange GetLinkDirectoriesEntries() const; + cmBacktraceRange GetLinkDirectoriesBacktraces() const; std::set<std::string> const& GetSystemIncludeDirectories() const { |