aboutsummaryrefslogtreecommitdiffstats
path: root/lllc/CMakeLists.txt
diff options
context:
space:
mode:
authorPaweł Bylica <chfast@gmail.com>2017-08-16 19:21:12 +0800
committerPaweł Bylica <chfast@gmail.com>2017-08-18 19:32:36 +0800
commita874bd3f048125033250b8d7182dc30bbf36dbac (patch)
treeb604e3ea9ba3fffb63af98ebdc42a6a202603078 /lllc/CMakeLists.txt
parent8404e2b6d76dd3681bf30e99e2cb21112b491d70 (diff)
downloaddexon-solidity-a874bd3f048125033250b8d7182dc30bbf36dbac.tar.gz
dexon-solidity-a874bd3f048125033250b8d7182dc30bbf36dbac.tar.zst
dexon-solidity-a874bd3f048125033250b8d7182dc30bbf36dbac.zip
CMake: Simplify lllc config
Diffstat (limited to 'lllc/CMakeLists.txt')
-rw-r--r--lllc/CMakeLists.txt13
1 files changed, 2 insertions, 11 deletions
diff --git a/lllc/CMakeLists.txt b/lllc/CMakeLists.txt
index 3bd11187..7bebd0b1 100644
--- a/lllc/CMakeLists.txt
+++ b/lllc/CMakeLists.txt
@@ -1,12 +1,3 @@
-aux_source_directory(. SRC_LIST)
-
-set(EXECUTABLE lllc)
-
-file(GLOB HEADERS "*.h")
-include_directories(BEFORE ..)
-eth_simple_add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
-
-eth_use(${EXECUTABLE} REQUIRED Solidity::lll Dev::buildinfo Solidity::solevmasm)
-
-install( TARGETS ${EXECUTABLE} DESTINATION bin )
+add_executable(lllc main.cpp)
+target_link_libraries(lllc PRIVATE lll)