|
|
@ -364,13 +364,12 @@ include(${STORM_3RDPARTY_SOURCE_DIR}/include_xerces.cmake) |
|
|
|
## |
|
|
|
############################################################# |
|
|
|
|
|
|
|
if(STORM_USE_LTO) |
|
|
|
ExternalProject_Add( |
|
|
|
sylvan |
|
|
|
DOWNLOAD_COMMAND "" |
|
|
|
PREFIX "sylvan" |
|
|
|
SOURCE_DIR ${STORM_3RDPARTY_SOURCE_DIR}/sylvan |
|
|
|
CMAKE_ARGS -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DSYLVAN_BUILD_DOCS=OFF -DSYLVAN_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DUSE_CARL=ON -Dcarl_INCLUDE_DIR=${carl_INCLUDE_DIR} -DSYLVAN_PORTABLE=${STORM_PORTABLE} -Dcarl_LIBRARIES=${carl_LIBRARIES} -DBUILD_SHARED_LIBS=OFF -DSYLVAN_BUILD_TESTS=OFF -DSYLVAN_USE_LTO=ON |
|
|
|
CMAKE_ARGS -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DSYLVAN_BUILD_DOCS=OFF -DSYLVAN_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DUSE_CARL=ON -Dcarl_INCLUDE_DIR=${carl_INCLUDE_DIR} -DSYLVAN_PORTABLE=${STORM_PORTABLE} -Dcarl_LIBRARIES=${carl_LIBRARIES} -DBUILD_SHARED_LIBS=OFF -DSYLVAN_BUILD_TESTS=OFF |
|
|
|
BINARY_DIR ${STORM_3RDPARTY_BINARY_DIR}/sylvan |
|
|
|
BUILD_IN_SOURCE 0 |
|
|
|
INSTALL_COMMAND "" |
|
|
@ -380,23 +379,6 @@ ExternalProject_Add( |
|
|
|
BUILD_BYPRODUCTS ${STORM_3RDPARTY_BINARY_DIR}/sylvan/src/libsylvan${STATIC_EXT} |
|
|
|
BUILD_ALWAYS 1 |
|
|
|
) |
|
|
|
else() |
|
|
|
ExternalProject_Add( |
|
|
|
sylvan |
|
|
|
DOWNLOAD_COMMAND "" |
|
|
|
PREFIX "sylvan" |
|
|
|
SOURCE_DIR ${STORM_3RDPARTY_SOURCE_DIR}/sylvan |
|
|
|
CMAKE_ARGS -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DSYLVAN_BUILD_DOCS=OFF -DSYLVAN_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DUSE_CARL=ON -Dcarl_INCLUDE_DIR=${carl_INCLUDE_DIR} -DSYLVAN_PORTABLE=${STORM_PORTABLE} -Dcarl_LIBRARIES=${carl_LIBRARIES} -DBUILD_SHARED_LIBS=OFF -DSYLVAN_BUILD_TESTS=OFF -DSYLVAN_USE_LTO=OFF |
|
|
|
BINARY_DIR ${STORM_3RDPARTY_BINARY_DIR}/sylvan |
|
|
|
BUILD_IN_SOURCE 0 |
|
|
|
INSTALL_COMMAND "" |
|
|
|
INSTALL_DIR ${STORM_3RDPARTY_BINARY_DIR}/sylvan |
|
|
|
LOG_CONFIGURE ON |
|
|
|
LOG_BUILD ON |
|
|
|
BUILD_BYPRODUCTS ${STORM_3RDPARTY_BINARY_DIR}/sylvan/src/libsylvan${STATIC_EXT} |
|
|
|
BUILD_ALWAYS 1 |
|
|
|
) |
|
|
|
endif() |
|
|
|
|
|
|
|
ExternalProject_Get_Property(sylvan source_dir) |
|
|
|
ExternalProject_Get_Property(sylvan binary_dir) |
|
|
|