comparison StoneWebViewer/WebAssembly/CMakeLists.txt @ 1518:433cf964838d

prevents random config. names + typofix + doc
author Benjamin Golinvaux <bgo@osimis.io>
date Fri, 31 Jul 2020 12:47:27 +0200
parents 2b7d34cb764f
children
comparison
equal deleted inserted replaced
1517:307a805d0587 1518:433cf964838d
41 41
42 # this will set up the build system for Stone of Orthanc and will 42 # this will set up the build system for Stone of Orthanc and will
43 # populate the ORTHANC_STONE_SOURCES CMake variable 43 # populate the ORTHANC_STONE_SOURCES CMake variable
44 include(${ORTHANC_STONE_ROOT}/Resources/CMake/OrthancStoneConfiguration.cmake) 44 include(${ORTHANC_STONE_ROOT}/Resources/CMake/OrthancStoneConfiguration.cmake)
45 45
46 if (CMAKE_BUILD_TYPE MATCHES Debug)
47 # specific flags go here
48 elseif (CMAKE_BUILD_TYPE MATCHES RelWithDebInfo)
49 # specific flags go here
50 elseif (CMAKE_BUILD_TYPE MATCHES Release)
51 # specific flags go here
52 else()
53 message(FATAL_ERROR "CMAKE_BUILD_TYPE must match either Debug, RelWithDebInfo or Release" )
54 endif()
46 55
47 ################################################################################ 56 ################################################################################
48 57
49 project(StoneWebViewer) 58 project(StoneWebViewer)
50 59
93 ) 102 )
94 103
95 104
96 # Declare installation files for the companion files (web scaffolding) 105 # Declare installation files for the companion files (web scaffolding)
97 # please note that ${CMAKE_CURRENT_BINARY_DIR}/StoneWebViewer.js 106 # please note that ${CMAKE_CURRENT_BINARY_DIR}/StoneWebViewer.js
98 # (the generated JS loader for the WASM module) is handled by the `install1` 107 # (the generated JS loader for the WASM module) is handled by the `install`
99 # section above: it is considered to be the binary output of 108 # section above: it is considered to be the binary output of
100 # the linker. 109 # the linker.
101 # --------------------------------------------------------------- 110 # ---------------------------------------------------------------
102 install( 111 install(
103 FILES 112 FILES