Rev | Line | |
---|
[39] | 1 | PROJECT(dualshock3)
|
---|
[11] | 2 | cmake_minimum_required(VERSION 2.8)
|
---|
[302] | 3 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
[11] | 4 |
|
---|
[107] | 5 | if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i686" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i586" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64")
|
---|
| 6 |
|
---|
[11] | 7 | SET(FLAIR_USE_SENSOR_ACTUATOR TRUE)
|
---|
| 8 |
|
---|
| 9 | ADD_DEFINITIONS(-fpermissive)
|
---|
| 10 |
|
---|
[302] | 11 | SET(SRC_FILES
|
---|
[11] | 12 | src/DualShock3.cpp
|
---|
| 13 | src/main.cpp
|
---|
| 14 | )
|
---|
| 15 |
|
---|
[304] | 16 | FLAIR_NRT_TOOL(${PROJECT_NAME} "${SRC_FILES}" COPY_RESOURCES)
|
---|
[11] | 17 |
|
---|
[302] | 18 | TARGET_LINK_LIBRARIES(${PROJECT_NAME} bluetooth usb)
|
---|
[11] | 19 |
|
---|
[107] | 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.