]> git.saurik.com Git - wxWidgets.git/commitdiff
Added dummy resources for wxCocoa so bundles will build
authorDavid Elliott <dfe@tgwbd.org>
Mon, 11 Aug 2003 14:53:42 +0000 (14:53 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Mon, 11 Aug 2003 14:53:42 +0000 (14:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/wx.bkl
src/cocoa/dummy.r [new file with mode: 0644]

index 7de10f2a767d96a4c0aa17e1e51f89aa5e33dc4a..1c5959a059ea3dead21bfedddc7ae28bdad0305e 100644 (file)
                 $(INSTALL_DATA) $(MACOS_RSRC) $(LIBDIR)
             </command>
         </action>
+        <action id="cocoa-res" cond="TOOLKIT=='COCOA'">
+            <dependency-of>all</dependency-of>
+            <set var="__targetname">$(MACOS_R)</set>
+            <command>
+                $(RESCOMP) -d __UNIX__ -useDF $(top_srcdir)/src/cocoa/dummy.r -o $(MACOS_RSRC)
+                $(DEREZ) $(MACOS_RSRC) -useDF >$(MACOS_R)
+            </command>
+            <clean-files>$(MACOS_RSRC) $(MACOS_R)</clean-files>
+        </action>
+        <action id="cocoa-res-install" cond="TOOLKIT=='COCOA'">
+            <dependency-of>install</dependency-of>
+            <depends>macos-res</depends>
+            <command>
+                $(INSTALL_DATA) $(MACOS_R) $(LIBDIR)
+                $(INSTALL_DATA) $(MACOS_RSRC) $(LIBDIR)
+            </command>
+        </action>
 
     </if>
 
diff --git a/src/cocoa/dummy.r b/src/cocoa/dummy.r
new file mode 100644 (file)
index 0000000..e69de29