mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 01:59:52 -06:00
move wiiuse to Source/Core and add to the main dolphin solution
make wiiuse link dynamically with hid.dll, removing the need for WDK compile wiiuse as c++ git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6394 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
16
Source/Core/wiiuse/CMakeLists.txt
Normal file
16
Source/Core/wiiuse/CMakeLists.txt
Normal file
@ -0,0 +1,16 @@
|
||||
set(SRCS Src/ir.cpp
|
||||
Src/wiiuse.cpp)
|
||||
|
||||
if(APPLE)
|
||||
set(SRCS ${SRCS} Src/io_osx.m)
|
||||
elseif(UNIX AND BLUEZ_FOUND)
|
||||
set(SRCS ${SRCS} Src/io_nix.cpp)
|
||||
set(LIBS ${LIBS} bluetooth)
|
||||
elseif(WIN32)
|
||||
set(SRCS ${SRCS} Src/io_win.cpp)
|
||||
else()
|
||||
set(SRCS ${SRCS} Src/io_dummy.cpp)
|
||||
endif()
|
||||
|
||||
add_library(wiiuse STATIC ${SRCS})
|
||||
target_link_libraries(wiiuse ${LIBS})
|
Reference in New Issue
Block a user