You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
set(BUILD_TESTING OFF)
|
|
|
|
|
set(DISABLE_ZERO_TIER ON)
|
|
|
|
|
set(DEVILUTIONX_SYSTEM_SDL_AUDIOLIB OFF)
|
|
|
|
|
set(DEVILUTIONX_SYSTEM_LIBSODIUM OFF)
|
|
|
|
|
set(DEVILUTIONX_SYSTEM_LIBFMT OFF)
|
|
|
|
|
|
|
|
|
|
# Emscripten ports do have a bzip2 but it fails to link with this error:
|
|
|
|
|
# warning: _BZ2_bzDecompress may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
|
|
|
|
|
# error: undefined symbol: BZ2_bzDecompressEnd (referenced by top-level compiled C/C++ code)
|
|
|
|
|
set(DEVILUTIONX_SYSTEM_BZIP2 OFF)
|
|
|
|
|
|
|
|
|
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/Packaging/emscripten/index.html" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}")
|