X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/442253be2d0b089683f34a334f1935994fb2e833..89e94a4bffda38bdb53d875f022982273f9580f2:/build/bakefiles/common.bkl
diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index ff94db56b1..ac23bd5ecf 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -29,37 +29,9 @@
-
-
-
- $(wxwin.getVersionMajor())
- $(wxwin.getVersionMinor())
- $(wxwin.getVersionRelease())
-
- $(WXVER_MAJOR).$(WXVER_MINOR)
-
-
- $(WXVER_MAJOR)$(WXVER_MINOR)
-
-
- $(WX_RELEASE).$(WXVER_RELEASE)
-
-
- $(WX_RELEASE_NODOT)$(WXVER_RELEASE)
-
-
- $(int(int(WXVER_MINOR) % 2 == 0))
-
-
- 0.0.0
- $(WXVER_RELEASE).0.0
-
- $(WX_VERSION)
-
- $(WX_RELEASE_NODOT)
- $(WX_VERSION_NODOT)
-
+
+
@@ -148,6 +120,9 @@
$(mk.evalExpr(wxwin.mkLibName('net')))
+
+ $(mk.evalExpr(wxwin.mkLibName('qa')))
+
$(mk.evalExpr(wxwin.mkLibName('core')))
@@ -208,8 +183,10 @@
- lib
- dll
+ lib
+ dll
+ $(TOOLKIT_LOWERCASE)_lib
+ $(TOOLKIT_LOWERCASE)_dll
@@ -238,7 +215,8 @@
off
- $(DEBUGINFO)
+ on
+ off
off
on
@@ -259,6 +237,16 @@
single
+
+ wxNO_RTTI
+
+
+ wxNO_EXCEPTIONS
+
+
+ wxNO_THREADS
+
+
__WXDEBUG__
__WXDEBUG__
@@ -271,6 +259,9 @@
_UNICODE
+
+ wxUSE_UNICODE_MSLU=1
+
@@ -294,6 +285,13 @@
$(NO_VC_CRTDBG)
$(WIN32_WINNT)
+
+
+ $(_ldlibs.replace('ccrtrtti.lib', ''))
+ $(_cppflags.replace('/GR', ''))
+
@@ -323,37 +321,70 @@
-
- $(addPrefixToList('include\', wxwin.headersOnly(value)))
-
+
+
+
+ $(addPrefixToList('include\', wxwin.headersOnly(value)))
+
+
+
+
+ $(addPrefixToList('include\\', wxwin.headersOnly(value)))
+
+
-
-
- wx/msw/wince/setup.h
- wince\setup.h
- wince_setup_h
-
-
- wx/msw/setup.h
- setup.h
- setup_h
-
+
-
- include\wx\msw\$(vc_setup_h)
-
-
Creating $(SETUPHDIR)\wx\setup.h
-InputPath=..\include\wx\msw\$(vc_setup_h)
+InputPath=..\include\wx\%s
"$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)"
$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
+
+
+
+
+
+
+ $(addPrefixToList('wx/', value))
+
+
+ $(nativePaths(addPrefixToList('include/wx/', value)))
+
+
+
+
+ msw/wince/setup.h
+
+
+ $(msvc_copy_setup_h_script % 'msw\wince\setup.h')
+
+
+
+
+ msw/setup.h
+ univ/setup.h
+
+
+
+ $(msvc_copy_setup_h_script % 'msw\setup.h')
+
+
+
+
+ $(msvc_copy_setup_h_script % 'univ\setup.h')
+
+
+
+
+
+
@@ -394,7 +425,11 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
__WX$(TOOLKIT)__
$(WXUNIV_DEFINE)
$(DEBUG_DEFINE)
+ $(EXCEPTIONS_DEFINE)
+ $(RTTI_DEFINE)
+ $(THREAD_DEFINE)
$(UNICODE_DEFINE)
+ $(MSLU_DEFINE)
$(TOP_SRCDIR)include
@@ -425,8 +460,15 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
$(EXTRALIBS_FOR_BASE)
+
+
+
+ upm32
+
+
+
-
+
$(UNICOWS_LIB)
ole2w32
@@ -488,7 +530,6 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
$(WXLIBNAME)
- HELL:$(TOOLKIT)
$(WXTOPDIR)src/msw/dummy.cpp
@@ -524,7 +565,9 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
$(WXDLLNAME)
$(WX_VERSION)
$(WXSOVERSION)
- $(WXMACVERSION)
+
+
+ $(WXMACVERSION_CMD)
@@ -533,7 +576,7 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
$(TOP_SRCDIR)include
- src/msw/version.rc
+ $(WXTOPDIR)src/msw/version.rc