aboutsummaryrefslogtreecommitdiffstats
path: root/libsolc/CMakeLists.txt
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-06-20 07:34:54 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-06-30 01:30:37 +0800
commit328554a4f91bbd77fc9a901e0bde66eb16d988ea (patch)
tree1d6365c17cc0ede81bb951e330ba08c1ca31aed3 /libsolc/CMakeLists.txt
parent7d525620d88d3539b5c0f85ee2c5ba49506e30bc (diff)
downloaddexon-solidity-328554a4f91bbd77fc9a901e0bde66eb16d988ea.tar.gz
dexon-solidity-328554a4f91bbd77fc9a901e0bde66eb16d988ea.tar.zst
dexon-solidity-328554a4f91bbd77fc9a901e0bde66eb16d988ea.zip
Add new libsolc entry points (solidity_license/version/compile)
Diffstat (limited to 'libsolc/CMakeLists.txt')
-rw-r--r--libsolc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolc/CMakeLists.txt b/libsolc/CMakeLists.txt
index e67583dd..63fc1a83 100644
--- a/libsolc/CMakeLists.txt
+++ b/libsolc/CMakeLists.txt
@@ -1,5 +1,5 @@
if (EMSCRIPTEN)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_compileJSON\",\"_license\",\"_version\",\"_compileJSONMulti\",\"_compileJSONCallback\",\"_compileStandard\"]' -s RESERVED_FUNCTION_POINTERS=20")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_solidity_license\",\"_solidity_version\",\"_solidity_compile\",\"_license\",\"_version\",\"_compileJSON\",\"_compileJSONMulti\",\"_compileJSONCallback\",\"_compileStandard\"]' -s RESERVED_FUNCTION_POINTERS=20")
add_executable(soljson libsolc.cpp)
target_link_libraries(soljson PRIVATE solidity)
else()