NerfUS game coordinator for the Nerf gun firing range

Dependencies:   HardwareInterface mbed-rtos mbed

Fork of NerfUS by NerfUS

Committer:
Ismael Balafrej
Date:
Fri Mar 17 17:19:42 2017 -0400
Branch:
PlayableGame
Revision:
17:48474266a361
Parent:
13:850be84c78dd
First Commit of PlayableGame

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Maxime Dupuis 13:850be84c78dd 1 cmake_minimum_required(VERSION 3.5)
Maxime Dupuis 13:850be84c78dd 2
Maxime Dupuis 13:850be84c78dd 3 # Download and unpack hardwareInterface at configure time
Maxime Dupuis 13:850be84c78dd 4 configure_file(HardwareInterface.txt.in
Maxime Dupuis 13:850be84c78dd 5 hardwareInterface-download/CMakeLists.txt)
Maxime Dupuis 13:850be84c78dd 6
Maxime Dupuis 13:850be84c78dd 7 execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" .
Maxime Dupuis 13:850be84c78dd 8 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/hardwareInterface-download )
Maxime Dupuis 13:850be84c78dd 9 execute_process(COMMAND ${CMAKE_COMMAND} --build .
Maxime Dupuis 13:850be84c78dd 10 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/hardwareInterface-download )
Maxime Dupuis 13:850be84c78dd 11
Maxime Dupuis 13:850be84c78dd 12 # Add hardwareInterface directly to our build.
Maxime Dupuis 13:850be84c78dd 13 add_subdirectory(${CMAKE_BINARY_DIR}/hardwareInterface-src
Maxime Dupuis 13:850be84c78dd 14 ${CMAKE_BINARY_DIR}/hardwareInterface-build)
Maxime Dupuis 13:850be84c78dd 15
Maxime Dupuis 13:850be84c78dd 16 include_directories("${hardwareInterface_SOURCE_DIR}/include")
Maxime Dupuis 13:850be84c78dd 17