dll.bkl 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?xml version="1.0" ?>
  2. <makefile>
  3. <include file="../../build/bakefiles/common_samples.bkl"/>
  4. <dll id="my_dll" template="wx" template_append="wx_append"
  5. cond="PLATFORM_WIN32=='1'">
  6. <define>$(DLLFLAG)</define>
  7. <define>MY_DLL_BUILDING</define>
  8. <include>$(SRCDIR)</include>
  9. <sources>my_dll.cpp</sources>
  10. <wx-lib>core</wx-lib>
  11. <wx-lib>base</wx-lib>
  12. </dll>
  13. <!-- this test only makes sense with statically built wx, otherwise
  14. the same copy of wx would be used -->
  15. <exe id="wx_exe" template="wx_sample" template_append="wx_append"
  16. cond="SHARED=='0' and PLATFORM_WIN32=='1'">
  17. <sources>wx_exe.cpp</sources>
  18. <wx-lib>core</wx-lib>
  19. <wx-lib>base</wx-lib>
  20. <library>my_dll</library>
  21. </exe>
  22. <exe id="sdk_exe" template="common_settings"
  23. cond="PLATFORM_WIN32=='1'">
  24. <app-type>gui</app-type>
  25. <sources>sdk_exe.cpp</sources>
  26. <library>my_dll</library>
  27. <sys-lib>user32</sys-lib>
  28. </exe>
  29. </makefile>