2016-09-27 19:01:08 +00:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2003-01-20 21:59:02 +00:00
|
|
|
#ifndef cmExportLibraryDependenciesCommand_h
|
|
|
|
#define cmExportLibraryDependenciesCommand_h
|
|
|
|
|
2017-08-25 18:39:02 +00:00
|
|
|
#include "cmConfigure.h" // IWYU pragma: keep
|
2017-04-11 19:42:35 +00:00
|
|
|
|
2016-10-19 06:54:18 +00:00
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
|
|
|
|
2003-01-20 21:59:02 +00:00
|
|
|
#include "cmCommand.h"
|
2016-10-19 06:54:18 +00:00
|
|
|
|
|
|
|
class cmExecutionStatus;
|
2003-01-20 21:59:02 +00:00
|
|
|
|
|
|
|
class cmExportLibraryDependenciesCommand : public cmCommand
|
|
|
|
{
|
|
|
|
public:
|
2017-09-15 13:56:26 +00:00
|
|
|
cmCommand* Clone() override
|
2016-06-27 19:25:27 +00:00
|
|
|
{
|
|
|
|
return new cmExportLibraryDependenciesCommand;
|
|
|
|
}
|
|
|
|
bool InitialPass(std::vector<std::string> const& args,
|
2017-09-15 13:56:26 +00:00
|
|
|
cmExecutionStatus& status) override;
|
2003-01-20 21:59:02 +00:00
|
|
|
|
2017-09-15 13:56:26 +00:00
|
|
|
void FinalPass() override;
|
|
|
|
bool HasFinalPass() const override { return true; }
|
2003-01-20 21:59:02 +00:00
|
|
|
|
|
|
|
private:
|
2007-06-15 14:10:24 +00:00
|
|
|
std::string Filename;
|
|
|
|
bool Append;
|
|
|
|
void ConstFinalPass() const;
|
2003-01-20 21:59:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|