summaryrefslogtreecommitdiffstats
path: root/Source/cmSetSourceFilesPropertiesCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-12-13 21:16:48 (GMT)
committerBrad King <brad.king@kitware.com>2002-12-13 21:16:48 (GMT)
commit3348131819bb30a592898631df11aaf8ad8db4d2 (patch)
treebc84549b8fd511222dfe58aae3d4613b17a85a4d /Source/cmSetSourceFilesPropertiesCommand.cxx
parent7e824e83a9c97234f23640188c590201eeffea5d (diff)
downloadCMake-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.cxx13
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;