Mercurial > hg > orthanc-stone
comparison Resources/CodeGeneration/testWasmIntegrated/CMakeLists.txt @ 519:17106b29ed6d bgo-commands-codegen
Changed the metadata system for structs. A __handler entry is now required
(with "cpp", "ts" or both: ["cpp","ts"]).
Changed the enumerations to string-based values.
Adapted the integrated wasm test.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 12 Mar 2019 13:11:18 +0100 |
parents | 1dbf2d9ed1e4 |
children | 342f3e04bfa9 |
comparison
equal
deleted
inserted
replaced
518:40bb5eb247a5 | 519:17106b29ed6d |
---|---|
21 set(jsoncppRootDir ${CMAKE_CURRENT_LIST_DIR}/jsoncpp-1.8.4) | 21 set(jsoncppRootDir ${CMAKE_CURRENT_LIST_DIR}/jsoncpp-1.8.4) |
22 | 22 |
23 add_custom_command( | 23 add_custom_command( |
24 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/testWasmIntegratedCpp_generated.hpp ${CMAKE_CURRENT_BINARY_DIR}/testWasmIntegratedCpp_generated.ts | 24 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/testWasmIntegratedCpp_generated.hpp ${CMAKE_CURRENT_BINARY_DIR}/testWasmIntegratedCpp_generated.ts |
25 COMMAND python3 ${CMAKE_CURRENT_LIST_DIR}/../stonegentool.py -o ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_LIST_DIR}/testWasmIntegratedCpp_api.yaml | 25 COMMAND python3 ${CMAKE_CURRENT_LIST_DIR}/../stonegentool.py -o ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_LIST_DIR}/testWasmIntegratedCpp_api.yaml |
26 DEPENDS ${testCppHandler_Codegen_Deps} | 26 DEPENDS ${testCppHandler_Codegen_Deps} ${CMAKE_CURRENT_LIST_DIR}/testWasmIntegratedCpp_api.yaml |
27 ) | 27 ) |
28 | 28 |
29 add_executable(testWasmIntegratedCpp | 29 add_executable(testWasmIntegratedCpp |
30 main.cpp | 30 main.cpp |
31 ${CMAKE_CURRENT_BINARY_DIR}/testWasmIntegratedCpp_generated.hpp | 31 ${CMAKE_CURRENT_BINARY_DIR}/testWasmIntegratedCpp_generated.hpp |