Files
1NiM-WatingRoom-WatchContro…/CMakeLists.txt
T
2025-11-09 19:04:54 +01:00

18 lines
494 B
CMake

cmake_minimum_required(VERSION 3.16)
if(TgtEnv STREQUAL "Host")
message("Using Host-Branch")
add_subdirectory("test/unitOnHost")
elseif(TgtEnv STREQUAL "Target")
# add_subdirectory("test/unitOnTarget")
add_subdirectory("core/test/unitOnTarget")
else()
message("Using ESP-Branch")
set(EXTRA_COMPONENT_DIRS
"core/components"
"core/managed_components"
)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(X_WatchController_FW)
endif()