Branching from Cathaswatch project

https://git.nerdyssey.de/exodus/1NiM-WatingRoom-WatchController
This commit is contained in:
2024-11-16 11:53:28 +01:00
parent 1a13428c9d
commit 8c49e2f11c
116 changed files with 14510 additions and 590 deletions
+23 -2
View File
@@ -1,4 +1,25 @@
cmake_minimum_required(VERSION 3.16)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(X_WatchController-FW)
if(TgtEnv STREQUAL "Host")
message("Using Host-Branch")
enable_testing()
add_subdirectory("test/unitOnHost")
elseif(TgtEnv STREQUAL "Target")
# add_subdirectory("test/unitOnTarget")
add_subdirectory("core/test/unitOnTarget")
else()
message("Using ESP-Branch")
if(DEFINED ENV{UNIT_TESTS})
message("Using UnitTestFrame")
add_subdirectory("test/unitOnTarget" ${CMAKE_BINARY_DIR}/main)
else()
set(EXTRA_COMPONENT_DIRS
"core/components"
"core/components_extern"
"core/managed_components"
)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
message("Using Main App")
project(WatchController)
endif()
endif()