cmake_minimum_required(VERSION 3.6) set(NRF_LOG_LEVEL 4) set(MCU_CHIP nrf52832_xxaa) set(MCU_NRF5X_SDK ../thirdparty/nRF5_SDK_15.0.0_a53641a) # search for programs in the build host directories SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) # for libraries and headers in the target directories SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) include(../thirdparty/mcu.cmake/mcu.cmake) project(firmware C CXX ASM) add_subdirectory(temperature)