stk-code_catmod/lib/wiiuse/CMakeLists.txt
auria cab6469443 Complete Cmake OSX 10.7 support. Hopefully Cmake is now ready to take over the manually maintained Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-14 23:10:20 +00:00

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})