[cmake-commits] martink committed cmMakefileTargetGenerator.cxx 1.49
1.50
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Feb 1 11:33:32 EST 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv27945/Source
Modified Files:
cmMakefileTargetGenerator.cxx
Log Message:
BUG: fix for bug number 3964
Index: cmMakefileTargetGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmMakefileTargetGenerator.cxx,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- cmMakefileTargetGenerator.cxx 14 Dec 2006 19:30:41 -0000 1.49
+++ cmMakefileTargetGenerator.cxx 1 Feb 2007 16:33:30 -0000 1.50
@@ -279,6 +279,15 @@
*this->FlagFileStream << lang << "_FLAGS = " << flags << "\n\n";
}
+
+ // Add target-specific flags.
+ if(this->Target->GetProperty("COMPILE_FLAGS"))
+ {
+ std::string flags;
+ this->LocalGenerator->AppendFlags
+ (flags, this->Target->GetProperty("COMPILE_FLAGS"));
+ *this->FlagFileStream << "# TARGET_FLAGS = " << flags << "\n\n";
+ }
}
//----------------------------------------------------------------------------
More information about the Cmake-commits
mailing list