diff options
author | Brad King <brad.king@kitware.com> | 2013-10-18 17:09:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-22 13:09:52 (GMT) |
commit | 248d1dc057564dc00e3374d7797a1e42ea57032d (patch) | |
tree | f02f66efaede660545b5ed228e36587f80164872 /Source/cmExportLibraryDependencies.h | |
parent | 6865c8fe05d407077a598fcc0921ef62dfeaf021 (diff) | |
download | CMake-248d1dc057564dc00e3374d7797a1e42ea57032d.zip CMake-248d1dc057564dc00e3374d7797a1e42ea57032d.tar.gz CMake-248d1dc057564dc00e3374d7797a1e42ea57032d.tar.bz2 |
Add policy CMP0033 to disallow export_library_dependencies
Diffstat (limited to 'Source/cmExportLibraryDependencies.h')
-rw-r--r-- | Source/cmExportLibraryDependencies.h | 39 |
1 files changed, 4 insertions, 35 deletions
diff --git a/Source/cmExportLibraryDependencies.h b/Source/cmExportLibraryDependencies.h index a384a7c..29b568f 100644 --- a/Source/cmExportLibraryDependencies.h +++ b/Source/cmExportLibraryDependencies.h @@ -14,50 +14,19 @@ #include "cmCommand.h" -/** \class cmExportLibraryDependenciesCommand - * \brief Add a test to the lists of tests to run. - * - * cmExportLibraryDependenciesCommand adds a test to the list of tests to run - * - */ class cmExportLibraryDependenciesCommand : public cmCommand { public: - /** - * This is a virtual constructor for the command. - */ - virtual cmCommand* Clone() - { - return new cmExportLibraryDependenciesCommand; - } - - /** - * This is called when the command is first encountered in - * the CMakeLists.txt file. - */ + cmTypeMacro(cmExportLibraryDependenciesCommand, cmCommand); + virtual cmCommand* Clone() { return new cmExportLibraryDependenciesCommand; } virtual bool InitialPass(std::vector<std::string> const& args, cmExecutionStatus &status); + virtual const char* GetName() const { return "export_library_dependencies";} + virtual bool IsDiscouraged() const { return true; } - /** - * This is called at the end after all the information - * specified by the command is accumulated. - */ virtual void FinalPass(); virtual bool HasFinalPass() const { return true; } - /** - * The name of the command as specified in CMakeList.txt. - */ - virtual const char* GetName() const { return "export_library_dependencies";} - - /** This command is kept for compatibility with older CMake versions. */ - virtual bool IsDiscouraged() const - { - return true; - } - - cmTypeMacro(cmExportLibraryDependenciesCommand, cmCommand); - private: std::string Filename; bool Append; |