mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-10-25 10:20:54 +00:00
ASTC 6x6 HDR/6x6 HDR intermediate update
This commit is contained in:
@@ -14,7 +14,7 @@ message("KTX2=${KTX2}")
|
||||
message("KTX2_ZSTANDARD=${KTX2_ZSTANDARD}")
|
||||
|
||||
if (EMSCRIPTEN)
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
set(SRC_LIST
|
||||
../../transcoder/basisu_transcoder.cpp
|
||||
@@ -57,10 +57,12 @@ if (EMSCRIPTEN)
|
||||
)
|
||||
|
||||
target_compile_options(basis_transcoder.js PRIVATE -O3 -fno-strict-aliasing)
|
||||
#target_compile_options(basis_transcoder.js PRIVATE -O0 -g -fno-strict-aliasing)
|
||||
|
||||
target_include_directories(basis_transcoder.js PRIVATE ../../transcoder)
|
||||
|
||||
set_target_properties(basis_transcoder.js PROPERTIES
|
||||
OUTPUT_NAME "basis_transcoder"
|
||||
SUFFIX ".js"
|
||||
LINK_FLAGS "--bind -s ALLOW_MEMORY_GROWTH=1 -O3 -s ASSERTIONS=0 -s MALLOC=emmalloc -s MODULARIZE=1 -s EXPORT_NAME=BASIS ")
|
||||
LINK_FLAGS "--bind -s ALLOW_MEMORY_GROWTH=1 -s MALLOC=emmalloc -s MODULARIZE=1 -s EXPORT_NAME=BASIS -s ASSERTIONS=2")
|
||||
endif()
|
||||
|
||||
+748
-183
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Binary file not shown.
Reference in New Issue
Block a user