diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-10-07 18:13:37 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-10-07 20:07:50 (GMT) |
commit | 4079ba20d9d9c8d15fd28d9440d56c907dda811c (patch) | |
tree | 35207f17f3cbcfde8aca7a82f93e5d2805e89d0c /Source/cmMakefile.h | |
parent | 17ab8e33f005aab3e493ac4535f63b6f229aacab (diff) | |
download | CMake-4079ba20d9d9c8d15fd28d9440d56c907dda811c.zip CMake-4079ba20d9d9c8d15fd28d9440d56c907dda811c.tar.gz CMake-4079ba20d9d9c8d15fd28d9440d56c907dda811c.tar.bz2 |
cmMakefile: Implement LinkLibraries as an internal property
cmMakefile should not have logic particular to individual cmake
commands. The link_libraries() command is generally obsolete in favor
of target_link_libraries(). An alternative language for CMake probably
would not offer the former. The quirks and historical behaviors of the
current language should be separate from the core classes of CMake to
allow replacing the language.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index a16c6bb..8fef38b 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -197,11 +197,6 @@ public: const char* comment = CM_NULLPTR, bool uses_terminal = false); /** - * Add a link library to the build. - */ - void AddLinkLibrary(const std::string&, cmTargetLinkLibraryType type); - - /** * Add a subdirectory to the build. */ void AddSubDirectory(const std::string& fullSrcDir, @@ -808,8 +803,6 @@ protected: std::vector<std::string> ListFiles; std::vector<std::string> OutputFiles; - cmTarget::LinkLibraryVectorType LinkLibraries; - std::vector<cmInstallGenerator*> InstallGenerators; std::vector<cmTestGenerator*> TestGenerators; |