NerfUS

Dependencies:   mbed mbed-rtos HardwareInterface EthernetInterface WebSocketClient

Committer:
ericmatte
Date:
Wed Mar 01 03:55:37 2017 +0000
Revision:
17:8c77b958edd7
Parent:
12:55930acb6c96
Working Ethernet

Who changed what in which revision?

UserRevisionLine numberNew 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