[cmake-commits] king committed cmGlobalXCodeGenerator.cxx 1.140 1.141

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Mar 27 22:16:01 EST 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv31644

Modified Files:
	cmGlobalXCodeGenerator.cxx 
Log Message:
COMP: Restored shared local variable removed by previous change.


Index: cmGlobalXCodeGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- cmGlobalXCodeGenerator.cxx	28 Mar 2007 03:13:25 -0000	1.140
+++ cmGlobalXCodeGenerator.cxx	28 Mar 2007 03:15:59 -0000	1.141
@@ -1067,6 +1067,9 @@
 {
   std::string flags;
   std::string defFlags;
+  bool shared = ((target.GetType() == cmTarget::SHARED_LIBRARY) ||
+                 (target.GetType() == cmTarget::MODULE_LIBRARY));
+
   // Add the export symbol definition for shared library objects.
   if(const char* exportMacro = target.GetExportMacro())
     {



More information about the Cmake-commits mailing list