summaryrefslogtreecommitdiffstats
path: root/Source/cmGetSourceFilePropertyCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-08-16 15:20:18 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-08-16 15:20:18 (GMT)
commit7b5a8762c6d5f7915db99e2344d169d14a4fda65 (patch)
tree4c5294710e7c720afde51e8e7170a39895d17c41 /Source/cmGetSourceFilePropertyCommand.cxx
parentf7b1a90256a3e7d94cbb58b595eee5190e8958ba (diff)
downloadCMake-7b5a8762c6d5f7915db99e2344d169d14a4fda65.zip
CMake-7b5a8762c6d5f7915db99e2344d169d14a4fda65.tar.gz
CMake-7b5a8762c6d5f7915db99e2344d169d14a4fda65.tar.bz2
modified how source files store properties
Diffstat (limited to 'Source/cmGetSourceFilePropertyCommand.cxx')
-rw-r--r--Source/cmGetSourceFilePropertyCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGetSourceFilePropertyCommand.cxx b/Source/cmGetSourceFilePropertyCommand.cxx
index df8ca49..bfd7743 100644
--- a/Source/cmGetSourceFilePropertyCommand.cxx
+++ b/Source/cmGetSourceFilePropertyCommand.cxx
@@ -32,15 +32,15 @@ bool cmGetSourceFilePropertyCommand::InitialPass(std::vector<std::string> const&
{
if(args[2] == "ABSTRACT")
{
- m_Makefile->AddDefinition(var, sf->IsAnAbstractClass());
+ m_Makefile->AddDefinition(var, sf->GetPropertyAsBool("ABSTRACT"));
}
if(args[2] == "WRAP_EXCLUDE")
{
- m_Makefile->AddDefinition(var, sf->GetWrapExclude());
+ m_Makefile->AddDefinition(var, sf->GetPropertyAsBool("WRAP_EXCLUDE"));
}
if(args[2] == "COMPILE_FLAGS")
{
- m_Makefile->AddDefinition(var, sf->GetCompileFlags());
+ m_Makefile->AddDefinition(var, sf->GetProperty("COMPILE_FLAGS"));
}
}
else