NEW一个FINDBOOM
This commit is contained in:
@ -13,12 +13,17 @@ find_package(SDL2_image REQUIRED)
|
||||
find_package(SDL2_mixer REQUIRED)
|
||||
find_package(SDL2_ttf REQUIRED)
|
||||
|
||||
file(GLOB res res/**)
|
||||
file(COPY ${res} DESTINATION ${CMAKE_BINARY_DIR}/res)
|
||||
|
||||
add_executable(saolei
|
||||
src/main.c
|
||||
src/context.c
|
||||
src/window.c
|
||||
src/Global.c
|
||||
include/Global.h
|
||||
src/game.c
|
||||
include/game.h
|
||||
src/data.c
|
||||
include/data.h
|
||||
src/img.c
|
||||
include/img.h
|
||||
)
|
||||
|
||||
target_link_libraries(saolei
|
||||
|
||||
Reference in New Issue
Block a user