fix clion cmake
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.16.0)
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
# include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(nukihub)
|
||||
|
||||
add_compile_definitions(CONFIG_IDF_TARGET_ESP32)
|
||||
@@ -32,10 +32,6 @@ set(SRCFILES
|
||||
../src/Gpio.cpp
|
||||
../src/Logger.cpp
|
||||
../src/RestartReason.h
|
||||
# include/RTOS.h
|
||||
../lib/WiFiManager/WiFiManager.cpp
|
||||
../lib/WiFiManager/wm_consts_en.h
|
||||
../lib/WiFiManager/wm_strings_en.h
|
||||
../lib/nuki_ble/src/NukiBle.cpp
|
||||
../lib/nuki_ble/src/NukiBle.hpp
|
||||
../lib/nuki_ble/src/NukiLock.cpp
|
||||
@@ -63,6 +59,8 @@ file(GLOB_RECURSE SRCFILESREC
|
||||
lib/NimBLE-Arduino/src/*.h
|
||||
lib/ArduinoJson/src/*.h
|
||||
lib/ArduinoJson/src/*.hpp
|
||||
lib/PsychicHttp/src/*.cpp
|
||||
lib/PsychicHttp/src/*.h
|
||||
)
|
||||
|
||||
add_executable(dummy
|
||||
|
||||
Reference in New Issue
Block a user