2009-09-28 11:43:28 -04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2003-01-20 16:59:02 -05:00
|
|
|
|
2009-09-28 11:43:28 -04:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2003-01-20 16:59:02 -05:00
|
|
|
|
2009-09-28 11: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-20 16:59:02 -05:00
|
|
|
#ifndef cmExportLibraryDependenciesCommand_h
|
|
|
|
#define cmExportLibraryDependenciesCommand_h
|
|
|
|
|
|
|
|
#include "cmCommand.h"
|
|
|
|
|
|
|
|
class cmExportLibraryDependenciesCommand : public cmCommand
|
|
|
|
{
|
|
|
|
public:
|
2013-10-18 13:09:32 -04:00
|
|
|
cmTypeMacro(cmExportLibraryDependenciesCommand, cmCommand);
|
|
|
|
virtual cmCommand* Clone() { return new cmExportLibraryDependenciesCommand; }
|
2008-01-23 10:28:26 -05:00
|
|
|
virtual bool InitialPass(std::vector<std::string> const& args,
|
|
|
|
cmExecutionStatus &status);
|
2014-02-24 20:19:17 -05:00
|
|
|
virtual std::string GetName() const { return "export_library_dependencies";}
|
2013-10-18 13:09:32 -04:00
|
|
|
virtual bool IsDiscouraged() const { return true; }
|
2003-01-20 16:59:02 -05:00
|
|
|
|
|
|
|
virtual void FinalPass();
|
2009-07-24 13:31:34 -04:00
|
|
|
virtual bool HasFinalPass() const { return true; }
|
2003-01-20 16:59:02 -05:00
|
|
|
|
|
|
|
private:
|
2007-06-15 10:10:24 -04:00
|
|
|
std::string Filename;
|
|
|
|
bool Append;
|
|
|
|
void ConstFinalPass() const;
|
2003-01-20 16:59:02 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|