Maxime Dupuis / Mbed 2 deprecated NerfUS_cmake_add_library_from_mbed

Dependencies:   mbed-rtos mbed HardwareInterface

Fork of NerfUS_cmake_cleanup by Maxime Dupuis

Files at this revision

API Documentation at this revision

Comitter:
Maxime Dupuis
Date:
Thu Feb 16 11:24:08 2017 -0500
Parent:
10:6ce1d834ecb7
Child:
12:850be84c78dd
Commit message:
Import library from mbed.org

- Prove that you can import a library from mbed
- Mock one of its abstract interface

Changed in this revision

CMakeLists.txt Show annotated file Show diff for this revision Revisions of this file
GoogleTest.cmake Show annotated file Show diff for this revision Revisions of this file
--- a/CMakeLists.txt	Wed Feb 15 22:26:39 2017 +0000
+++ b/CMakeLists.txt	Thu Feb 16 11:24:08 2017 -0500
@@ -1,6 +1,7 @@
 cmake_minimum_required(VERSION 3.5)
 
 include("GoogleTest.cmake")
+include("BlinkLib.cmake")
 
 include_directories(include)
 
--- a/GoogleTest.cmake	Wed Feb 15 22:26:39 2017 +0000
+++ b/GoogleTest.cmake	Thu Feb 16 11:24:08 2017 -0500
@@ -1,7 +1,7 @@
 cmake_minimum_required(VERSION 3.5)
 
 # Download and unpack googletest at configure time
-configure_file(CMakeLists.txt.in
+configure_file(GoogleTest.txt.in
                googletest-download/CMakeLists.txt)
 
 execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" .