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