diff options
author | Brad King <brad.king@kitware.com> | 2002-12-13 21:16:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-12-13 21:16:48 (GMT) |
commit | 3348131819bb30a592898631df11aaf8ad8db4d2 (patch) | |
tree | bc84549b8fd511222dfe58aae3d4613b17a85a4d /Source/cmSetSourceFilesPropertiesCommand.cxx | |
parent | 7e824e83a9c97234f23640188c590201eeffea5d (diff) | |
download | CMake-3348131819bb30a592898631df11aaf8ad8db4d2.zip CMake-3348131819bb30a592898631df11aaf8ad8db4d2.tar.gz CMake-3348131819bb30a592898631df11aaf8ad8db4d2.tar.bz2 |
ENH: Added source file property OBJECT_DEPENDS to support generated header files included in non-generated sources.
Diffstat (limited to 'Source/cmSetSourceFilesPropertiesCommand.cxx')
-rw-r--r-- | Source/cmSetSourceFilesPropertiesCommand.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/cmSetSourceFilesPropertiesCommand.cxx b/Source/cmSetSourceFilesPropertiesCommand.cxx index 3933321..2164e35 100644 --- a/Source/cmSetSourceFilesPropertiesCommand.cxx +++ b/Source/cmSetSourceFilesPropertiesCommand.cxx @@ -64,6 +64,19 @@ bool cmSetSourceFilesPropertiesCommand::InitialPass( } propertyPairs.push_back(*j); } + else if(*j == "OBJECT_DEPENDS") + { + doingFiles = false; + propertyPairs.push_back("OBJECT_DEPENDS"); + ++j; + if(j == args.end()) + { + this->SetError("called with incorrect number of arguments " + "OBJECT_DEPENDS with no dependencies"); + return false; + } + propertyPairs.push_back(*j); + } else if(*j == "PROPERTIES") { doingFiles = false; |