comparison Platforms/Wasm/CMakeLists.txt @ 242:092db46c6291 am

improved SDL/Wasm unification
author am@osimis.io
date Wed, 20 Jun 2018 14:20:55 +0200
parents b4642964c355
children 313903066093
comparison
equal deleted inserted replaced
241:a4197519eb55 242:092db46c6291
61 61
62 macro(BuildSample Target Header Sample) 62 macro(BuildSample Target Header Sample)
63 add_executable(${Target} 63 add_executable(${Target}
64 ${ORTHANC_STONE_ROOT}/Platforms/Wasm/Defaults.cpp 64 ${ORTHANC_STONE_ROOT}/Platforms/Wasm/Defaults.cpp
65 ${ORTHANC_STONE_ROOT}/Platforms/Wasm/WasmWebService.cpp 65 ${ORTHANC_STONE_ROOT}/Platforms/Wasm/WasmWebService.cpp
66 ${ORTHANC_STONE_ROOT}/Platforms/Wasm/WasmViewport.cpp
66 67
67 ${ORTHANC_STONE_ROOT}/Applications/Samples/SampleMainWasm.cpp 68 ${ORTHANC_STONE_ROOT}/Applications/Samples/SampleMainWasm.cpp
68 ${ORTHANC_STONE_ROOT}/Applications/Samples/SampleApplicationContext.cpp 69 # ${ORTHANC_STONE_ROOT}/Applications/Samples/SampleApplicationContext.cpp
69 ${ORTHANC_STONE_ROOT}/Applications/Samples/SampleInteractor.h 70 ${ORTHANC_STONE_ROOT}/Applications/Samples/SampleInteractor.h
70 ${ORTHANC_STONE_ROOT}/Applications/Samples/SampleApplicationBase.h 71 ${ORTHANC_STONE_ROOT}/Applications/Samples/SampleApplicationBase.h
71 ${ORTHANC_STONE_ROOT}/Applications/Samples/${Header} 72 ${ORTHANC_STONE_ROOT}/Applications/Samples/${Header}
72 ) 73 )
73 set_target_properties(${Target} PROPERTIES COMPILE_DEFINITIONS ORTHANC_STONE_SAMPLE=${Sample}) 74 set_target_properties(${Target} PROPERTIES COMPILE_DEFINITIONS ORTHANC_STONE_SAMPLE=${Sample})