]> git.saurik.com Git - wxWidgets.git/commitdiff
1. added wxAdvanced
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 2 Aug 2003 01:07:39 +0000 (01:07 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 2 Aug 2003 01:07:39 +0000 (01:07 +0000)
2. fixed setup.h creation in VC++ projects
3. temporarily disable GUI sockets code in non-msw ports so that they link

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/common.bkl
build/bakefiles/files.bkl
build/bakefiles/monolithic.bkl
build/bakefiles/multilib.bkl
build/bakefiles/wxwin.py

index 0ef7e41c41ae951b3f45d8d2ab91b41bd624ebd7..2b802a2508f23c8e393dc990cb06e2306d7ab76d 100644 (file)
     <set var="WXLIB_CORE">
         <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('core')))</if>
     </set>
+    <set var="WXLIB_ADV">
+        <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('adv')))</if>
+    </set>
     <set var="WXLIB_HTML">
         <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('html')))</if>
     </set>
index 7b5d220964b87cde143861eed10c3ca4d54e9419..f9a8f523834928a7f2546697de20f891f9367014 100644 (file)
@@ -357,7 +357,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     src/common/ctrlcmn.cpp
     src/common/ctrlsub.cpp
     src/common/datacmn.cpp
-    src/common/dbgrid.cpp
     src/common/dcbase.cpp
     src/common/dlgcmn.cpp
     src/common/dndcmn.cpp
@@ -416,36 +415,25 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     src/common/wincmn.cpp
     src/common/xpmdecod.cpp
     src/generic/busyinfo.cpp
-    src/generic/calctrl.cpp
     src/generic/choicdgg.cpp
-    src/generic/dcbuffer.cpp
     src/generic/dcpsg.cpp
     src/generic/dirctrlg.cpp
     src/generic/dragimgg.cpp
-    src/generic/grid.cpp
-    src/generic/gridctrl.cpp
-    src/generic/gridsel.cpp
-    src/generic/helpext.cpp
-    src/generic/laywin.cpp
     src/generic/logg.cpp
     src/generic/numdlgg.cpp
     src/generic/panelg.cpp
     src/generic/progdlgg.cpp
     src/generic/renderg.cpp
-    src/generic/sashwin.cpp
     src/generic/scrlwing.cpp
     src/generic/selstore.cpp
     src/generic/spinctlg.cpp
-    src/generic/splash.cpp
     src/generic/splitter.cpp
     src/generic/tbarsmpl.cpp
     src/generic/textdlgg.cpp
-    src/generic/tipdlg.cpp
     src/generic/tipwin.cpp
     src/generic/treectlg.cpp
     src/generic/vlbox.cpp
     src/generic/vscroll.cpp
-    src/generic/wizard.cpp
 </set>
 <set var="GUI_CMN_HDR" hints="files">
     wx/bmpbuttn.h
@@ -467,39 +455,32 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     wx/dcscreen.h
     wx/dialog.h
     wx/dirdlg.h
+    wx/dragimag.h
     wx/filedlg.h
     wx/frame.h
     wx/gauge.h
     wx/gdicmn.h
     wx/generic/accel.h
-    wx/generic/calctrl.h
     wx/generic/choicdgg.h
     wx/generic/colrdlgg.h
     wx/generic/dcpsg.h
     wx/generic/dirctrlg.h
+    wx/generic/dragimgg.h
     wx/generic/filedlgg.h
     wx/generic/fontdlgg.h
-    wx/generic/grid.h
-    wx/generic/grid.h
-    wx/generic/gridctrl.h
-    wx/generic/helpext.h
     wx/generic/imaglist.h
-    wx/generic/laywin.h
     wx/generic/logg.h
     wx/generic/msgdlgg.h
     wx/generic/notebook.h
     wx/generic/panelg.h
     wx/generic/prntdlgg.h
     wx/generic/progdlgg.h
-    wx/generic/sashwin.h
     wx/generic/scrolwin.h
     wx/generic/spinctlg.h
-    wx/generic/splash.h
     wx/generic/splitter.h
     wx/generic/textdlgg.h
     wx/generic/timer.h
     wx/generic/treectlg.h
-    wx/generic/wizard.h
     wx/helphtml.h
     wx/icon.h
     wx/layout.h
@@ -538,7 +519,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     wx/artprov.h
     wx/bitmap.h
     wx/busyinfo.h
-    wx/calctrl.h
     wx/caret.h
     wx/clipbrd.h
     wx/cmdproc.h
@@ -546,8 +526,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     wx/colour.h
     wx/cshelp.h
     wx/dataobj.h
