mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
More CMake work:
- various fixes for using CMake on Windows - support building external SDL, zlib, CLRun, wxWidgets - support using precompiled GLew and WiiUse libs on Windows For what it's worth, I'm not quite sure if I got all the wx files right... Building with MSVC2008 still doesn't work yet, but is a lot closer now. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6361 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
b565618442
commit
4782a8fc5a
9 changed files with 520 additions and 49 deletions
21
Externals/SDL/CMakeLists.txt
vendored
Normal file
21
Externals/SDL/CMakeLists.txt
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
add_definitions(-DSDL_VIDEO_DISABLED=1)
|
||||
add_definitions(-DSDL_EVENTS_DISABLED=1)
|
||||
|
||||
set(SRCS src/SDL.c
|
||||
src/SDL_error.c
|
||||
src/SDL_fatal.c
|
||||
src/joystick/SDL_joystick.c)
|
||||
|
||||
# TODO: for BSD: add usbhid to libs, add joystick/bsd/SDL_sysjoystick.c, stdlib/SDL_malloc.c and stdlib/SDL_string.c to sources
|
||||
|
||||
if(APPLE)
|
||||
set(SRCS ${SRCS} src/joystick/darwin/SDL_sysjoystick.c)
|
||||
elseif(UNIX)
|
||||
set(SRCS ${SRCS} src/joystick/linux/SDL_sysjoystick.c)
|
||||
elseif(WIN32)
|
||||
set(SRCS ${SRCS} src/joystick/win32/SDL_mmjoystick.c)
|
||||
else()
|
||||
set(SRCS ${SRCS} src/joystick/dummy/SDL_sysjoystick.c)
|
||||
endif()
|
||||
|
||||
add_library(SDL STATIC ${SRCS})
|
Loading…
Add table
Add a link
Reference in a new issue