2012-01-01 16:19:13 -05:00
|
|
|
# CMakeLists.txt - wiiuse
|
|
|
|
|
2013-02-03 19:15:45 -05:00
|
|
|
set(WIIUSE_SOURCES
|
|
|
|
classic.c
|
2013-02-06 16:40:11 -05:00
|
|
|
dynamics.c
|
|
|
|
events.c
|
|
|
|
guitar_hero_3.c
|
|
|
|
io.c
|
|
|
|
ir.c
|
|
|
|
motion_plus.c
|
|
|
|
nunchuk.c
|
|
|
|
os_nix.c
|
|
|
|
os_win.c
|
|
|
|
util.c
|
|
|
|
wiiboard.c
|
|
|
|
wiiuse.c
|
2012-03-05 19:18:51 -05:00
|
|
|
)
|
2013-02-03 19:15:45 -05:00
|
|
|
|
|
|
|
|
|
|
|
if(APPLE)
|
2013-03-14 19:10:20 -04:00
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -arch i386")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch i386 -F/Library/Frameworks")
|
2013-02-03 19:15:45 -05:00
|
|
|
set(WIIUSE_SOURCES ${WIIUSE_SOURCES}
|
|
|
|
os_mac/os_mac_find.m
|
|
|
|
os_mac/os_mac_interface.m
|
|
|
|
os_mac/os_mac.m
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_library(wiiuse ${WIIUSE_SOURCES})
|