mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
add headers to solidity's add_library
This commit is contained in:
parent
dded93e31d
commit
d6e7b82d3c
@ -6,13 +6,12 @@ aux_source_directory(. SRC_LIST)
|
|||||||
|
|
||||||
set(EXECUTABLE solidity)
|
set(EXECUTABLE solidity)
|
||||||
|
|
||||||
if(ETH_STATIC)
|
|
||||||
add_library(${EXECUTABLE} STATIC ${SRC_LIST})
|
|
||||||
else()
|
|
||||||
add_library(${EXECUTABLE} SHARED ${SRC_LIST})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
file(GLOB HEADERS "*.h")
|
file(GLOB HEADERS "*.h")
|
||||||
|
if(ETH_STATIC)
|
||||||
|
add_library(${EXECUTABLE} STATIC ${SRC_LIST} ${HEADERS})
|
||||||
|
else()
|
||||||
|
add_library(${EXECUTABLE} SHARED ${SRC_LIST} ${HEADERS})
|
||||||
|
endif()
|
||||||
|
|
||||||
include_directories(..)
|
include_directories(..)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user