Skip to content

Commit

Permalink
improve build script
Browse files Browse the repository at this point in the history
  • Loading branch information
xianjimli committed Dec 16, 2024
1 parent ad3b62a commit 605d8c4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/awtk_mobile_common.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
set(AWTK_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/awtk)
set(AWTK_PORT_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/awtk-port)
set(AWTK_APP_PATH ${CMAKE_CURRENT_SOURCE_DIR}/app)
set(AWTK_3RD_PATH ${AWTK_ROOT_PATH}/3rd)
set(AWTK_SRC_PATH ${AWTK_ROOT_PATH}/src)
Expand Down Expand Up @@ -42,6 +43,15 @@ set(AWTK_VGCANVAS_NANOVG_PLUS_GLES3_FLAGS "-DWITH_GPU_GLES3 -DWITH_GPU_GL -DWITH
set(AWTK_VGCANVAS_NANOVG_GLES2_FLAGS "-DWITH_GPU_GLES2 -DWITH_GPU_GL -DWITH_NANOVG_GPU -DWITH_NANOVG_GLES2 ")
set(AWTK_VGCANVAS_NANOVG_GLES3_FLAGS "-DWITH_GPU_GLES3 -DWITH_GPU_GL -DWITH_NANOVG_GPU -DWITH_NANOVG_GLES3 ")

file(GLOB AWTK_PORT_SOURCE_FILES
${AWTK_PORT_ROOT_PATH}/*.c
)

set(AWTK_RAW_COMMON_SOURCE_FILES
${AWTK_SRC_PATH}/native_window/native_window_raw.c
${AWTK_SRC_PATH}/main_loop/main_loop_simple.c
)

file(GLOB AWTK_BASE_SOURCE_FILES
${AWTK_3RD_PATH}/libunibreak/*.c
${AWTK_3RD_PATH}/miniz/*.c
Expand Down

0 comments on commit 605d8c4

Please sign in to comment.