diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 08:21:36 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-12 16:16:17 (GMT) |
commit | 83b3f76a3b13ffe2d8bdf3f67c20e36e22a6955f (patch) | |
tree | ad121deb1cbca5cf373bb0ed895198e1cdc7e5cd /Source/cmLinkLibrariesCommand.h | |
parent | b85407ae76951649907e8e5675fe17d65dfd5457 (diff) | |
download | CMake-83b3f76a3b13ffe2d8bdf3f67c20e36e22a6955f.zip CMake-83b3f76a3b13ffe2d8bdf3f67c20e36e22a6955f.tar.gz CMake-83b3f76a3b13ffe2d8bdf3f67c20e36e22a6955f.tar.bz2 |
cmLinkLibrariesCommand: Port away from cmCommand
Ref: #19499
Diffstat (limited to 'Source/cmLinkLibrariesCommand.h')
-rw-r--r-- | Source/cmLinkLibrariesCommand.h | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/Source/cmLinkLibrariesCommand.h b/Source/cmLinkLibrariesCommand.h index 484ab0a..3412251 100644 --- a/Source/cmLinkLibrariesCommand.h +++ b/Source/cmLinkLibrariesCommand.h @@ -8,36 +8,9 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -/** \class cmLinkLibrariesCommand - * \brief Specify a list of libraries to link into executables. - * - * cmLinkLibrariesCommand is used to specify a list of libraries to link - * into executable(s) or shared objects. The names of the libraries - * should be those defined by the LIBRARY(library) command(s). - */ -class cmLinkLibrariesCommand : public cmCommand -{ -public: - /** - * This is a virtual constructor for the command. - */ - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmLinkLibrariesCommand>(); - } - - /** - * This is called when the command is first encountered in - * the CMakeLists.txt file. - */ - bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus& status) override; -}; +bool cmLinkLibrariesCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |