Mercurial > hg > orthanc-stone
comparison OrthancStone/Resources/WebAssemblyUnitTests/CMakeLists.txt @ 1937:47724d23feaf
fix build of wasm unit tests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 06 May 2022 15:52:54 +0200 |
parents | 184b0aeae1af |
children | a05b03f45289 990f396484b1 |
comparison
equal
deleted
inserted
replaced
1936:224d7763eede | 1937:47724d23feaf |
---|---|
43 set(WASM_LINKER_FLAGS "${WASM_LINKER_FLAGS} -s ERROR_ON_UNDEFINED_SYMBOLS=1") | 43 set(WASM_LINKER_FLAGS "${WASM_LINKER_FLAGS} -s ERROR_ON_UNDEFINED_SYMBOLS=1") |
44 set(WASM_LINKER_FLAGS "${WASM_LINKER_FLAGS} -s ALLOW_MEMORY_GROWTH=1 -s TOTAL_MEMORY=268435456") # 256MB + resize | 44 set(WASM_LINKER_FLAGS "${WASM_LINKER_FLAGS} -s ALLOW_MEMORY_GROWTH=1 -s TOTAL_MEMORY=268435456") # 256MB + resize |
45 set(WASM_LINKER_FLAGS "${WASM_LINKER_FLAGS} -s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1") | 45 set(WASM_LINKER_FLAGS "${WASM_LINKER_FLAGS} -s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1") |
46 add_definitions( | 46 add_definitions( |
47 -DDISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1 | 47 -DDISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1 |
48 ) | 48 -DORTHANC_BUILD_UNIT_TESTS=1 |
49 ) | |
49 | 50 |
50 | 51 |
51 # Stone of Orthanc configuration | 52 # Stone of Orthanc configuration |
52 # --------------------------------------------------------------- | 53 # --------------------------------------------------------------- |
53 set(ALLOW_DOWNLOADS ON) | 54 set(ALLOW_DOWNLOADS ON) |