NerfUS mobile node that manages a target for the Nerf gun firing range

Dependencies:   LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager

Fork of NerfUS by NerfUS

Revision:
33:860ed7757673
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Xbee.cmake	Thu Mar 30 14:11:35 2017 -0400
@@ -0,0 +1,17 @@
+cmake_minimum_required(VERSION 3.5)
+
+# Download and unpack xbee at configure time
+configure_file(Xbee.txt.in
+               xbee-download/CMakeLists.txt)
+
+execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" .
+  WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/xbee-download )
+execute_process(COMMAND ${CMAKE_COMMAND} --build .
+  WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/xbee-download )
+ 
+# Add xbee directly to our build.
+add_subdirectory(${CMAKE_BINARY_DIR}/xbee-src
+                 ${CMAKE_BINARY_DIR}/xbee-build)
+ 
+include_directories("${xbee_SOURCE_DIR}/include")
+