temp
This commit is contained in:
+15
-6
@@ -1,9 +1,18 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
set(EXTRA_COMPONENT_DIRS
|
||||
"core/components"
|
||||
"core/managed_components"
|
||||
)
|
||||
if(CMAKE_BUILD_TYPE)
|
||||
message("Using Host-Branch")
|
||||
if(${CMAKE_BUILD_TYPE} STREQUAL "uTest")
|
||||
# Own Workspace scaffold
|
||||
add_subdirectory(test/unitOnHost)
|
||||
endif()
|
||||
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)
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(X_WatchController_FW)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user