NerfUS_cmake_cleanup

Dependencies:   mbed-rtos mbed

Fork of NerfUS by NerfUS

Committer:
Maxime Dupuis
Date:
Thu Feb 09 14:24:39 2017 -0500
Revision:
8:0498fa4f5c1f
Parent:
3:aaf84424abb1
Child:
9:4731e16b1359
Simplify the build process

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Maxime Dupuis 8:0498fa4f5c1f 1 cmake_minimum_required(VERSION 3.5)
Maxime Dupuis 3:aaf84424abb1 2
Maxime Dupuis 3:aaf84424abb1 3 project(googletest-download NONE)
Maxime Dupuis 3:aaf84424abb1 4
Maxime Dupuis 3:aaf84424abb1 5 include(ExternalProject)
Maxime Dupuis 3:aaf84424abb1 6 ExternalProject_Add(googletest
Maxime Dupuis 3:aaf84424abb1 7 GIT_REPOSITORY https://github.com/google/googletest.git
Maxime Dupuis 3:aaf84424abb1 8 SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-src"
Maxime Dupuis 3:aaf84424abb1 9 BINARY_DIR "${CMAKE_BINARY_DIR}/googletest-build"
Maxime Dupuis 3:aaf84424abb1 10 )