source: flair-src/trunk/tools/Controller/DualShock3/CMakeLists.txt@ 305

Last change on this file since 305 was 304, checked in by Sanahuja Guillaume, 3 years ago

add resources

File size: 608 bytes
RevLine 
[39]1PROJECT(dualshock3)
[11]2cmake_minimum_required(VERSION 2.8)
[302]3include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
[11]4
[107]5if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
6
[11]7SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
8
9ADD_DEFINITIONS(-fpermissive)
10
[302]11SET(SRC_FILES
[11]12 src/DualShock3.cpp
13 src/main.cpp
14)
15
[304]16FLAIR_NRT_TOOL(${PROJECT_NAME} "${SRC_FILES}" COPY_RESOURCES)
[11]17
[302]18TARGET_LINK_LIBRARIES(${PROJECT_NAME} bluetooth usb)
[11]19
[107]20else()
21warn("${PROJECT_NAME} will not be built for ${CMAKE_SYSTEM_PROCESSOR} architecture")
22endif()
Note: See TracBrowser for help on using the repository browser.