-    wx/dbgrid.h
-    wx/dcbuffer.h
     wx/dcmirror.h
     wx/dcps.h
     wx/dialup.h
@@ -556,7 +534,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     wx/dnd.h
     wx/docmdi.h
     wx/docview.h
-    wx/dragimag.h
     wx/effects.h
     wx/evtloop.h
     wx/fdrepdlg.h
@@ -569,7 +546,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     wx/geometry.h
     wx/gifdecod.h
     wx/glcanvas.h
-    wx/grid.h
     wx/help.h
     wx/helpbase.h
     wx/helpwin.h
@@ -586,7 +562,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     wx/imagtiff.h
     wx/imagxpm.h
     wx/joystick.h
-    wx/laywin.h
     wx/listbase.h
     wx/listctrl.h
     wx/matrix.h
@@ -605,11 +580,9 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     wx/quantize.h
     wx/rawbmp.h
     wx/region.h
-    wx/sashwin.h
     wx/scopeguard.h
     wx/spinbutt.h
     wx/spinctrl.h
-    wx/splash.h
     wx/splitter.h
     wx/stack.h
     wx/statline.h
@@ -619,7 +592,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     wx/tbarbase.h
     wx/tbarsmpl.h
     wx/tglbtn.h
-    wx/tipdlg.h
     wx/tipwin.h
     wx/tooltip.h
     wx/toplevel.h
@@ -630,13 +602,8 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     wx/vms_x_fix.h
     wx/vscroll.h
     wx/wave.h
-    wx/wizard.h
     wx/xpmdecod.h
     wx/xpmhand.h
-
-    wx/generic/dragimgg.h
-    wx/generic/gridsel.h
-
 </set>
 
 
@@ -686,7 +653,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     src/gtk/evtloop.cpp
     src/gtk/font.cpp
     src/gtk/gdiobj.cpp
-    src/gtk/gsockgtk.c
+    <!-- src/gtk/gsockgtk.c FIXME -->
     src/gtk/icon.cpp
     src/gtk/main.cpp
     src/gtk/pen.cpp
@@ -868,7 +835,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     src/motif/frame.cpp
     src/motif/gauge.cpp
     src/motif/gdiobj.cpp
-    src/motif/gsockmot.c
+    <!-- src/motif/gsockmot.c FIXME -->
     src/motif/icon.cpp
     src/motif/listbox.cpp
     src/motif/main.cpp
@@ -997,7 +964,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     src/x11/evtloop.cpp
     src/x11/font.cpp
     src/x11/gdiobj.cpp
-    src/x11/gsockx11.c
+    <!-- src/x11/gsockx11.c FIXME -->
     src/x11/icon.cpp
     src/x11/joystick.cpp
     src/x11/main.cpp
@@ -1404,7 +1371,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     src/os2/gdiimage.cpp
     src/os2/gdiobj.cpp
     src/os2/gsocket.c
-    src/os2/gsockpm.c
+    <!-- src/os2/gsockpm.c FIXME -->
     src/os2/helpwin.cpp
     src/os2/icon.cpp
     src/os2/iniconf.cpp
@@ -1970,6 +1937,52 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
 </set>
 
 
+<!-- ====================================================================== -->
+<!--                               wxAdvanced                               -->
+<!-- ====================================================================== -->
+
+<set var="ADVANCED_MSW_SRC" hints="files">
+</set>
+
+<set var="ADVANCED_MSW_HDR" hints="files">
+</set>
+
+<set var="ADVANCED_CMN_SRC" hints="files">
+    src/common/dbgrid.cpp
+    src/generic/calctrl.cpp
+    src/generic/dcbuffer.cpp
+    src/generic/grid.cpp
+    src/generic/gridctrl.cpp
+    src/generic/gridsel.cpp
+    src/generic/helpext.cpp
+    src/generic/laywin.cpp
+    src/generic/sashwin.cpp
+    src/generic/splash.cpp
+    src/generic/tipdlg.cpp
+    src/generic/wizard.cpp
+</set>
+
+<set var="ADVANCED_CMN_HDR" hints="files">
+    wx/calctrl.h
+    wx/dbgrid.h
+    wx/dcbuffer.h
+    wx/generic/calctrl.h
+    wx/generic/grid.h
+    wx/generic/gridctrl.h
+    wx/generic/gridsel.h
+    wx/generic/helpext.h
+    wx/generic/laywin.h
+    wx/generic/sashwin.h
+    wx/generic/splash.h
+    wx/generic/wizard.h
+    wx/grid.h
+    wx/laywin.h
+    wx/sashwin.h
+    wx/splash.h
+    wx/tipdlg.h
+    wx/wizard.h
+</set>
+
 
 <!-- ====================================================================== -->
 <!--                               wxHTML                                   -->
