diff options
author | Sven Göthel <[email protected]> | 2024-03-29 16:22:25 +0100 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-03-29 16:22:25 +0100 |
commit | f79bfbe19c7657b9e0ed23679a13d1f29f3f239b (patch) | |
tree | 9195db0b1254a339bb9c37e10248bc1618e877ba /examples/CMakeLists.txt | |
parent | 561eb660652504ed0e5e6ebffad7f0a37d218fed (diff) |
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r-- | examples/CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index d1511b2..0430e9f 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -12,16 +12,11 @@ set( SDL_TARGETS_IDIOMATIC_FILES "" ) foreach( name ${BASENAMES_IDIOMATIC_TARGETS} ) set(target ${name}) set( SDL_TARGETS_IDIOMATIC_TARGETS "${SDL_TARGETS_IDIOMATIC_TARGETS};${target}" ) - # add_executable(${target} ${target}.cpp ../src/pixel.cpp ../src/sdl_subsys.cpp) add_executable(${target} ${name}.cpp) target_link_libraries(${target} ${SDL2_LIBS} ${CMAKE_THREAD_LIBS_INIT}) if (DEFINED EMSCRIPTEN) configure_file(${name}.html ${name}.html COPYONLY) set( SDL_TARGETS_IDIOMATIC_FILES "${SDL_TARGETS_IDIOMATIC_FILES};${CMAKE_CURRENT_BINARY_DIR}/${name}.wasm;${name}.html" ) - # set_target_properties(${target} PROPERTIES COMPILE_FLAGS "-Os -s SIDE_MODULE=1 ") - # set_target_properties(${target} PROPERTIES LINK_FLAGS "-Os -s WASM=1 -s SIDE_MODULE=1 -s STANDALONE_WASM --no-entry") - # set_target_properties(${target} PROPERTIES COMPILE_FLAGS "-s USE_SDL=2") - # set_target_properties(${target} PROPERTIES LINK_FLAGS "-s USE_SDL=2") endif() endforeach() |