mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #139 from chriseth/multiJson
Do not forget to export the new symbol.
This commit is contained in:
commit
2ea5b2431f
@ -18,7 +18,7 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (EMSCRIPTEN)
|
if (EMSCRIPTEN)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_compileJSON\",\"_version\"]'")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_compileJSON\",\"_version\",\"_compileJSONMulti\"]'")
|
||||||
add_executable(soljson jsonCompiler.cpp ${HEADERS})
|
add_executable(soljson jsonCompiler.cpp ${HEADERS})
|
||||||
eth_use(soljson REQUIRED Solidity)
|
eth_use(soljson REQUIRED Solidity)
|
||||||
else()
|
else()
|
||||||
|
Loading…
Reference in New Issue
Block a user