dolphin/Externals/wxWidgets3/CMakeLists.txt

899 lines
23 KiB
CMake

# gtk, msw, osx and shared files as of 81570ae070b35c9d52de47b1f14897f3ff1a66c7
set(SRCS_AUI
"src/aui/auibar.cpp"
"src/aui/auibook.cpp"
"src/aui/dockart.cpp"
"src/aui/floatpane.cpp"
"src/aui/framemanager.cpp"
"src/aui/tabart.cpp"
"src/aui/tabmdi.cpp")
set(SRCS_COMMON
"src/common/accelcmn.cpp"
#"src/common/accesscmn.cpp"
"src/common/addremovectrl.cpp"
"src/common/affinematrix2d.cpp"
"src/common/anidecod.cpp"
"src/common/animatecmn.cpp"
"src/common/any.cpp"
"src/common/appbase.cpp"
"src/common/appcmn.cpp"
"src/common/arcall.cpp"
"src/common/arcfind.cpp"
"src/common/archive.cpp"
"src/common/arrstr.cpp"
"src/common/artprov.cpp"
"src/common/artstd.cpp"
"src/common/arttango.cpp"
"src/common/base64.cpp"
"src/common/bmpbase.cpp"
"src/common/bmpbtncmn.cpp"
"src/common/bmpcboxcmn.cpp"
"src/common/bookctrl.cpp"
"src/common/btncmn.cpp"
"src/common/cairo.cpp"
"src/common/calctrlcmn.cpp"
"src/common/checkboxcmn.cpp"
"src/common/checklstcmn.cpp"
"src/common/choiccmn.cpp"
"src/common/clipcmn.cpp"
"src/common/clntdata.cpp"
"src/common/clrpickercmn.cpp"
"src/common/cmdline.cpp"
"src/common/cmdproc.cpp"
"src/common/cmndata.cpp"
"src/common/colourcmn.cpp"
"src/common/colourdata.cpp"
"src/common/combocmn.cpp"
"src/common/config.cpp"
"src/common/containr.cpp"
"src/common/convauto.cpp"
"src/common/cshelp.cpp"
"src/common/ctrlcmn.cpp"
"src/common/ctrlsub.cpp"
"src/common/datavcmn.cpp"
"src/common/datetime.cpp"
"src/common/datetimefmt.cpp"
"src/common/datstrm.cpp"
"src/common/dcbase.cpp"
"src/common/dcbufcmn.cpp"
"src/common/dcgraph.cpp"
"src/common/dcsvg.cpp"
"src/common/debugrpt.cpp"
"src/common/dircmn.cpp"
"src/common/dirctrlcmn.cpp"
"src/common/dlgcmn.cpp"
"src/common/dndcmn.cpp"
"src/common/dobjcmn.cpp"
"src/common/docmdi.cpp"
"src/common/docview.cpp"
"src/common/dpycmn.cpp"
"src/common/dseldlg.cpp"
"src/common/dynarray.cpp"
"src/common/dynlib.cpp"
"src/common/dynload.cpp"
#"src/common/effects.cpp"
"src/common/encconv.cpp"
"src/common/event.cpp"
"src/common/evtloopcmn.cpp"
"src/common/extended.c"
"src/common/fddlgcmn.cpp"
"src/common/fdiodispatcher.cpp"
"src/common/ffile.cpp"
"src/common/file.cpp"
"src/common/fileback.cpp"
"src/common/fileconf.cpp"
"src/common/filectrlcmn.cpp"
"src/common/filefn.cpp"
"src/common/filehistorycmn.cpp"
"src/common/filename.cpp"
"src/common/filepickercmn.cpp"
"src/common/filesys.cpp"
"src/common/filtall.cpp"
"src/common/filtfind.cpp"
"src/common/fldlgcmn.cpp"
"src/common/fmapbase.cpp"
"src/common/fontcmn.cpp"
"src/common/fontdata.cpp"
"src/common/fontenumcmn.cpp"
"src/common/fontmap.cpp"
#"src/common/fontmgrcmn.cpp"
"src/common/fontpickercmn.cpp"
"src/common/fontutilcmn.cpp"
"src/common/framecmn.cpp"
"src/common/fs_arc.cpp"
"src/common/fs_filter.cpp"
"src/common/fs_inet.cpp"
"src/common/fs_mem.cpp"
#"src/common/fswatchercmn.cpp"
"src/common/ftp.cpp"
"src/common/gaugecmn.cpp"
"src/common/gbsizer.cpp"
"src/common/gdicmn.cpp"
"src/common/geometry.cpp"
"src/common/gifdecod.cpp"
"src/common/glcmn.cpp"
"src/common/graphcmn.cpp"
"src/common/gridcmn.cpp"
"src/common/hash.cpp"
"src/common/hashmap.cpp"
"src/common/headercolcmn.cpp"
"src/common/headerctrlcmn.cpp"
"src/common/helpbase.cpp"
"src/common/http.cpp"
"src/common/hyperlnkcmn.cpp"
"src/common/iconbndl.cpp"
"src/common/imagall.cpp"
"src/common/imagbmp.cpp"
"src/common/image.cpp"
"src/common/imagfill.cpp"
#"src/common/imaggif.cpp"
#"src/common/imagiff.cpp"
#"src/common/imagjpeg.cpp"
#"src/common/imagpcx.cpp"
"src/common/imagpng.cpp"
#"src/common/imagpnm.cpp"
#"src/common/imagtga.cpp"
#"src/common/imagtiff.cpp"
#"src/common/imagxpm.cpp"
"src/common/init.cpp"
"src/common/intl.cpp"
"src/common/ipcbase.cpp"
"src/common/languageinfo.cpp"
"src/common/layout.cpp"
"src/common/lboxcmn.cpp"
"src/common/list.cpp"
"src/common/listctrlcmn.cpp"
"src/common/log.cpp"
"src/common/longlong.cpp"
#"src/common/markupparser.cpp"
"src/common/matrix.cpp"
#"src/common/mediactrlcmn.cpp"
#"src/common/memory.cpp"
"src/common/menucmn.cpp"
"src/common/mimecmn.cpp"
"src/common/modalhook.cpp"
"src/common/module.cpp"
"src/common/mousemanager.cpp"
"src/common/msgout.cpp"
"src/common/mstream.cpp"
"src/common/nbkbase.cpp"
"src/common/notifmsgcmn.cpp"
"src/common/numformatter.cpp"
"src/common/object.cpp"
"src/common/odcombocmn.cpp"
"src/common/overlaycmn.cpp"
"src/common/ownerdrwcmn.cpp"
"src/common/panelcmn.cpp"
"src/common/paper.cpp"
"src/common/persist.cpp"
"src/common/pickerbase.cpp"
"src/common/platinfo.cpp"
"src/common/popupcmn.cpp"
"src/common/powercmn.cpp"
"src/common/preferencescmn.cpp"
"src/common/prntbase.cpp"
"src/common/process.cpp"
"src/common/protocol.cpp"
"src/common/quantize.cpp"
"src/common/radiobtncmn.cpp"
"src/common/radiocmn.cpp"
"src/common/rearrangectrl.cpp"
#"src/common/regex.cpp"
"src/common/rendcmn.cpp"
"src/common/rgncmn.cpp"
"src/common/sckaddr.cpp"
"src/common/sckfile.cpp"
"src/common/sckipc.cpp"
"src/common/sckstrm.cpp"
"src/common/scrolbarcmn.cpp"
"src/common/selectdispatcher.cpp"
"src/common/settcmn.cpp"
"src/common/sizer.cpp"
"src/common/slidercmn.cpp"
"src/common/socket.cpp"
"src/common/socketiohandler.cpp"
"src/common/spinbtncmn.cpp"
"src/common/spinctrlcmn.cpp"
"src/common/srchcmn.cpp"
"src/common/sstream.cpp"
"src/common/statbar.cpp"
"src/common/statbmpcmn.cpp"
"src/common/statboxcmn.cpp"
"src/common/statlinecmn.cpp"
"src/common/stattextcmn.cpp"
"src/common/stdpbase.cpp"
"src/common/stdstream.cpp"
"src/common/stockitem.cpp"
"src/common/stopwatch.cpp"
"src/common/strconv.cpp"
"src/common/stream.cpp"
"src/common/string.cpp"
"src/common/stringimpl.cpp"
"src/common/stringops.cpp"
"src/common/strvararg.cpp"
"src/common/sysopt.cpp"
"src/common/tarstrm.cpp"
"src/common/taskbarcmn.cpp"
"src/common/tbarbase.cpp"
"src/common/textbuf.cpp"
"src/common/textcmn.cpp"
"src/common/textentrycmn.cpp"
"src/common/textfile.cpp"
"src/common/textmeasurecmn.cpp"
"src/common/threadinfo.cpp"
"src/common/time.cpp"
"src/common/timercmn.cpp"
"src/common/timerimpl.cpp"
"src/common/tokenzr.cpp"
"src/common/toplvcmn.cpp"
"src/common/translation.cpp"
"src/common/treebase.cpp"
"src/common/txtstrm.cpp"
"src/common/uiactioncmn.cpp"
"src/common/unichar.cpp"
"src/common/uri.cpp"
"src/common/url.cpp"
"src/common/ustring.cpp"
"src/common/utilscmn.cpp"
"src/common/valgen.cpp"
"src/common/validate.cpp"
"src/common/valnum.cpp"
"src/common/valtext.cpp"
"src/common/variant.cpp"
#"src/common/webview.cpp"
#"src/common/webviewfshandler.cpp"
"src/common/wfstream.cpp"
"src/common/wincmn.cpp"
"src/common/windowid.cpp"
"src/common/wrapsizer.cpp"
"src/common/wxcrt.cpp"
"src/common/wxprintf.cpp"
"src/common/xlocale.cpp"
"src/common/xpmdecod.cpp"
#"src/common/xti.cpp"
#"src/common/xtistrm.cpp"
#"src/common/xtixml.cpp"
"src/common/zipstrm.cpp"
"src/common/zstream.cpp")
set(SRCS_GENERIC
"src/generic/aboutdlgg.cpp"
"src/generic/bannerwindow.cpp"
"src/generic/bmpcboxg.cpp"
"src/generic/busyinfo.cpp"
"src/generic/buttonbar.cpp"
"src/generic/calctrlg.cpp"
#"src/generic/caret.cpp"
"src/generic/choicbkg.cpp"
"src/generic/choicdgg.cpp"
"src/generic/collheaderctrlg.cpp"
#"src/generic/colour.cpp"
"src/generic/combog.cpp"
"src/generic/commandlinkbuttong.cpp"
"src/generic/datavgen.cpp"
"src/generic/datectlg.cpp"
#"src/generic/dbgrptg.cpp"
"src/generic/dcpsg.cpp"
"src/generic/dirctrlg.cpp"
"src/generic/dragimgg.cpp"
"src/generic/editlbox.cpp"
#"src/generic/fdrepdlg.cpp"
"src/generic/filectrlg.cpp"
"src/generic/filepickerg.cpp"
"src/generic/fontdlgg.cpp"
#"src/generic/fswatcherg.cpp"
"src/generic/graphicc.cpp"
"src/generic/grid.cpp"
"src/generic/gridctrl.cpp"
"src/generic/grideditors.cpp"
"src/generic/gridsel.cpp"
"src/generic/headerctrlg.cpp"
"src/generic/helpext.cpp"
#"src/generic/htmllbox.cpp"
"src/generic/hyperlinkg.cpp"
"src/generic/infobar.cpp"
"src/generic/laywin.cpp"
"src/generic/listbkg.cpp"
"src/generic/logg.cpp"
#"src/generic/markuptext.cpp"
#"src/generic/mask.cpp"
"src/generic/mdig.cpp"
"src/generic/msgdlgg.cpp"
#"src/generic/notebook.cpp"
"src/generic/notifmsgg.cpp"
"src/generic/numdlgg.cpp"
"src/generic/odcombo.cpp"
"src/generic/printps.cpp"
"src/generic/prntdlgg.cpp"
"src/generic/progdlgg.cpp"
"src/generic/propdlg.cpp"
#"src/generic/regiong.cpp"
"src/generic/renderg.cpp"
"src/generic/richmsgdlgg.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/srchctlg.cpp"
"src/generic/statbmpg.cpp"
#"src/generic/statline.cpp"
"src/generic/stattextg.cpp"
"src/generic/statusbr.cpp"
"src/generic/tabg.cpp"
"src/generic/textdlgg.cpp"
"src/generic/textmeasure.cpp"
"src/generic/timectrlg.cpp"
#"src/generic/timer.cpp"
"src/generic/tipdlg.cpp"
"src/generic/tipwin.cpp"
"src/generic/toolbkg.cpp"
"src/generic/treebkg.cpp"
"src/generic/treectlg.cpp"
"src/generic/treelist.cpp"
"src/generic/vlbox.cpp"
"src/generic/vscroll.cpp"
"src/generic/wizard.cpp")
set(SRCS_GENERICGTK
"src/generic/accel.cpp"
"src/generic/activityindicator.cpp"
"src/generic/icon.cpp"
"src/generic/imaglist.cpp"
"src/generic/listctrl.cpp"
"src/generic/paletteg.cpp"
"src/generic/preferencesg.cpp")
set(SRCS_GENERICMSW
"src/generic/activityindicator.cpp"
"src/generic/collpaneg.cpp")
set(SRCS_GENERICOSX
"src/generic/animateg.cpp"
"src/generic/clrpickerg.cpp"
"src/generic/collpaneg.cpp"
"src/generic/colrdlgg.cpp"
"src/generic/dirdlgg.cpp"
"src/generic/filedlgg.cpp"
"src/generic/fontpickerg.cpp"
"src/generic/listctrl.cpp")
set(SRCS_GTK
"src/aui/tabartgtk.cpp"
"src/gtk/aboutdlg.cpp"
"src/gtk/activityindicator.cpp"
"src/gtk/animate.cpp"
"src/gtk/anybutton.cpp"
"src/gtk/app.cpp"
"src/gtk/artgtk.cpp"
"src/gtk/assertdlg_gtk.cpp"
"src/gtk/bitmap.cpp"
"src/gtk/bmpbuttn.cpp"
"src/gtk/bmpcbox.cpp"
"src/gtk/brush.cpp"
"src/gtk/button.cpp"
"src/gtk/calctrl.cpp"
"src/gtk/checkbox.cpp"
"src/gtk/checklst.cpp"
"src/gtk/choice.cpp"
"src/gtk/clipbrd.cpp"
"src/gtk/clrpicker.cpp"
"src/gtk/collpane.cpp"
"src/gtk/colordlg.cpp"
"src/gtk/colour.cpp"
"src/gtk/combobox.cpp"
"src/gtk/control.cpp"
"src/gtk/cursor.cpp"
"src/gtk/dataobj.cpp"
"src/gtk/dataview.cpp"
"src/gtk/dc.cpp"
"src/gtk/dcclient.cpp"
"src/gtk/dcmemory.cpp"
"src/gtk/dcscreen.cpp"
"src/gtk/dialog.cpp"
"src/gtk/dirdlg.cpp"
"src/gtk/display.cpp"
"src/gtk/dnd.cpp"
"src/gtk/eggtrayicon.c"
"src/gtk/evtloop.cpp"
"src/gtk/filectrl.cpp"
"src/gtk/filedlg.cpp"
"src/gtk/filehistory.cpp"
"src/gtk/filepicker.cpp"
"src/gtk/font.cpp"
"src/gtk/fontdlg.cpp"
"src/gtk/fontpicker.cpp"
"src/gtk/frame.cpp"
"src/gtk/gauge.cpp"
"src/gtk/glcanvas.cpp"
#"src/gtk/gnome/gvfs.cpp"
"src/gtk/hyperlink.cpp"
"src/gtk/infobar.cpp"
"src/gtk/listbox.cpp"
"src/gtk/mdi.cpp"
"src/gtk/menu.cpp"
"src/gtk/minifram.cpp"
"src/gtk/mnemonics.cpp"
"src/gtk/msgdlg.cpp"
"src/gtk/nativewin.cpp"
"src/gtk/nonownedwnd.cpp"
"src/gtk/notebook.cpp"
"src/gtk/notifmsg.cpp"
"src/gtk/pen.cpp"
"src/gtk/popupwin.cpp"
#"src/gtk/print.cpp"
"src/gtk/private.cpp"
"src/gtk/radiobox.cpp"
"src/gtk/radiobut.cpp"
"src/gtk/region.cpp"
"src/gtk/renderer.cpp"
"src/gtk/scrolbar.cpp"
"src/gtk/scrolwin.cpp"
"src/gtk/settings.cpp"
"src/gtk/slider.cpp"
"src/gtk/sockgtk.cpp"
"src/gtk/spinbutt.cpp"
"src/gtk/spinctrl.cpp"
"src/gtk/statbmp.cpp"
"src/gtk/statbox.cpp"
"src/gtk/statline.cpp"
"src/gtk/stattext.cpp"
"src/gtk/taskbar.cpp"
"src/gtk/textctrl.cpp"
"src/gtk/textentry.cpp"
"src/gtk/textmeasure.cpp"
"src/gtk/tglbtn.cpp"
"src/gtk/timer.cpp"
"src/gtk/toolbar.cpp"
"src/gtk/tooltip.cpp"
"src/gtk/toplevel.cpp"
"src/gtk/treeentry_gtk.c"
"src/gtk/utilsgtk.cpp"
#"src/gtk/webview_webkit.cpp"
"src/gtk/win_gtk.cpp"
"src/gtk/window.cpp")
set(SRCS_MSW
"src/aui/barartmsw.cpp"
"src/aui/tabartmsw.cpp"
"src/msw/aboutdlg.cpp"
"src/msw/accel.cpp"
"src/msw/anybutton.cpp"
"src/msw/app.cpp"
"src/msw/appprogress.cpp"
"src/msw/artmsw.cpp"
"src/msw/basemsw.cpp"
"src/msw/bitmap.cpp"
"src/msw/bmpbuttn.cpp"
"src/msw/bmpcbox.cpp"
"src/msw/brush.cpp"
"src/msw/button.cpp"
"src/msw/calctrl.cpp"
"src/msw/caret.cpp"
"src/msw/checkbox.cpp"
"src/msw/checklst.cpp"
"src/msw/choice.cpp"
"src/msw/clipbrd.cpp"
"src/msw/colordlg.cpp"
"src/msw/colour.cpp"
"src/msw/combo.cpp"
"src/msw/combobox.cpp"
"src/msw/commandlinkbutton.cpp"
"src/msw/control.cpp"
#"src/msw/crashrpt.cpp"
"src/msw/cursor.cpp"
#"src/msw/data.cpp"
"src/msw/datecontrols.cpp"
"src/msw/datectrl.cpp"
"src/msw/datetimectrl.cpp"
"src/msw/dc.cpp"
"src/msw/dcclient.cpp"
"src/msw/dcmemory.cpp"
#"src/msw/dcprint.cpp"
"src/msw/dcscreen.cpp"
"src/msw/dde.cpp"
"src/msw/debughlp.cpp"
"src/msw/dialog.cpp"
#"src/msw/dialup.cpp"
"src/msw/dib.cpp"
"src/msw/dir.cpp"
"src/msw/dirdlg.cpp"
"src/msw/display.cpp"
"src/msw/dlmsw.cpp"
"src/msw/dragimag.cpp"
#"src/msw/enhmeta.cpp"
"src/msw/evtloop.cpp"
"src/msw/evtloopconsole.cpp"
"src/msw/fdrepdlg.cpp"
"src/msw/filedlg.cpp"
"src/msw/font.cpp"
"src/msw/fontdlg.cpp"
"src/msw/fontenum.cpp"
"src/msw/fontutil.cpp"
"src/msw/frame.cpp"
#"src/msw/fswatcher.cpp"
"src/msw/gauge.cpp"
"src/msw/gdiimage.cpp"
#"src/msw/gdiobj.cpp"
"src/msw/gdiplus.cpp"
#"src/msw/glcanvas.cpp"
"src/msw/graphics.cpp"
#"src/msw/graphicsd2d.cpp"
"src/msw/headerctrl.cpp"
#"src/msw/helpbest.cpp"
#"src/msw/helpchm.cpp"
"src/msw/helpwin.cpp"
"src/msw/hyperlink.cpp"
"src/msw/icon.cpp"
"src/msw/imaglist.cpp"
#"src/msw/iniconf.cpp"
#"src/msw/joystick.cpp"
"src/msw/listbox.cpp"
"src/msw/listctrl.cpp"
"src/msw/main.cpp"
"src/msw/mdi.cpp"
#"src/msw/mediactrl_am.cpp"
#"src/msw/mediactrl_qt.cpp"
#"src/msw/mediactrl_wmp10.cpp"
"src/msw/menu.cpp"
"src/msw/menuitem.cpp"
#"src/msw/metafile.cpp"
"src/msw/mimetype.cpp"
"src/msw/minifram.cpp"
"src/msw/msgdlg.cpp"
"src/msw/nativdlg.cpp"
"src/msw/nativewin.cpp"
"src/msw/nonownedwnd.cpp"
"src/msw/notebook.cpp"
"src/msw/notifmsg.cpp"
"src/msw/ole/access.cpp"
"src/msw/ole/activex.cpp"
"src/msw/ole/automtn.cpp"
"src/msw/ole/dataobj.cpp"
"src/msw/ole/dropsrc.cpp"
"src/msw/ole/droptgt.cpp"
"src/msw/ole/oleutils.cpp"
"src/msw/ole/safearray.cpp"
"src/msw/ole/uuid.cpp"
"src/msw/ownerdrw.cpp"
"src/msw/palette.cpp"
"src/msw/panel.cpp"
"src/msw/pen.cpp"
"src/msw/popupwin.cpp"
"src/msw/power.cpp"
#"src/msw/printdlg.cpp"
#"src/msw/printwin.cpp"
"src/msw/progdlg.cpp"
"src/msw/radiobox.cpp"
"src/msw/radiobut.cpp"
"src/msw/regconf.cpp"
"src/msw/region.cpp"
"src/msw/registry.cpp"
"src/msw/renderer.cpp"
"src/msw/richmsgdlg.cpp"
"src/msw/scrolbar.cpp"
"src/msw/settings.cpp"
"src/msw/slider.cpp"
"src/msw/snglinst.cpp"
"src/msw/sockmsw.cpp"
"src/msw/sound.cpp"
"src/msw/spinbutt.cpp"
"src/msw/spinctrl.cpp"
"src/msw/stackwalk.cpp"
"src/msw/statbmp.cpp"
"src/msw/statbox.cpp"
"src/msw/statline.cpp"
"src/msw/stattext.cpp"
"src/msw/statusbar.cpp"
"src/msw/stdpaths.cpp"
"src/msw/systhemectrl.cpp"
"src/msw/taskbar.cpp"
"src/msw/taskbarbutton.cpp"
"src/msw/textctrl.cpp"
"src/msw/textentry.cpp"
"src/msw/textmeasure.cpp"
"src/msw/tglbtn.cpp"
"src/msw/thread.cpp"
"src/msw/timectrl.cpp"
"src/msw/timer.cpp"
"src/msw/toolbar.cpp"
"src/msw/tooltip.cpp"
"src/msw/toplevel.cpp"
"src/msw/treectrl.cpp"
"src/msw/uiaction.cpp"
#"src/msw/urlmsw.cpp"
"src/msw/utils.cpp"
"src/msw/utilsexc.cpp"
"src/msw/utilsgui.cpp"
"src/msw/utilswin.cpp"
"src/msw/uxtheme.cpp"
#"src/msw/version.rc"
"src/msw/volume.cpp"
#"src/msw/webview_ie.cpp"
"src/msw/window.cpp"
#"src/msw/winestub.c"
#"src/msw/rt/notifmsgrt.cpp"
#"src/msw/rt/utilsrt.cpp"
)
set(SRCS_OSX
"src/osx/accel.cpp"
"src/osx/anybutton_osx.cpp"
"src/osx/artmac.cpp"
"src/osx/bmpbuttn_osx.cpp"
"src/osx/brush.cpp"
"src/osx/button_osx.cpp"
"src/osx/checkbox_osx.cpp"
"src/osx/checklst_osx.cpp"
"src/osx/choice_osx.cpp"
"src/osx/combobox_osx.cpp"
"src/osx/dataview_osx.cpp"
"src/osx/datectrl_osx.cpp"
"src/osx/datetimectrl_osx.cpp"
"src/osx/dialog_osx.cpp"
"src/osx/dnd_osx.cpp"
"src/osx/fontutil.cpp"
#"src/osx/fswatcher_fsevents.cpp"
"src/osx/gauge_osx.cpp"
#"src/osx/glcanvas_osx.cpp"
"src/osx/imaglist.cpp"
"src/osx/listbox_osx.cpp"
"src/osx/menu_osx.cpp"
"src/osx/menuitem_osx.cpp"
"src/osx/minifram.cpp"
"src/osx/nonownedwnd_osx.cpp"
"src/osx/notebook_osx.cpp"
"src/osx/palette.cpp"
"src/osx/pen.cpp"
"src/osx/printdlg_osx.cpp"
"src/osx/radiobox_osx.cpp"
"src/osx/radiobut_osx.cpp"
"src/osx/scrolbar_osx.cpp"
"src/osx/slider_osx.cpp"
"src/osx/sound_osx.cpp"
"src/osx/spinbutt_osx.cpp"
"src/osx/srchctrl_osx.cpp"
"src/osx/statbox_osx.cpp"
"src/osx/statline_osx.cpp"
"src/osx/stattext_osx.cpp"
"src/osx/textctrl_osx.cpp"
"src/osx/textentry_osx.cpp"
"src/osx/tglbtn_osx.cpp"
"src/osx/timectrl_osx.cpp"
"src/osx/toolbar_osx.cpp"
"src/osx/toplevel_osx.cpp"
"src/osx/uiaction_osx.cpp"
"src/osx/utils_osx.cpp"
#"src/osx/webview_webkit.mm"
"src/osx/window_osx.cpp"
"src/osx/carbon/app.cpp"
"src/osx/carbon/clipbrd.cpp"
#"src/osx/carbon/colordlg.cpp"
"src/osx/carbon/colordlgosx.mm"
"src/osx/carbon/control.cpp"
"src/osx/carbon/cursor.cpp"
"src/osx/carbon/dataobj.cpp"
"src/osx/carbon/dcclient.cpp"
"src/osx/carbon/dcprint.cpp"
"src/osx/carbon/dcscreen.cpp"
"src/osx/carbon/font.cpp"
"src/osx/carbon/fontdlg.cpp"
"src/osx/carbon/fontdlgosx.mm"
"src/osx/carbon/frame.cpp"
"src/osx/carbon/gdiobj.cpp"
"src/osx/carbon/graphics.cpp"
"src/osx/carbon/icon.cpp"
#"src/osx/carbon/main.cpp"
"src/osx/carbon/mdi.cpp"
"src/osx/carbon/metafile.cpp"
#"src/osx/carbon/overlay.cpp"
"src/osx/carbon/popupwin.cpp"
"src/osx/carbon/region.cpp"
"src/osx/carbon/renderer.cpp"
#"src/osx/carbon/sound.cpp"
"src/osx/carbon/statbrma.cpp"
#"src/osx/carbon/thread.cpp"
#"src/osx/carbon/timer.cpp"
"src/osx/carbon/utilscocoa.mm"
"src/osx/cocoa/aboutdlg.mm"
"src/osx/cocoa/activityindicator.mm"
"src/osx/cocoa/anybutton.mm"
"src/osx/cocoa/appprogress.mm"
"src/osx/cocoa/button.mm"
"src/osx/cocoa/checkbox.mm"
"src/osx/cocoa/choice.mm"
"src/osx/cocoa/colour.mm"
"src/osx/cocoa/combobox.mm"
"src/osx/cocoa/dataview.mm"
"src/osx/cocoa/datetimectrl.mm"
"src/osx/cocoa/dialog.mm"
"src/osx/cocoa/dirdlg.mm"
"src/osx/cocoa/dnd.mm"
"src/osx/cocoa/evtloop.mm"
"src/osx/cocoa/filedlg.mm"
"src/osx/cocoa/gauge.mm"
"src/osx/cocoa/glcanvas.mm"
"src/osx/cocoa/listbox.mm"
#"src/osx/cocoa/mediactrl.mm"
"src/osx/cocoa/menu.mm"
"src/osx/cocoa/menuitem.mm"
"src/osx/cocoa/msgdlg.mm"
"src/osx/cocoa/nativewin.mm"
"src/osx/cocoa/nonownedwnd.mm"
"src/osx/cocoa/notebook.mm"
"src/osx/cocoa/notifmsg.mm"
"src/osx/cocoa/overlay.mm"
"src/osx/cocoa/power.mm"
"src/osx/cocoa/printdlg.mm"
"src/osx/cocoa/radiobut.mm"
"src/osx/cocoa/scrolbar.mm"
"src/osx/cocoa/settings.mm"
"src/osx/cocoa/slider.mm"
"src/osx/cocoa/spinbutt.mm"
"src/osx/cocoa/srchctrl.mm"
"src/osx/cocoa/statbox.mm"
"src/osx/cocoa/statline.mm"
"src/osx/cocoa/stattext.mm"
"src/osx/cocoa/stdpaths.mm"
"src/osx/cocoa/taskbar.mm"
"src/osx/cocoa/textctrl.mm"
"src/osx/cocoa/tglbtn.mm"
"src/osx/cocoa/toolbar.mm"
"src/osx/cocoa/tooltip.mm"
"src/osx/cocoa/utils.mm"
"src/osx/cocoa/utils_base.mm"
"src/osx/cocoa/window.mm"
"src/osx/core/bitmap.cpp"
"src/osx/core/cfstring.cpp"
"src/osx/core/colour.cpp"
"src/osx/core/dcmemory.cpp"
"src/osx/core/display.cpp"
"src/osx/core/evtloop_cf.cpp"
"src/osx/core/fontenum.cpp"
"src/osx/core/hid.cpp"
#"src/osx/core/hidjoystick.cpp"
"src/osx/core/mimetype.cpp"
"src/osx/core/printmac.cpp"
"src/osx/core/sockosx.cpp"
"src/osx/core/sound.cpp"
"src/osx/core/strconv_cf.cpp"
"src/osx/core/timer.cpp"
"src/osx/core/utilsexc_base.cpp"
"src/osx/core/utilsexc_cf.cpp"
#"src/osx/iphone/button.mm"
#"src/osx/iphone/checkbox.mm"
#"src/osx/iphone/dialog.mm"
#"src/osx/iphone/evtloop.mm"
#"src/osx/iphone/gauge.mm"
#"src/osx/iphone/glcanvas.mm"
#"src/osx/iphone/msgdlg.mm"
#"src/osx/iphone/nonownedwnd.mm"
#"src/osx/iphone/scrolbar.mm"
#"src/osx/iphone/settings.mm"
#"src/osx/iphone/slider.mm"
#"src/osx/iphone/stattext.mm"
#"src/osx/iphone/textctrl.mm"
#"src/osx/iphone/toolbar.mm"
#"src/osx/iphone/utils.mm"
#"src/osx/iphone/window.mm"
)
set(SRCS_UNIX
"src/unix/apptraits.cpp"
"src/unix/appunix.cpp"
"src/unix/dir.cpp"
"src/unix/dlunix.cpp"
#"src/unix/epolldispatcher.cpp"
"src/unix/evtloopunix.cpp"
"src/unix/fdiounix.cpp"
#"src/unix/fswatcher_kqueue.cpp"
#"src/unix/net.cpp"
"src/unix/snglinst.cpp"
"src/unix/sockunix.cpp"
"src/unix/stackwalk.cpp"
"src/unix/threadpsx.cpp"
"src/unix/timerunx.cpp"
"src/unix/utilsunx.cpp"
"src/unix/wakeuppipe.cpp")
set(SRCS_UNIXGTK
"src/unix/dialup.cpp"
"src/unix/displayx11.cpp"
"src/unix/fontenum.cpp"
"src/unix/fontutil.cpp"
#"src/unix/fswatcher_inotify.cpp"
#"src/unix/glx11.cpp"
#"src/unix/joystick.cpp"
#"src/unix/mediactrl.cpp"
#"src/unix/mediactrl_gstplayer.cpp"
"src/unix/mimetype.cpp"
"src/unix/sound.cpp"
#"src/unix/sound_sdl.cpp"
"src/unix/stdpaths.cpp"
#"src/unix/taskbarx11.cpp"
"src/unix/uiactionx11.cpp"
"src/unix/utilsx11.cpp")
add_library(wx STATIC ${SRCS_AUI} ${SRCS_COMMON} ${SRCS_GENERIC})
target_include_directories(wx PUBLIC . include)
target_compile_definitions(wx PRIVATE "WXBUILDING")
# wxWidgets warnings are not our problem.
target_compile_options(wx PRIVATE "-w")
if(APPLE)
target_compile_definitions(wx PRIVATE "__WXOSX_COCOA__")
target_sources(wx PRIVATE
${SRCS_GENERICOSX}
${SRCS_OSX}
${SRCS_UNIX}
)
target_link_libraries(wx PRIVATE
png
iconv
${APPKIT_LIBRARY}
${APPSERV_LIBRARY}
${CARBON_LIBRARY}
${COCOA_LIBRARY}
${COREFUND_LIBRARY}
${CORESERV_LIBRARY}
${IOK_LIBRARY}
${OPENGL_LIBRARY}
)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD")
target_compile_options(wx PRIVATE "$<$<COMPILE_LANGUAGE:CXX>:-std=gnu++11>")
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_compile_definitions(wx PRIVATE "__LINUX__=1")
else()
target_compile_definitions(wx PRIVATE "__BSD__=1")
endif()
target_compile_definitions(wx PRIVATE "__WXGTK__")
target_sources(wx PRIVATE
${SRCS_GENERICGTK}
${SRCS_GTK}
${SRCS_UNIX}
${SRCS_UNIXGTK}
)
if (NOT X11_xf86vmode_FOUND OR NOT X11_Xinerama_FOUND)
message(FATAL_ERROR "wxGTK2 needs Xinerama and Xxf86vm")
endif()
find_package(GTK2 REQUIRED)
check_lib(GTHREAD2 gthread-2.0 gthread-2.0 glib/gthread.h REQUIRED)
check_lib(PANGOCAIRO pangocairo pangocairo pango/pangocairo.h REQUIRED)
# On Linux "backtrace" is part of glibc. FreeBSD has a separate library.
# Required for wxUSE_STACKWALKER in Externals/wxWidgets3/wx/wxgtk.h
find_package(Backtrace REQUIRED)
target_include_directories(wx PUBLIC ${GTK2_INCLUDE_DIRS})
target_link_libraries(wx PRIVATE
png
${GTHREAD2_LIBRARIES}
${PANGOCAIRO_LIBRARIES}
${GTK2_LIBRARIES}
${Backtrace_LIBRARY}
${X11_X11_LIB}
${X11_Xxf86vm_LIB}
${X11_Xinerama_LIB}
)
elseif(WIN32)
remove_definitions(-DWIN32_LEAN_AND_MEAN)
target_compile_definitions(wx PRIVATE "__WXMSW__" "NOPCH")
target_sources(wx PRIVATE
${SRCS_GENERICMSW}
${SRCS_MSW}
)
target_link_libraries(wx PRIVATE
Comctl32.lib
Rpcrt4.lib
${OPENGL_LIBRARIES}
)
else()
message(FATAL_ERROR "wxWidgets in Externals is not compatible with your platform")
endif()
add_library(wxWidgets::wxWidgets ALIAS wx)