Completely remove "adv" library from CMake build system
This build system is new and so doesn't need to keep "adv" for compatibility.
This commit is contained in:
@@ -8,22 +8,22 @@
|
||||
#############################################################################
|
||||
|
||||
wx_add_sample(access accesstest.cpp DEPENDS wxUSE_ACCESSIBILITY)
|
||||
wx_add_sample(animate anitest.cpp anitest.h LIBRARIES adv DATA throbber.gif hourglass.ani DEPENDS wxUSE_ANIMATIONCTRL)
|
||||
wx_add_sample(animate anitest.cpp anitest.h DATA throbber.gif hourglass.ani DEPENDS wxUSE_ANIMATIONCTRL)
|
||||
wx_add_sample(archive CONSOLE)
|
||||
wx_add_sample(artprov arttest.cpp artbrows.cpp artbrows.h)
|
||||
wx_add_sample(aui auidemo.cpp LIBRARIES adv aui html NAME auidemo DEPENDS wxUSE_AUI)
|
||||
wx_add_sample(calendar RES calendar.rc LIBRARIES adv DEPENDS wxUSE_CALENDARCTRL)
|
||||
wx_add_sample(aui auidemo.cpp LIBRARIES aui html NAME auidemo DEPENDS wxUSE_AUI)
|
||||
wx_add_sample(calendar RES calendar.rc DEPENDS wxUSE_CALENDARCTRL)
|
||||
wx_add_sample(caret DEPENDS wxUSE_CARET)
|
||||
wx_add_sample(clipboard DEPENDS wxUSE_CLIPBOARD)
|
||||
wx_add_sample(collpane LIBRARIES adv DEPENDS wxUSE_COLLPANE)
|
||||
wx_add_sample(combo LIBRARIES adv DATA dropbuth.png dropbutn.png dropbutp.png DEPENDS wxUSE_COMBOCTRL)
|
||||
wx_add_sample(collpane DEPENDS wxUSE_COLLPANE)
|
||||
wx_add_sample(combo DATA dropbuth.png dropbutn.png dropbutp.png DEPENDS wxUSE_COMBOCTRL)
|
||||
wx_add_sample(config conftest.cpp DEPENDS wxUSE_CONFIG)
|
||||
wx_add_sample(console CONSOLE IMPORTANT)
|
||||
wx_add_sample(dataview IMPORTANT dataview.cpp mymodels.cpp mymodels.h LIBRARIES adv DEPENDS wxUSE_DATAVIEWCTRL)
|
||||
wx_add_sample(dataview IMPORTANT dataview.cpp mymodels.cpp mymodels.h DEPENDS wxUSE_DATAVIEWCTRL)
|
||||
if(wxUSE_ON_FATAL_EXCEPTION AND (NOT WIN32 OR MSVC))
|
||||
wx_add_sample(debugrpt LIBRARIES qa DEPENDS wxUSE_DEBUGREPORT)
|
||||
endif()
|
||||
wx_add_sample(dialogs dialogs.cpp dialogs.h LIBRARIES adv DATA tips.txt)
|
||||
wx_add_sample(dialogs dialogs.cpp dialogs.h DATA tips.txt)
|
||||
wx_add_sample(dialup nettest.cpp LIBRARIES net DEPENDS wxUSE_DIALUP_MANAGER)
|
||||
wx_add_sample(display DEPENDS wxUSE_DISPLAY)
|
||||
wx_add_sample(dnd dnd.cpp RES dnd.rc DATA wxwin.png DEPENDS wxUSE_DRAG_AND_DROP)
|
||||
@@ -39,13 +39,13 @@ wx_add_sample(except DEPENDS wxUSE_EXCEPTIONS)
|
||||
wx_add_sample(exec)
|
||||
wx_add_sample(font DATA wxprivate.ttf)
|
||||
wx_add_sample(fswatcher DEPENDS wxUSE_FSWATCHER)
|
||||
wx_add_sample(grid griddemo.cpp griddemo.h LIBRARIES adv DEPENDS wxUSE_GRID)
|
||||
wx_add_sample(grid griddemo.cpp griddemo.h DEPENDS wxUSE_GRID)
|
||||
|
||||
wx_list_add_prefix(HELP_DOC_FILES doc/
|
||||
aindex.html down.gif dxxgifs.tex HIER.html icon1.gif icon2.gif index.html
|
||||
logo.gif wx204.htm wx34.htm wxExtHelpController.html wxhelp.map wx.htm
|
||||
)
|
||||
wx_add_sample(help demo.cpp LIBRARIES html adv
|
||||
wx_add_sample(help demo.cpp LIBRARIES html
|
||||
DATA
|
||||
back.gif bullet.bmp contents.gif cshelp.txt doc.chm doc.cnt doc.hhc
|
||||
doc.hhk doc.hhp doc.hlp doc.hpj doc.zip forward.gif up.gif
|
||||
@@ -73,7 +73,7 @@ wx_add_sample(ipc server.cpp server.h connection.h ipcsetup.h NAME ipcserver LIB
|
||||
wx_add_sample(ipc CONSOLE baseclient.cpp connection.h ipcsetup.h NAME baseipcclient LIBRARIES net DEPENDS wxUSE_IPC)
|
||||
wx_add_sample(ipc CONSOLE baseserver.cpp connection.h ipcsetup.h NAME baseipcserver LIBRARIES net DEPENDS wxUSE_IPC)
|
||||
set(wxSAMPLE_FOLDER)
|
||||
wx_add_sample(joytest joytest.cpp joytest.h DATA buttonpress.wav LIBRARIES adv DEPENDS wxUSE_JOYSTICK)
|
||||
wx_add_sample(joytest joytest.cpp joytest.h DATA buttonpress.wav DEPENDS wxUSE_JOYSTICK)
|
||||
wx_add_sample(keyboard)
|
||||
wx_add_sample(layout layout.cpp layout.h)
|
||||
wx_add_sample(listctrl listtest.cpp listtest.h RES listtest.rc DEPENDS wxUSE_LISTCTRL)
|
||||
@@ -82,7 +82,7 @@ wx_add_sample(mediaplayer LIBRARIES media DEPENDS wxUSE_MEDIACTRL)
|
||||
wx_add_sample(memcheck)
|
||||
wx_add_sample(menu DEPENDS wxUSE_MENUS)
|
||||
wx_add_sample(minimal IMPORTANT)
|
||||
wx_add_sample(notebook notebook.cpp notebook.h LIBRARIES aui adv DEPENDS wxUSE_NOTEBOOK)
|
||||
wx_add_sample(notebook notebook.cpp notebook.h LIBRARIES aui DEPENDS wxUSE_NOTEBOOK)
|
||||
if(wxUSE_OPENGL)
|
||||
set(wxSAMPLE_SUBDIR opengl/)
|
||||
set(wxSAMPLE_FOLDER OpenGL)
|
||||
@@ -106,12 +106,12 @@ wx_add_sample(power)
|
||||
wx_add_sample(preferences DEPENDS wxUSE_PREFERENCES_EDITOR)
|
||||
wx_add_sample(printing printing.cpp printing.h DEPENDS wxUSE_PRINTING_ARCHITECTURE)
|
||||
wx_add_sample(propgrid propgrid.cpp propgrid_minimal.cpp sampleprops.cpp
|
||||
tests.cpp sampleprops.h propgrid.h LIBRARIES adv propgrid NAME propgriddemo DEPENDS wxUSE_PROPGRID)
|
||||
tests.cpp sampleprops.h propgrid.h LIBRARIES propgrid NAME propgriddemo DEPENDS wxUSE_PROPGRID)
|
||||
wx_add_sample(render FOLDER render)
|
||||
wx_add_sample(render DLL renddll.cpp NAME renddll FOLDER render)
|
||||
wx_add_sample(ribbon ribbondemo.cpp LIBRARIES ribbon adv NAME ribbondemo DEPENDS wxUSE_RIBBON)
|
||||
wx_add_sample(richtext LIBRARIES richtext adv html xml NAME richtextdemo DEPENDS wxUSE_XML wxUSE_RICHTEXT)
|
||||
wx_add_sample(sashtest sashtest.cpp sashtest.h RES sashtest.rc LIBRARIES adv DEPENDS wxUSE_SASH)
|
||||
wx_add_sample(ribbon ribbondemo.cpp LIBRARIES ribbon NAME ribbondemo DEPENDS wxUSE_RIBBON)
|
||||
wx_add_sample(richtext LIBRARIES richtext html xml NAME richtextdemo DEPENDS wxUSE_XML wxUSE_RICHTEXT)
|
||||
wx_add_sample(sashtest sashtest.cpp sashtest.h RES sashtest.rc DEPENDS wxUSE_SASH)
|
||||
wx_add_sample(scroll)
|
||||
wx_add_sample(secretstore CONSOLE DEPENDS wxUSE_SECRETSTORE)
|
||||
wx_add_sample(shaped DATA star.png)
|
||||
@@ -121,8 +121,8 @@ if(wxUSE_SOCKETS)
|
||||
wx_add_sample(sockets CONSOLE baseclient.cpp NAME baseclient LIBRARIES net FOLDER sockets)
|
||||
wx_add_sample(sockets CONSOLE baseserver.cpp NAME baseserver LIBRARIES net FOLDER sockets)
|
||||
endif()
|
||||
wx_add_sample(sound RES sound.rc DATA 9000g.wav cuckoo.wav doggrowl.wav tinkalink2.wav LIBRARIES adv DEPENDS wxUSE_SOUND)
|
||||
wx_add_sample(splash DATA splash.png press.mpg LIBRARIES adv DEPENDS wxUSE_SPLASH)
|
||||
wx_add_sample(sound RES sound.rc DATA 9000g.wav cuckoo.wav doggrowl.wav tinkalink2.wav DEPENDS wxUSE_SOUND)
|
||||
wx_add_sample(splash DATA splash.png press.mpg DEPENDS wxUSE_SPLASH)
|
||||
if(TARGET splash AND wxUSE_MEDIACTRL)
|
||||
wx_exe_link_libraries(splash media)
|
||||
endif()
|
||||
@@ -132,17 +132,17 @@ wx_add_sample(stc stctest.cpp edit.cpp prefs.cpp edit.h defsext.h prefs.h
|
||||
DATA stctest.cpp NAME stctest LIBRARIES stc DEPENDS wxUSE_STC)
|
||||
wx_add_sample(svg svgtest.cpp RES svgtest.rc DEPENDS wxUSE_SVG)
|
||||
wx_add_sample(taborder)
|
||||
wx_add_sample(taskbar tbtest.cpp tbtest.h LIBRARIES adv DEPENDS wxUSE_TASKBARICON)
|
||||
wx_add_sample(taskbar tbtest.cpp tbtest.h DEPENDS wxUSE_TASKBARICON)
|
||||
wx_add_sample(text DEPENDS wxUSE_TEXTCTRL)
|
||||
wx_add_sample(thread DEPENDS wxUSE_THREADS)
|
||||
wx_add_sample(toolbar RES toolbar.rc DEPENDS wxUSE_TOOLBAR)
|
||||
wx_add_sample(treectrl treetest.cpp treetest.h DEPENDS wxUSE_TREECTRL)
|
||||
wx_add_sample(treelist LIBRARIES adv DEPENDS wxUSE_TREELISTCTRL)
|
||||
wx_add_sample(treelist DEPENDS wxUSE_TREELISTCTRL)
|
||||
wx_add_sample(typetest typetest.cpp typetest.h)
|
||||
wx_add_sample(uiaction DEPENDS wxUSE_UIACTIONSIMULATOR)
|
||||
wx_add_sample(validate validate.cpp validate.h DEPENDS wxUSE_VALIDATORS)
|
||||
wx_add_sample(vscroll vstest.cpp)
|
||||
wx_add_sample(webview LIBRARIES webview stc adv NAME webviewsample DEPENDS wxUSE_WEBVIEW)
|
||||
wx_add_sample(webview LIBRARIES webview stc NAME webviewsample DEPENDS wxUSE_WEBVIEW)
|
||||
# widgets Sample
|
||||
set(SAMPLE_WIDGETS_SRC
|
||||
activityindicator.cpp
|
||||
@@ -201,9 +201,8 @@ wx_list_add_prefix(WIDGETS_RC_FILES icons/
|
||||
)
|
||||
wx_add_sample(widgets IMPORTANT ${SAMPLE_WIDGETS_SRC}
|
||||
DATA ${WIDGETS_RC_FILES} textctrl.cpp
|
||||
LIBRARIES adv
|
||||
)
|
||||
wx_add_sample(wizard LIBRARIES adv DEPENDS wxUSE_WIZARDDLG)
|
||||
wx_add_sample(wizard DEPENDS wxUSE_WIZARDDLG)
|
||||
wx_add_sample(wrapsizer)
|
||||
|
||||
wx_list_add_prefix(XRC_RC_FILES rc/
|
||||
@@ -232,7 +231,7 @@ wx_add_sample(xrc
|
||||
custclas.h
|
||||
objrefdlg.h
|
||||
DATA ${XRC_RC_FILES}
|
||||
LIBRARIES aui ribbon xrc html adv
|
||||
LIBRARIES aui ribbon xrc html
|
||||
NAME xrcdemo
|
||||
DEPENDS wxUSE_XML wxUSE_XRC
|
||||
)
|
||||
@@ -263,5 +262,5 @@ if(WIN32)
|
||||
wx_add_sample(nativdlg nativdlg.cpp nativdlg.h resource.h RES nativdlg.rc)
|
||||
wx_add_sample(oleauto DEPENDS wxUSE_OLE)
|
||||
wx_add_sample(regtest RES regtest.rc DEPENDS wxUSE_REGKEY)
|
||||
wx_add_sample(taskbarbutton LIBRARIES adv DEPENDS wxUSE_TASKBARBUTTON)
|
||||
wx_add_sample(taskbarbutton DEPENDS wxUSE_TASKBARBUTTON)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user