@@ -2122,6 +2135,16 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
         $(NET_CMN_SRC) $(NET_PLATFORM_SRC)
     </set>
 
+    
+    <!-- wxAdvanced files: -->
+    <set var="ADVANCED_PLATFORM_SRC" hints="files">
+        <if cond="TOOLKIT=='MSW'">$(ADVANCED_MSW_SRC)</if>
+    </set>
+    <set var="ADVANCED_PLATFORM_HDR" hints="files">
+        <if cond="TOOLKIT=='MSW'">$(ADVANCED_MSW_HDR)</if>
+    </set>
+    <set var="ADVANCED_SRC">$(ADVANCED_CMN_SRC) $(ADVANCED_PLATFORM_SRC)</set>
+    <set var="ADVANCED_HDR">$(ADVANCED_CMN_HDR) $(ADVANCED_PLATFORM_HDR)</set>
 
 
     <!-- GUI sources: -->
@@ -2186,7 +2209,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
     <set var="ALL_HEADERS" make_var="1" hints="files">
         $(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)
         $(NET_CMN_HDR) $(NET_PLATFORM_HDR)
-        $(ALL_GUI_HEADERS)
+        $(ALL_GUI_HEADERS) $(ADVANCED_HDR)
         $(HTML_HDR) $(XML_HDR)
         $(OPENGL_HDR)
     </set>
index 5a04aa477a082bbc1dcd9985926a2a16ea8ef3d6..188e518d5d53011ca789e8466f9edb79984c1777 100644 (file)
@@ -3,7 +3,9 @@
 <makefile>
     
     <set var="MONOLIB_GUI_SRC">
-        <if cond="USE_GUI=='1'">$(CORE_SRC) $(HTML_SRC)</if>
+        <if cond="USE_GUI=='1'">
+            $(CORE_SRC) $(ADVANCED_SRC) $(HTML_SRC)
+        </if>
     </set>
     <set var="MONOLIB_SRC">
         $(BASE_SRC) $(BASE_AND_GUI_SRC) $(NET_SRC) $(MONOLIB_GUI_SRC) $(XML_SRC)
@@ -24,6 +26,7 @@
         <define>wxUSE_BASE=1</define> 
         <sources>$(MONOLIB_SRC)</sources>
         <msvc-headers>$(ALL_HEADERS)</msvc-headers>
+        <msvc-copy-setup-h/>
     </lib>
 
 </makefile>
index bc6d5a6b5ac0b0df22b4a27b56f7ba4c1e9c35c1..d061d13cccad06d78205a1bd9c1adea5dd72badd 100644 (file)
@@ -23,6 +23,7 @@
         <define>wxUSE_GUI=0</define> 
         <sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
         <msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
+        <msvc-copy-setup-h/>
     </lib>
     
     
         <sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
         <msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
     </lib>
+    
+    
+    <!-- ================================================================= -->
+    <!--                     "Advanced" controls library                   -->
+    <!-- ================================================================= -->
+    
+    <dll id="advdll" template="wx_dll"
+         cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
+        <define>WXUSINGDLL</define>
+        <define>WXMAKINGDLL_ADV</define>
+        <sources>$(ADVANCED_SRC)</sources>
+        <msvc-headers>$(ADVANCED_HDR)</msvc-headers>
+        <library>coredll</library>
+        <library>basedll</library>
+    </dll>
+    
+    <lib id="advlib" template="wx_lib"
+         cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
+        <sources>$(ADVANCED_SRC)</sources>
+        <msvc-headers>$(ADVANCED_HDR)</msvc-headers>
+    </lib>
 
     
     <!-- ================================================================ -->
index df23f4c9cf4a4926a83aa166331763e8b026b35c..688eb37cca40a06599a2b3df2e2e30a81935cdc6 100644 (file)
@@ -30,10 +30,10 @@ def mk_wxid(id):
 
 
 # All libs that are part of the main library (i.e. non-contrib):
-MAIN_LIBS = ['mono', 'base', 'core', 'html', 'xml', 'net']
+MAIN_LIBS = ['mono', 'base', 'core', 'adv', 'html', 'xml', 'net']
 # List of library names/ids for categories with different names:
 LIBS_NOGUI = ['xml', 'net']
-LIBS_GUI   = ['core', 'html', 'gl']
+LIBS_GUI   = ['core', 'adv', 'html', 'gl']
 
 def mkLibName(wxid):
     """Returns string that can be used as library name, including name