mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
solidity compiling under msvc && boosts cmake file fixed
This commit is contained in:
parent
6d0ed4c891
commit
49aa83403f
@ -3,16 +3,12 @@ set(CMAKE_AUTOMOC OFF)
|
|||||||
|
|
||||||
aux_source_directory(. SRC_LIST)
|
aux_source_directory(. SRC_LIST)
|
||||||
|
|
||||||
include_directories(${Boost_INCLUDE_DIRS})
|
|
||||||
include_directories(..)
|
include_directories(..)
|
||||||
|
|
||||||
set(EXECUTABLE lllc)
|
set(EXECUTABLE lllc)
|
||||||
|
|
||||||
if(ETH_STATIC)
|
file(GLOB HEADERS "*.h")
|
||||||
add_library(${EXECUTABLE} STATIC ${SRC_LIST} ${HEADERS})
|
add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
|
||||||
else()
|
|
||||||
add_library(${EXECUTABLE} SHARED ${SRC_LIST} ${HEADERS})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_dependencies(${EXECUTABLE} BuildInfo.h)
|
add_dependencies(${EXECUTABLE} BuildInfo.h)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user