mirror of
https://github.com/NoelFB/tiny_link.git
synced 2025-02-20 13:48:28 +08:00
cleaning up CMakeLists.txt
This commit is contained in:
parent
14123e5b5e
commit
8936a5bbb7
@ -39,13 +39,17 @@ add_executable(game
|
||||
src/components/timer.h
|
||||
src/components/timer.cpp
|
||||
src/components/enemy.h
|
||||
"src/components/ghost_frog.h" "src/components/ghost_frog.cpp" "src/components/orb.h" "src/components/orb.cpp")
|
||||
src/components/ghost_frog.h
|
||||
src/components/ghost_frog.cpp
|
||||
src/components/orb.h
|
||||
src/components/orb.cpp
|
||||
)
|
||||
|
||||
# Reference blah
|
||||
target_link_libraries(game blah)
|
||||
|
||||
if( ${CMAKE_SYSTEM_NAME} MATCHES "Emscripten")
|
||||
set_target_properties(game PROPERTIES LINK_FLAGS "-s USE_SDL=2 -s USE_WEBGL2=1 --preload-file ${CMAKE_SOURCE_DIR}/content@/content")
|
||||
set_target_properties(game PROPERTIES LINK_FLAGS "-s USE_SDL=2 -s USE_WEBGL2=1 --preload-file ${CMAKE_SOURCE_DIR}/content@/content")
|
||||
set(CMAKE_EXECUTABLE_SUFFIX ".html")
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user