add web sync files and key events
This commit is contained in:
@@ -94,7 +94,7 @@ add_executable(panopainter
|
||||
../src/node_input_box.cpp
|
||||
../src/node_dialog_export_ppbr.cpp
|
||||
)
|
||||
target_compile_options(panopainter PRIVATE -std=c++14 -O2)
|
||||
target_compile_options(panopainter PRIVATE -std=c++14 -O3)
|
||||
set_target_properties(panopainter PROPERTIES
|
||||
SUFFIX ".html"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/html"
|
||||
@@ -105,8 +105,6 @@ set_target_properties(panopainter PROPERTIES
|
||||
-s USE_PTHREADS=1\
|
||||
-s ASSERTIONS=2\
|
||||
-s TOTAL_MEMORY=256Mb\
|
||||
-s ALLOW_MEMORY_GROWTH=1\
|
||||
-s WASM_MEM_MAX=512MB\
|
||||
--embed-file data\
|
||||
--js-library ../src/mylib.js\
|
||||
--bind"
|
||||
|
||||
Reference in New Issue
Block a user