NerfUS game coordinator for the Nerf gun firing range

Dependencies:   HardwareInterface mbed-rtos mbed

Fork of NerfUS by NerfUS

Revision:
8:0498fa4f5c1f
Child:
12:55930acb6c96
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GoogleTest.cmake	Thu Feb 09 14:24:39 2017 -0500
@@ -0,0 +1,17 @@
+cmake_minimum_required(VERSION 3.5)
+
+# Download and unpack googletest at configure time
+configure_file(CMakeLists.txt.in
+               googletest-download/CMakeLists.txt)
+
+execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" .
+  WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/googletest-download )
+execute_process(COMMAND ${CMAKE_COMMAND} --build .
+  WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/googletest-download )
+ 
+# Add googletest directly to our build. This adds the following targets: gtest, gtest_main, gmock and gmock_main
+add_subdirectory(${CMAKE_BINARY_DIR}/googletest-src
+                 ${CMAKE_BINARY_DIR}/googletest-build)
+ 
+include_directories("${gtest_SOURCE_DIR}/include")
+