|
@@ -5,7 +5,7 @@ set(CMAKE_CXX_STANDARD 17)
|
|
|
|
|
|
# Include the components directory of the main application:
|
|
|
#
|
|
|
-set(EXTRA_COMPONENT_DIRS "../..")
|
|
|
+set(EXTRA_COMPONENT_DIRS "..")
|
|
|
|
|
|
# Set the components to include the tests for.
|
|
|
# This can be overridden from CMake cache:
|
|
@@ -16,11 +16,11 @@ set(TEST_COMPONENTS "kbf" CACHE STRING "List of components to test")
|
|
|
|
|
|
# hax to avoid circular dependency with CLion + still build nicely with idf.py
|
|
|
# set in root CMakeLists.txt: set(SKIP_IDF 1)
|
|
|
-if (SKIP_IDF)
|
|
|
- message("skipping include esp-idf")
|
|
|
-else()
|
|
|
- message("including esp-idf")
|
|
|
- include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
|
-endif()
|
|
|
+#if (SKIP_IDF)
|
|
|
+# message("skipping include esp-idf")
|
|
|
+#else()
|
|
|
+# message("including esp-idf")
|
|
|
+# include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
|
+#endif()
|
|
|
|
|
|
-project(kbf_unit_test)
|
|
|
+project(kbf)
|