diff options
author | Brad King <brad.king@kitware.com> | 2008-01-17 20:54:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-17 20:54:49 (GMT) |
commit | b8357db11d96eeb995b8443404e46466a493ab15 (patch) | |
tree | 9ccde29b2977a773527fed66ecb595e0b8282fbc /Source/cmSetPropertiesCommand.h | |
parent | 456631225b11163f52b82989c1824bcd9ca3471c (diff) | |
download | CMake-b8357db11d96eeb995b8443404e46466a493ab15.zip CMake-b8357db11d96eeb995b8443404e46466a493ab15.tar.gz CMake-b8357db11d96eeb995b8443404e46466a493ab15.tar.bz2 |
ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more powerful signature.
Diffstat (limited to 'Source/cmSetPropertiesCommand.h')
-rw-r--r-- | Source/cmSetPropertiesCommand.h | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/Source/cmSetPropertiesCommand.h b/Source/cmSetPropertiesCommand.h deleted file mode 100644 index ce85cbd..0000000 --- a/Source/cmSetPropertiesCommand.h +++ /dev/null @@ -1,74 +0,0 @@ -/*========================================================================= - - Program: CMake - Cross-Platform Makefile Generator - Module: $RCSfile$ - Language: C++ - Date: $Date$ - Version: $Revision$ - - Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. - See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. - - This software is distributed WITHOUT ANY WARRANTY; without even - the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR - PURPOSE. See the above copyright notices for more information. - -=========================================================================*/ -#ifndef cmSetsPropertiesCommand_h -#define cmSetsPropertiesCommand_h - -#include "cmCommand.h" - -class cmSetPropertiesCommand : public cmCommand -{ -public: - virtual cmCommand* Clone() - { - return new cmSetPropertiesCommand; - } - - /** - * This is called when the command is first encountered in - * the input file. - */ - virtual bool InitialPass(std::vector<std::string> const& args); - - /** - * The name of the command as specified in CMakeList.txt. - */ - virtual const char* GetName() { return "set_properties";} - - /** - * Succinct documentation. - */ - virtual const char* GetTerseDocumentation() - { - return "Set properties used by CMake."; - } - - /** - * Longer documentation. - */ - virtual const char* GetFullDocumentation() - { - return - " set_properties(scope_value\n" - " PROPERTIES prop1 value1\n" - " prop2 value2 ...)\n" - "Set properties on something. The scope_value is either GLOBAL, " - "DIRECTORY dir_name, TARGET tgt_name, SOURCE_FILE src_name, " - "or TEST test_name." - ; - } - - /** - * This determines if the command is invoked when in script mode. - */ - virtual bool IsScriptable() { return true; } - - cmTypeMacro(cmSetPropertiesCommand, cmCommand); -}; - - - -#endif |