mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-29 09:30:20 +00:00
81638396c0
- add support for precompiled headers with MSVC - compile with _FILE_OFFSET_BITS=64 and _LARGEFILE_SOURCE only for our sources, some dependencies seem to have problems with it enabled... - disable -Wall for MSVC too prevent warning flood - rename aes_cbc.c and aes_core.c to cpp files since it makes stuff a lot easier and there's really no reason not to do it since they had been compiled as C++ before anyway git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6797 8ced0084-cf51-0410-be5f-012b33b47a6e
401 lines
9.8 KiB
CMake
401 lines
9.8 KiB
CMake
# wxAdv28
|
|
set(SRCS src/common/accesscmn.cpp
|
|
src/common/datavcmn.cpp
|
|
src/common/taskbarcmn.cpp
|
|
src/generic/aboutdlgg.cpp
|
|
src/generic/animateg.cpp
|
|
src/generic/bmpcboxg.cpp
|
|
src/generic/calctrl.cpp
|
|
src/generic/datavgen.cpp
|
|
src/generic/datectlg.cpp
|
|
src/generic/grid.cpp
|
|
src/generic/gridctrl.cpp
|
|
src/generic/gridsel.cpp
|
|
src/generic/helpext.cpp
|
|
src/generic/hyperlink.cpp
|
|
src/generic/laywin.cpp
|
|
src/generic/odcombo.cpp
|
|
src/generic/propdlg.cpp
|
|
src/generic/sashwin.cpp
|
|
src/generic/splash.cpp
|
|
src/generic/tipdlg.cpp
|
|
src/generic/wizard.cpp
|
|
src/msw/aboutdlg.cpp
|
|
src/msw/datectrl.cpp
|
|
src/msw/joystick.cpp
|
|
src/msw/sound.cpp
|
|
src/msw/taskbar.cpp)
|
|
enable_precompiled_headers(include/wx/wxprec.h src/common/dummy.cpp SRCS)
|
|
add_library(wxAdv28 STATIC ${SRCS})
|
|
|
|
|
|
# wxAui
|
|
set(SRCS src/aui/auibar.cpp
|
|
src/aui/auibook.cpp
|
|
src/aui/dockart.cpp
|
|
src/aui/floatpane.cpp
|
|
src/aui/framemanager.cpp
|
|
src/aui/tabmdi.cpp)
|
|
enable_precompiled_headers(include/wx/wxprec.h src/common/dummy.cpp SRCS)
|
|
add_library(wxAui STATIC ${SRCS})
|
|
|
|
|
|
# wxBase28
|
|
set(SRCS src/common/appbase.cpp
|
|
src/common/arcall.cpp
|
|
src/common/arcfind.cpp
|
|
src/common/archive.cpp
|
|
src/common/clntdata.cpp
|
|
src/common/cmdline.cpp
|
|
src/common/config.cpp
|
|
src/common/convauto.cpp
|
|
src/common/datetime.cpp
|
|
src/common/datstrm.cpp
|
|
src/common/dircmn.cpp
|
|
src/common/dynarray.cpp
|
|
src/common/dynlib.cpp
|
|
src/common/dynload.cpp
|
|
src/common/encconv.cpp
|
|
src/common/event.cpp
|
|
src/common/extended.c
|
|
src/common/ffile.cpp
|
|
src/common/file.cpp
|
|
src/common/fileback.cpp
|
|
src/common/fileconf.cpp
|
|
src/common/filefn.cpp
|
|
src/common/filename.cpp
|
|
src/common/filesys.cpp
|
|
src/common/filtall.cpp
|
|
src/common/filtfind.cpp
|
|
src/common/fmapbase.cpp
|
|
src/common/fs_arc.cpp
|
|
src/common/fs_filter.cpp
|
|
src/common/fs_mem.cpp
|
|
src/common/hash.cpp
|
|
src/common/hashmap.cpp
|
|
src/common/init.cpp
|
|
src/common/intl.cpp
|
|
src/common/ipcbase.cpp
|
|
src/common/list.cpp
|
|
src/common/log.cpp
|
|
src/common/longlong.cpp
|
|
src/common/memory.cpp
|
|
src/common/mimecmn.cpp
|
|
src/common/module.cpp
|
|
src/common/msgout.cpp
|
|
src/common/mstream.cpp
|
|
src/common/object.cpp
|
|
src/common/platinfo.cpp
|
|
src/common/powercmn.cpp
|
|
src/common/process.cpp
|
|
src/common/regex.cpp
|
|
src/common/sstream.cpp
|
|
src/common/stdpbase.cpp
|
|
src/common/stopwatch.cpp
|
|
src/common/strconv.cpp
|
|
src/common/stream.cpp
|
|
src/common/string.cpp
|
|
src/common/sysopt.cpp
|
|
src/common/tarstrm.cpp
|
|
src/common/textbuf.cpp
|
|
src/common/textfile.cpp
|
|
src/common/tokenzr.cpp
|
|
src/common/txtstrm.cpp
|
|
src/common/uri.cpp
|
|
src/common/utilscmn.cpp
|
|
src/common/variant.cpp
|
|
src/common/wfstream.cpp
|
|
src/common/wxchar.cpp
|
|
src/common/xti.cpp
|
|
src/common/xtistrm.cpp
|
|
src/common/zipstrm.cpp
|
|
src/common/zstream.cpp
|
|
src/msw/basemsw.cpp
|
|
src/msw/crashrpt.cpp
|
|
src/msw/dde.cpp
|
|
src/msw/debughlp.cpp
|
|
src/msw/dir.cpp
|
|
src/msw/dlmsw.cpp
|
|
src/msw/main.cpp
|
|
src/msw/mimetype.cpp
|
|
src/msw/mslu.cpp
|
|
src/msw/power.cpp
|
|
src/msw/regconf.cpp
|
|
src/msw/registry.cpp
|
|
src/msw/snglinst.cpp
|
|
src/msw/stackwalk.cpp
|
|
src/msw/stdpaths.cpp
|
|
src/msw/thread.cpp
|
|
src/msw/utils.cpp
|
|
src/msw/utilsexc.cpp
|
|
src/msw/volume.cpp)
|
|
enable_precompiled_headers(include/wx/wxprec.h src/common/dummy.cpp SRCS)
|
|
add_library(wxBase28 STATIC ${SRCS})
|
|
|
|
|
|
# wxCore28
|
|
set(SRCS src/common/accesscmn.cpp
|
|
src/common/anidecod.cpp
|
|
src/common/appcmn.cpp
|
|
src/common/artprov.cpp
|
|
src/common/artstd.cpp
|
|
src/common/bmpbase.cpp
|
|
src/common/bookctrl.cpp
|
|
src/common/choiccmn.cpp
|
|
src/common/clipcmn.cpp
|
|
src/common/clrpickercmn.cpp
|
|
src/common/cmdproc.cpp
|
|
src/common/cmndata.cpp
|
|
src/common/colourcmn.cpp
|
|
src/common/combocmn.cpp
|
|
src/common/containr.cpp
|
|
src/common/cshelp.cpp
|
|
src/common/ctrlcmn.cpp
|
|
src/common/ctrlsub.cpp
|
|
src/common/datacmn.cpp
|
|
src/common/dcbase.cpp
|
|
src/common/dcbufcmn.cpp
|
|
src/common/dcgraph.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/effects.cpp
|
|
src/common/event.cpp
|
|
src/common/evtloopcmn.cpp
|
|
src/common/fddlgcmn.cpp
|
|
src/common/filepickercmn.cpp
|
|
src/common/fldlgcmn.cpp
|
|
src/common/fontcmn.cpp
|
|
src/common/fontenumcmn.cpp
|
|
src/common/fontmap.cpp
|
|
src/common/fontpickercmn.cpp
|
|
src/common/framecmn.cpp
|
|
src/common/fs_mem.cpp
|
|
src/common/gaugecmn.cpp
|
|
src/common/gbsizer.cpp
|
|
src/common/gdicmn.cpp
|
|
src/common/geometry.cpp
|
|
src/common/gifdecod.cpp
|
|
src/common/graphcmn.cpp
|
|
src/common/helpbase.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/layout.cpp
|
|
src/common/lboxcmn.cpp
|
|
src/common/listctrlcmn.cpp
|
|
src/common/matrix.cpp
|
|
src/common/menucmn.cpp
|
|
src/common/msgout.cpp
|
|
src/common/nbkbase.cpp
|
|
src/common/overlaycmn.cpp
|
|
src/common/paper.cpp
|
|
src/common/pickerbase.cpp
|
|
src/common/popupcmn.cpp
|
|
src/common/prntbase.cpp
|
|
src/common/quantize.cpp
|
|
src/common/radiocmn.cpp
|
|
src/common/rendcmn.cpp
|
|
src/common/rgncmn.cpp
|
|
src/common/settcmn.cpp
|
|
src/common/sizer.cpp
|
|
src/common/statbar.cpp
|
|
src/common/stockitem.cpp
|
|
src/common/tbarbase.cpp
|
|
src/common/textcmn.cpp
|
|
src/common/timercmn.cpp
|
|
src/common/toplvcmn.cpp
|
|
src/common/treebase.cpp
|
|
src/common/utilscmn.cpp
|
|
src/common/valgen.cpp
|
|
src/common/validate.cpp
|
|
src/common/valtext.cpp
|
|
src/common/wincmn.cpp
|
|
src/common/xpmdecod.cpp
|
|
src/generic/aboutdlgg.cpp
|
|
src/generic/accel.cpp
|
|
src/generic/busyinfo.cpp
|
|
src/generic/buttonbar.cpp
|
|
src/generic/choicbkg.cpp
|
|
src/generic/choicdgg.cpp
|
|
src/generic/clrpickerg.cpp
|
|
src/generic/collpaneg.cpp
|
|
src/generic/colrdlgg.cpp
|
|
src/generic/combog.cpp
|
|
src/generic/dcpsg.cpp
|
|
src/generic/dcpsg.cpp
|
|
src/generic/dirctrlg.cpp
|
|
src/generic/dirdlgg.cpp
|
|
src/generic/dragimgg.cpp
|
|
src/generic/fdrepdlg.cpp
|
|
src/generic/filedlgg.cpp
|
|
src/generic/filepickerg.cpp
|
|
src/generic/fontdlgg.cpp
|
|
src/generic/fontpickerg.cpp
|
|
src/generic/hyperlink.cpp
|
|
src/generic/hyperlink.cpp
|
|
src/generic/listbkg.cpp
|
|
src/generic/listctrl.cpp
|
|
src/generic/logg.cpp
|
|
src/generic/mdig.cpp
|
|
src/generic/msgdlgg.cpp
|
|
src/generic/numdlgg.cpp
|
|
src/generic/panelg.cpp
|
|
src/generic/printps.cpp
|
|
src/generic/prntdlgg.cpp
|
|
src/generic/progdlgg.cpp
|
|
src/generic/renderg.cpp
|
|
src/generic/scrlwing.cpp
|
|
src/generic/selstore.cpp
|
|
src/generic/spinctlg.cpp
|
|
src/generic/splitter.cpp
|
|
src/generic/srchctlg.cpp
|
|
src/generic/statusbr.cpp
|
|
src/generic/tabg.cpp
|
|
src/generic/textdlgg.cpp
|
|
src/generic/tipwin.cpp
|
|
src/generic/toolbkg.cpp
|
|
src/generic/treebkg.cpp
|
|
src/generic/treectlg.cpp
|
|
src/generic/vlbox.cpp
|
|
src/generic/vscroll.cpp
|
|
src/msw/aboutdlg.cpp
|
|
src/msw/accel.cpp
|
|
src/msw/app.cpp
|
|
src/msw/bitmap.cpp
|
|
src/msw/bmpbuttn.cpp
|
|
src/msw/brush.cpp
|
|
src/msw/button.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/control.cpp
|
|
src/msw/cursor.cpp
|
|
src/msw/data.cpp
|
|
src/msw/dc.cpp
|
|
src/msw/dcclient.cpp
|
|
src/msw/dcmemory.cpp
|
|
src/msw/dcprint.cpp
|
|
src/msw/dcscreen.cpp
|
|
src/msw/dialog.cpp
|
|
src/msw/dialup.cpp
|
|
src/msw/dib.cpp
|
|
src/msw/dirdlg.cpp
|
|
src/msw/display.cpp
|
|
src/msw/dragimag.cpp
|
|
src/msw/enhmeta.cpp
|
|
src/msw/evtloop.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/gauge95.cpp
|
|
src/msw/gdiimage.cpp
|
|
src/msw/gdiobj.cpp
|
|
src/msw/graphics.cpp
|
|
src/msw/gsockmsw.cpp
|
|
src/msw/helpchm.cpp
|
|
src/msw/helpwin.cpp
|
|
src/msw/icon.cpp
|
|
src/msw/imaglist.cpp
|
|
src/msw/iniconf.cpp
|
|
src/msw/listbox.cpp
|
|
src/msw/listctrl.cpp
|
|
src/msw/main.cpp
|
|
src/msw/mdi.cpp
|
|
src/msw/menu.cpp
|
|
src/msw/menuitem.cpp
|
|
src/msw/metafile.cpp
|
|
src/msw/minifram.cpp
|
|
src/msw/msgdlg.cpp
|
|
src/msw/mslu.cpp
|
|
src/msw/nativdlg.cpp
|
|
src/msw/notebook.cpp
|
|
src/msw/ownerdrw.cpp
|
|
src/msw/palette.cpp
|
|
src/msw/pen.cpp
|
|
src/msw/popupwin.cpp
|
|
src/msw/printdlg.cpp
|
|
src/msw/printwin.cpp
|
|
src/msw/radiobox.cpp
|
|
src/msw/radiobut.cpp
|
|
src/msw/region.cpp
|
|
src/msw/renderer.cpp
|
|
src/msw/scrolbar.cpp
|
|
src/msw/settings.cpp
|
|
src/msw/slider95.cpp
|
|
src/msw/spinbutt.cpp
|
|
src/msw/spinctrl.cpp
|
|
src/msw/statbmp.cpp
|
|
src/msw/statbox.cpp
|
|
src/msw/statbr95.cpp
|
|
src/msw/statline.cpp
|
|
src/msw/stattext.cpp
|
|
src/msw/tabctrl.cpp
|
|
src/msw/tbar95.cpp
|
|
src/msw/textctrl.cpp
|
|
src/msw/tglbtn.cpp
|
|
src/msw/timer.cpp
|
|
src/msw/tooltip.cpp
|
|
src/msw/toplevel.cpp
|
|
src/msw/treectrl.cpp
|
|
src/msw/utilsgui.cpp
|
|
src/msw/uxtheme.cpp
|
|
src/msw/volume.cpp
|
|
src/msw/window.cpp
|
|
src/msw/ole/access.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/uuid.cpp)
|
|
enable_precompiled_headers(include/wx/wxprec.h src/common/dummy.cpp SRCS)
|
|
|
|
# These shouldn't link against the precompiled header
|
|
set(SRCS ${SRCS} src/png/png.c
|
|
src/png/pngerror.c
|
|
src/png/pnggccrd.c
|
|
src/png/pngget.c
|
|
src/png/pngmem.c
|
|
src/png/pngpread.c
|
|
src/png/pngread.c
|
|
src/png/pngrio.c
|
|
src/png/pngrtran.c
|
|
src/png/pngrutil.c
|
|
src/png/pngset.c
|
|
src/png/pngtest.c
|
|
src/png/pngtrans.c
|
|
src/png/pngvcrd.c
|
|
src/png/pngwio.c
|
|
src/png/pngwrite.c
|
|
src/png/pngwtran.c
|
|
src/png/pngwutil.c)
|
|
|
|
|
|
add_library(wxCore28 STATIC ${SRCS})
|