aboutsummaryrefslogtreecommitdiffstats
path: root/solc/CMakeLists.txt
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-09-16 10:50:16 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-12-11 20:49:08 +0800
commit1734d4456189b4a313a07e7f3e24cb01f5057fc3 (patch)
tree3cbc303365f827a8c7f76cb7feb6eabfa821c9c7 /solc/CMakeLists.txt
parent27f38fb5b31b9f0c228238cf0471155498b951b7 (diff)
downloaddexon-solidity-1734d4456189b4a313a07e7f3e24cb01f5057fc3.tar.gz
dexon-solidity-1734d4456189b4a313a07e7f3e24cb01f5057fc3.tar.zst
dexon-solidity-1734d4456189b4a313a07e7f3e24cb01f5057fc3.zip
Rename jsonCompiler to libsolc
Diffstat (limited to 'solc/CMakeLists.txt')
-rw-r--r--solc/CMakeLists.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/solc/CMakeLists.txt b/solc/CMakeLists.txt
index 656b27c3..d9b12a06 100644
--- a/solc/CMakeLists.txt
+++ b/solc/CMakeLists.txt
@@ -10,14 +10,6 @@ target_link_libraries(solc PRIVATE solidity ${Boost_PROGRAM_OPTIONS_LIBRARIES})
include(GNUInstallDirs)
install(TARGETS solc DESTINATION "${CMAKE_INSTALL_BINDIR}")
-if (EMSCRIPTEN)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s EXPORTED_FUNCTIONS='[\"_compileJSON\",\"_license\",\"_version\",\"_compileJSONMulti\",\"_compileJSONCallback\",\"_compileStandard\"]' -s RESERVED_FUNCTION_POINTERS=20")
- add_executable(soljson jsonCompiler.cpp)
-else()
- add_library(soljson jsonCompiler.cpp)
-endif()
-target_link_libraries(soljson PRIVATE solidity)
-
if(SOLC_LINK_STATIC AND UNIX AND NOT APPLE)
# Produce solc as statically linked binary (includes C/C++ standard libraries)
# This is not supported on macOS, see