cmExportLibraryDependenciesCommand.h 903 Bytes
Newer Older
1 2
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
3 4 5
#ifndef cmExportLibraryDependenciesCommand_h
#define cmExportLibraryDependenciesCommand_h

6
#include <cmConfigure.h>
7

8 9 10
#include <string>
#include <vector>

11
#include "cmCommand.h"
12 13

class cmExecutionStatus;
14 15 16 17

class cmExportLibraryDependenciesCommand : public cmCommand
{
public:
18 19 20 21 22 23 24 25 26 27
  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";
  }
28

29 30
  void FinalPass() CM_OVERRIDE;
  bool HasFinalPass() const CM_OVERRIDE { return true; }
31 32

private:
Alexander Neundorf's avatar
 
Alexander Neundorf committed
33 34 35
  std::string Filename;
  bool Append;
  void ConstFinalPass() const;
36 37 38
};

#endif