source: flair-src/branches/sanscv/tools/Controller/DualShock3/CMakeLists.txt@ 405

Last change on this file since 405 was 324, checked in by Sanahuja Guillaume, 5 years ago

removing opencv dependency

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