[Cmake-commits] [cmake-commits] hoffman committed cmLocalVisualStudio7Generator.cxx 1.235 1.236

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Jan 27 10:26:58 EST 2009


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

Modified Files:
	cmLocalVisualStudio7Generator.cxx 
Log Message:
BUG: fix for 7845, idl files compile even with headerfile only on


Index: cmLocalVisualStudio7Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v
retrieving revision 1.235
retrieving revision 1.236
diff -C 2 -d -r1.235 -r1.236
*** cmLocalVisualStudio7Generator.cxx	16 Dec 2008 14:14:40 -0000	1.235
--- cmLocalVisualStudio7Generator.cxx	27 Jan 2009 15:26:55 -0000	1.236
***************
*** 1303,1311 ****
        lang = sourceLang;
        }
-     // If lang is set, the compiler will generate code automatically.
      // If HEADER_FILE_ONLY is set, we must suppress this generation in
      // the project file
      fc.ExcludedFromBuild =
!       (lang && sf.GetPropertyAsBool("HEADER_FILE_ONLY"));
      if(fc.ExcludedFromBuild)
        {
--- 1303,1310 ----
        lang = sourceLang;
        }
      // If HEADER_FILE_ONLY is set, we must suppress this generation in
      // the project file
      fc.ExcludedFromBuild =
!       (sf.GetPropertyAsBool("HEADER_FILE_ONLY"));
      if(fc.ExcludedFromBuild)
        {



More information about the Cmake-commits mailing list