]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dll/dll.bkl
Explicitly link the SDK application example with user32.lib.
[wxWidgets.git] / samples / dll / dll.bkl
index c00e693ef686f8455af13e2557233e1cca7cc5de..271f293ab6262e0555bad1d258c36495f736c80d 100644 (file)
@@ -8,6 +8,7 @@
          cond="PLATFORM_WIN32=='1'">
 
         <define>$(DLLFLAG)</define>
+        <define>MY_DLL_BUILDING</define>
         <include>$(SRCDIR)</include>
 
         <sources>my_dll.cpp</sources>
          the same copy of wx would be used -->
     <exe id="wx_exe" template="wx_sample" template_append="wx_append"
          cond="SHARED=='0' and PLATFORM_WIN32=='1'">
-        <sources>dll_user_wx.cpp</sources>
+        <sources>wx_exe.cpp</sources>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
         <library>my_dll</library>
     </exe>
 
+    <exe id="sdk_exe" template="common_settings"
+         cond="PLATFORM_WIN32=='1'">
+        <app-type>gui</app-type>
+        <sources>sdk_exe.cpp</sources>
+        <library>my_dll</library>
+        <sys-lib>user32</sys-lib>
+    </exe>
 </makefile>