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
CMakeLists.txt@28:8fc53a870691, 2017-03-27 (annotated)
- Committer:
- Maxime Dupuis
- Date:
- Mon Mar 27 18:34:07 2017 -0400
- Revision:
- 28:8fc53a870691
- Parent:
- 17:975139bbddef
- Child:
- 33:860ed7757673
Add TargetManager library and create MockTarget
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Maxime Dupuis |
3:aaf84424abb1 | 1 | cmake_minimum_required(VERSION 3.5) |
Maxime Dupuis |
3:aaf84424abb1 | 2 | |
Maxime Dupuis |
8:0498fa4f5c1f | 3 | include("GoogleTest.cmake") |
Maxime Dupuis |
13:850be84c78dd | 4 | include("HardwareInterface.cmake") |
Maxime Dupuis |
16:fba7c8e39388 | 5 | include("Servomotor.cmake") |
Maxime Dupuis |
17:975139bbddef | 6 | include("LedController.cmake") |
Maxime Dupuis |
17:975139bbddef | 7 | include("XbeeTransmitter.cmake") |
Maxime Dupuis |
28:8fc53a870691 | 8 | include("TargetManager.cmake") |
Maxime Dupuis |
8:0498fa4f5c1f | 9 | |
Maxime Dupuis |
3:aaf84424abb1 | 10 | include_directories(include) |
Maxime Dupuis |
3:aaf84424abb1 | 11 | |
Maxime Dupuis |
3:aaf84424abb1 | 12 | file(GLOB SOURCES "source/*.cpp") |
Maxime Dupuis |
4:8b9f91de6cf1 | 13 | file(GLOB TEST_SOURCES "TESTS/*.cpp") |
Maxime Dupuis |
3:aaf84424abb1 | 14 | |
Maxime Dupuis |
3:aaf84424abb1 | 15 | add_executable(run_unit_tests ${SOURCES} ${TEST_SOURCES}) |
Maxime Dupuis |
28:8fc53a870691 | 16 | target_link_libraries(run_unit_tests gmock_main servomotor led_controller xbee_transmitter target_manager) |