cab6469443
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
31 lines
550 B
CMake
31 lines
550 B
CMake
# CMakeLists.txt - wiiuse
|
|
|
|
set(WIIUSE_SOURCES
|
|
classic.c
|
|
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
|
|
)
|
|
|
|
|
|
if(APPLE)
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -arch i386")
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch i386 -F/Library/Frameworks")
|
|
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})
|