]> git.saurik.com Git - wxWidgets.git/commitdiff
enable VS2005 project files for samples, but without dependencies on library projects...
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 18 Nov 2007 18:00:21 +0000 (18:00 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 18 Nov 2007 18:00:21 +0000 (18:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/Bakefiles.bkgen
build/bakefiles/common.bkl

index b7f1645dba95d3e7352c226f1db9514ebe88330a..2d6a3ac40ad191536ea2be6030c34bd9eac4bb42 100644 (file)
 
     <!-- List of output formats to generate: -->
     <add-formats>
-        autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom
+        autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,msvs2005prj,watcom
     </add-formats>
 
-    <!-- FIXME: Bakefile cannot handle dependencies on external .vcproj files
-                yet, so we can't generate samples projects for now: -->
-    <add-formats files="wx.bkl">msvs2005prj</add-formats>
-
     <del-formats files="../../samples/*.bkl">
         autoconf,msvc6prj,msevc4prj,msvs2005prj
     </del-formats>
index f13bd3f0f6748fc3b0f5660d8cbea1302cf44410..8a24d46d30a9f6955fdfc1b7c65bdb15808fc368 100644 (file)
@@ -753,7 +753,8 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
     <define-tag name="wx-lib" rules="exe,dll,module">
         <sys-lib>$(wxwin.libToLink(value))</sys-lib>
         <ldlibs>$(wxwin.extraLdflags(value))</ldlibs>
-        <if cond="IS_MSVC_PRJ=='1' and MONOLITHIC=='0'">
+        <!-- msvs2005x* formats don't support external dependencies yet: -->
+        <if cond="FORMAT in ['msvc6prj','msevc4prj'] and MONOLITHIC=='0'">
             <depends-on-dsp>$(wxwin.makeDspDependency(value))</depends-on-dsp>
         </if>
     </define-tag>