NerfUS game coordinator for the Nerf gun firing range
Dependencies: HardwareInterface mbed-rtos mbed
Fork of NerfUS by
GoogleTest.cmake@17:48474266a361, 2017-03-17 (annotated)
- Committer:
- Ismael Balafrej
- Date:
- Fri Mar 17 17:19:42 2017 -0400
- Branch:
- PlayableGame
- Revision:
- 17:48474266a361
- Parent:
- 12:55930acb6c96
First Commit of PlayableGame
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Maxime Dupuis |
8:0498fa4f5c1f | 1 | cmake_minimum_required(VERSION 3.5) |
Maxime Dupuis |
8:0498fa4f5c1f | 2 | |
Maxime Dupuis |
8:0498fa4f5c1f | 3 | # Download and unpack googletest at configure time |
Maxime Dupuis |
12:55930acb6c96 | 4 | configure_file(GoogleTest.txt.in |
Maxime Dupuis |
8:0498fa4f5c1f | 5 | googletest-download/CMakeLists.txt) |
Maxime Dupuis |
8:0498fa4f5c1f | 6 | |
Maxime Dupuis |
8:0498fa4f5c1f | 7 | execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" . |
Maxime Dupuis |
8:0498fa4f5c1f | 8 | WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/googletest-download ) |
Maxime Dupuis |
8:0498fa4f5c1f | 9 | execute_process(COMMAND ${CMAKE_COMMAND} --build . |
Maxime Dupuis |
8:0498fa4f5c1f | 10 | WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/googletest-download ) |
Maxime Dupuis |
8:0498fa4f5c1f | 11 | |
Maxime Dupuis |
8:0498fa4f5c1f | 12 | # Add googletest directly to our build. This adds the following targets: gtest, gtest_main, gmock and gmock_main |
Maxime Dupuis |
8:0498fa4f5c1f | 13 | add_subdirectory(${CMAKE_BINARY_DIR}/googletest-src |
Maxime Dupuis |
8:0498fa4f5c1f | 14 | ${CMAKE_BINARY_DIR}/googletest-build) |
Maxime Dupuis |
8:0498fa4f5c1f | 15 | |
Maxime Dupuis |
8:0498fa4f5c1f | 16 | include_directories("${gtest_SOURCE_DIR}/include") |
Maxime Dupuis |
8:0498fa4f5c1f | 17 |