cmBuildNameCommand.h 1.0 KB

123456789101112131415161718192021222324252627282930
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmBuildNameCommand_h
  11. #define cmBuildNameCommand_h
  12. #include "cmCommand.h"
  13. class cmBuildNameCommand : public cmCommand
  14. {
  15. public:
  16. cmTypeMacro(cmBuildNameCommand, cmCommand);
  17. virtual cmCommand* Clone() { return new cmBuildNameCommand; }
  18. virtual bool InitialPass(std::vector<std::string> const& args,
  19. cmExecutionStatus &status);
  20. virtual std::string GetName() const {return "build_name";}
  21. virtual bool IsScriptable() const { return true; }
  22. };
  23. #endif