Browse Source

Updated cmake files after moving the jit compiler to a lib.

cl-refactor
artur-zawlocki 10 years ago
parent
commit
0abe8ab42e
  1. 1
      CMakeLists.txt
  2. 1
      evmcc/CMakeLists.txt
  3. 4
      test/CMakeLists.txt

1
CMakeLists.txt

@ -157,6 +157,7 @@ if (NOT LANGUAGES)
endif()
if (EVMCC)
add_subdirectory(libevmjit)
add_subdirectory(evmcc)
endif()

1
evmcc/CMakeLists.txt

@ -12,6 +12,7 @@ target_link_libraries(${EXECUTABLE} devcore)
target_link_libraries(${EXECUTABLE} ethcore)
target_link_libraries(${EXECUTABLE} evm)
target_link_libraries(${EXECUTABLE} evmface)
target_link_libraries(${EXECUTABLE} evmjit)
if ("${TARGET_PLATFORM}" STREQUAL "w64")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++")

4
test/CMakeLists.txt

@ -5,6 +5,8 @@ aux_source_directory(. SRC_LIST)
include_directories(..)
link_directories(../libethcore)
link_directories(../libethereum)
link_directories(../libevm)
link_directories(../libevmjit)
file(GLOB HEADERS "*.h")
add_executable(testeth ${SRC_LIST} ${HEADERS})
@ -14,6 +16,8 @@ target_link_libraries(testeth ethcore)
target_link_libraries(testeth secp256k1)
target_link_libraries(testeth gmp)
target_link_libraries(testeth ${CRYPTOPP_LS})
target_link_libraries(testeth evm)
target_link_libraries(testeth evmjit)
if ("${TARGET_PLATFORM}" STREQUAL "w64")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++")

Loading…
Cancel
Save