add sdl config.
This commit is contained in:
parent
c7a25b5769
commit
872d633a13
@ -5,6 +5,7 @@ project(LvglApplication)
|
|||||||
find_package(SDL2 REQUIRED)
|
find_package(SDL2 REQUIRED)
|
||||||
|
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -s USE_SDL=2")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -s USE_SDL=2")
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -s USE_SDL=2")
|
||||||
|
|
||||||
# 使用这个可以帮助查看如何使用和集成wasm
|
# 使用这个可以帮助查看如何使用和集成wasm
|
||||||
set(CMAKE_EXECUTABLE_SUFFIX ".html")
|
set(CMAKE_EXECUTABLE_SUFFIX ".html")
|
||||||
|
Loading…
Reference in New Issue
Block a user