diff options
author | JF <jf@codingfield.com> | 2021-03-07 18:45:35 +0100 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2021-03-07 18:45:35 +0100 |
commit | c5dc4c55a79e0e3393df22e77825f24b6130a0bb (patch) | |
tree | 6f81eb191aa0c749cbef9b856d43ed4546302802 /CMakeLists.txt | |
parent | ada942535718d48eec37cca4f50d678e7201dc67 (diff) | |
parent | 5845fd98ba68e12f1e57d50ed06abd7ccf47e029 (diff) |
Merge branch 'recovery-firmware' of JF/PineTime into develop
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ac7c8903..c63d169a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,6 +41,10 @@ if(DEFINED USE_DEBUG_PINS AND USE_DEBUG_PINS) add_definitions(-DUSE_DEBUG_PINS) endif() +if(BUILD_DFU) + set(BUILD_DFU true) +endif() + message("BUILD CONFIGURATION") message("-------------------") message(" * Version : " ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}) @@ -62,6 +66,11 @@ if(USE_DEBUG_PINS) else() message(" * Debug pins : Disabled") endif() +if(BUILD_DFU) + message(" * Build DFU (using adafruit-nrfutil) : Enabled") +else() + message(" * Build DFU (using adafruit-nrfutil) : Disabled") +endif() set(VERSION_EDIT_WARNING "// Do not edit this file, it is automatically generated by CMAKE!") configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/Version.h.in ${CMAKE_CURRENT_SOURCE_DIR}/src/Version.h) |