CMakeLists.txt 286 B

123456789
  1. file(GLOB_RECURSE LIBSOURCE "${COMPONENTS_DIR}/fota/*.c")
  2. ADD_DEFINITIONS(-DCONFIG_FOTA_USE_HTTPC=1)
  3. include_directories(${COMPONENTS_DIR}/fota/include)
  4. include_directories(${COMPONENTS_DIR}/fota/http)
  5. include_directories(${COMPONENTS_DIR}/fota)
  6. add_library(fota STATIC ${LIBSOURCE})