|
|
|
cmake_policy(SET CMP0015 NEW)
|
|
|
|
set(CMAKE_AUTOMOC OFF)
|
|
|
|
|
|
|
|
aux_source_directory(. SRC_LIST)
|
|
|
|
|
|
|
|
include_directories(BEFORE ${JSONCPP_INCLUDE_DIRS})
|
|
|
|
include_directories(BEFORE ..)
|
|
|
|
include_directories(${Boost_INCLUDE_DIRS})
|
|
|
|
|
|
|
|
set(EXECUTABLE lllc)
|
|
|
|
|
|
|
|
file(GLOB HEADERS "*.h")
|
|
|
|
add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
|
|
|
|
|
|
|
|
add_dependencies(${EXECUTABLE} BuildInfo.h)
|
|
|
|
|
|
|
|
target_link_libraries(${EXECUTABLE} lll)
|
|
|
|
target_link_libraries(${EXECUTABLE} evmcore)
|
|
|
|
target_link_libraries(${EXECUTABLE} devcore)
|
|
|
|
|
|
|
|
install( TARGETS ${EXECUTABLE} DESTINATION bin )
|
|
|
|
|