wasm_app.cmake 604 B

12345678910111213141516171819
  1. # Copyright (C) 2019 Intel Corporation. All rights reserved.
  2. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  3. set (WASM_APP_GUI_DIR ${CMAKE_CURRENT_LIST_DIR})
  4. set (DEPS_DIR ${WASM_APP_GUI_DIR}/../../../deps)
  5. if (NOT EXISTS "${DEPS_DIR}/lvgl")
  6. message (FATAL_ERROR "Can not find third party dependency: ${DEPS_DIR}/lvgl")
  7. endif ()
  8. include_directories(${WASM_APP_GUI_DIR}
  9. ${DEPS_DIR}
  10. ${DEPS_DIR}/lvgl
  11. ${DEPS_DIR}/lvgl/src)
  12. file (GLOB_RECURSE source_all ${WASM_APP_GUI_DIR}/src/*.c)
  13. set (WASM_APP_CURRENT_SOURCE ${source_all})