[cmake-commits] hoffman committed cmGetSourceFilePropertyCommand.cxx
1.11 1.12
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Dec 18 09:57:43 EST 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv8126/Source
Modified Files:
cmGetSourceFilePropertyCommand.cxx
Log Message:
BUG: fix for bug 6172 add get source file prop LANGUAGE
Index: cmGetSourceFilePropertyCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGetSourceFilePropertyCommand.cxx,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cmGetSourceFilePropertyCommand.cxx 10 Jul 2007 18:05:06 -0000 1.11
+++ cmGetSourceFilePropertyCommand.cxx 18 Dec 2007 14:57:41 -0000 1.12
@@ -49,6 +49,11 @@
// needs to be changed to be mutable etc. for computed properties to
// work properly.
sf->GetFullPath();
+ }
+ else if(args[2] == "LANGUAGE")
+ {
+ this->Makefile->AddDefinition(var, sf->GetLanguage());
+ return true;
}
const char *prop = sf->GetProperty(args[2].c_str());
if (prop)
More information about the Cmake-commits
mailing list