2009-09-28 19:43:28 +04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2003-01-21 00:59:02 +03:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2003-01-21 00:59:02 +03:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the License for more information.
|
|
|
|
============================================================================*/
|
2003-01-21 00:59:02 +03:00
|
|
|
#ifndef cmExportLibraryDependenciesCommand_h
|
|
|
|
#define cmExportLibraryDependenciesCommand_h
|
|
|
|
|
|
|
|
#include "cmCommand.h"
|
|
|
|
|
|
|
|
class cmExportLibraryDependenciesCommand : public cmCommand
|
|
|
|
{
|
|
|
|
public:
|
2013-10-18 21:09:32 +04:00
|
|
|
cmTypeMacro(cmExportLibraryDependenciesCommand, cmCommand);
|
2016-06-27 22:25:27 +03:00
|
|
|
cmCommand* Clone() CM_OVERRIDE
|
|
|
|
{
|
|
|
|
return new cmExportLibraryDependenciesCommand;
|
|
|
|
}
|
|
|
|
bool InitialPass(std::vector<std::string> const& args,
|
|
|
|
cmExecutionStatus& status) CM_OVERRIDE;
|
|
|
|
std::string GetName() const CM_OVERRIDE
|
|
|
|
{
|
|
|
|
return "export_library_dependencies";
|
|
|
|
}
|
2003-01-21 00:59:02 +03:00
|
|
|
|
2016-06-27 22:25:27 +03:00
|
|
|
void FinalPass() CM_OVERRIDE;
|
|
|
|
bool HasFinalPass() const CM_OVERRIDE { return true; }
|
2003-01-21 00:59:02 +03:00
|
|
|
|
|
|
|
private:
|
2007-06-15 18:10:24 +04:00
|
|
|
std::string Filename;
|
|
|
|
bool Append;
|
|
|
|
void ConstFinalPass() const;
|
2003-01-21 00:59:02 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|