diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-04-24 23:36:37 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-04-24 23:36:37 +0800 |
commit | 4eae971b31b4b43544473774e4bb98dfad1af07c (patch) | |
tree | 256fd7b8e5dfd2b6fc17e0f14b869048d4cbd208 /solc/CMakeLists.txt | |
parent | d3b8d5f0498724fc4271f907f0404b4ed7922399 (diff) | |
download | dexon-solidity-4eae971b31b4b43544473774e4bb98dfad1af07c.tar.gz dexon-solidity-4eae971b31b4b43544473774e4bb98dfad1af07c.tar.zst dexon-solidity-4eae971b31b4b43544473774e4bb98dfad1af07c.zip |
Export compileStandard on emscripten
Diffstat (limited to 'solc/CMakeLists.txt')
-rw-r--r-- | solc/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solc/CMakeLists.txt b/solc/CMakeLists.txt index fa7e0bde..a5515d81 100644 --- a/solc/CMakeLists.txt +++ b/solc/CMakeLists.txt @@ -18,7 +18,7 @@ else() endif() if (EMSCRIPTEN) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_compileJSON\",\"_version\",\"_compileJSONMulti\",\"_compileJSONCallback\"]' -s RESERVED_FUNCTION_POINTERS=20") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_compileJSON\",\"_version\",\"_compileJSONMulti\",\"_compileJSONCallback\",\"_compileStandard\"]' -s RESERVED_FUNCTION_POINTERS=20") add_executable(soljson jsonCompiler.cpp ${HEADERS}) eth_use(soljson REQUIRED Solidity::solidity) else() |