X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8c3288a7b682794e4c4a60f2b8487627d0f7c1aa..1dfc3cda6eb139a87773646aacde950c9c45126a:/src/makeb32.env diff --git a/src/makeb32.env b/src/makeb32.env index 739cc9a2ad..857e503f62 100644 --- a/src/makeb32.env +++ b/src/makeb32.env @@ -15,6 +15,8 @@ BCCDIR=$(MAKEDIR)\.. ARCHINCDIR=$(WXDIR)\lib\msw ARCHSETUPH=$(ARCHINCDIR)\wx\setup.h +#see below for SETUPSRCDIR + # Using a config file isn't compatible across all BC++ versions # LNKCFG=$(WXDIR)\src\msw\bclnk32.cfg @@ -81,6 +83,20 @@ WXLIBNAME=wx32 WXLIBNAME=wx32 !endif +## Use this if you want to use the UNIV controls set rather than the native ones +## make -f makefile.b32 WXUSINGUNIV=1 +!if "$(WXUSINGUNIV)" == "1" +USE_UNIV="UNIV" +CFG=$(CFG)v +WXLIBNAME=$(WXLIBNAME)v +ARCHINCDIR=$(ARCHINCDIR)v +SETUPSRCDIR=$(WXDIR)\include\wx\univ +PORT=__WXUNIVERSAL__ +!else +USE_UNIV="" +PORT=__WXMSW__ +SETUPSRCDIR=$(WXDIR)\include\wx\msw +!endif #not sure what to do with unicode builds - we need to define something ? #!if "$(UNICODE)" == "1" @@ -137,7 +153,7 @@ LINK_FLAGS= /Tpd /c $(EXTRALINKFLAGS) !endif CFG=$(CFG).cfg -CPPFLAGS=$(CPPFLAGS) $(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG) +CPPFLAGS=$(CPPFLAGS) $(DLL_FLAGS) @$(CFG) $(EXTRACPPFLAGS) DUMMY=dummy