diff options
Diffstat (limited to 'code/CMakeLists.txt')
-rw-r--r-- | code/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt new file mode 100644 index 0000000..0a21f23 --- /dev/null +++ b/code/CMakeLists.txt @@ -0,0 +1,17 @@ +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) |