Browse Source

Merge branch 'future' into cudd3

Former-commit-id: 39af635597
main
sjunges 9 years ago
parent
commit
0cab5661e5
  1. 14
      CMakeLists.txt
  2. 2
      resources/3rdparty/CMakeLists.txt
  3. 2
      resources/3rdparty/cudd-2.5.0/CMakeLists.txt

14
CMakeLists.txt

@ -514,19 +514,21 @@ endif(ENABLE_MSAT)
## ##
############################################################# #############################################################
find_package(Xerces)
if(NOT XERCES_FOUND)
if(STORM_SUPPORT_XML_INPUT_FORMATS)
find_package(Xerces)
if(NOT XERCES_FOUND)
message(STATUS "Use shipped version of xerces") message(STATUS "Use shipped version of xerces")
set(XERCES_ROOT ${CMAKE_BINARY_DIR}/resources/3rdparty/xercesc-3.1.2) set(XERCES_ROOT ${CMAKE_BINARY_DIR}/resources/3rdparty/xercesc-3.1.2)
set(XERCESC_INCLUDE ${XERCES_ROOT}/include) set(XERCESC_INCLUDE ${XERCES_ROOT}/include)
set(XERCES_LIBRARY_PATH ${XERCES_ROOT}/lib) set(XERCES_LIBRARY_PATH ${XERCES_ROOT}/lib)
set(XERCESC_LIBRARIES ${XERCES_LIBRARY_PATH}/libxerces-c.a) set(XERCESC_LIBRARIES ${XERCES_LIBRARY_PATH}/libxerces-c.a)
endif()
endif()
set(STORM_HAVE_XERCES TRUE)
if(STORM_HAVE_XERCES)
set(STORM_HAVE_XERCES TRUE)
if(STORM_HAVE_XERCES)
include_directories(${XERCESC_INCLUDE}) include_directories(${XERCESC_INCLUDE})
list(APPEND STORM_LINK_LIBRARIES ${XERCESC_LIBRARIES}) list(APPEND STORM_LINK_LIBRARIES ${XERCESC_LIBRARIES})
endif()
endif() endif()
############################################################# #############################################################
@ -580,7 +582,7 @@ add_subdirectory("${PROJECT_SOURCE_DIR}/resources/3rdparty/log4cplus-1.1.3-rc1")
include_directories("${PROJECT_SOURCE_DIR}/resources/3rdparty/log4cplus-1.1.3-rc1/include") include_directories("${PROJECT_SOURCE_DIR}/resources/3rdparty/log4cplus-1.1.3-rc1/include")
include_directories("${PROJECT_BINARY_DIR}/resources/3rdparty/log4cplus-1.1.3-rc1/include") # This adds the defines.hxx file include_directories("${PROJECT_BINARY_DIR}/resources/3rdparty/log4cplus-1.1.3-rc1/include") # This adds the defines.hxx file
list(APPEND STORM_LINK_LIBRARIES log4cplusS)
list(APPEND STORM_LINK_LIBRARIES log4cplus)
if (UNIX AND NOT APPLE) if (UNIX AND NOT APPLE)
list(APPEND STORM_LINK_LIBRARIES rt) list(APPEND STORM_LINK_LIBRARIES rt)
endif(UNIX AND NOT APPLE) endif(UNIX AND NOT APPLE)

2
resources/3rdparty/CMakeLists.txt

@ -2,7 +2,7 @@ add_custom_target(resources)
add_custom_target(test-resources) add_custom_target(test-resources)
if(STORM_SUPPORT_XML_FORMATS)
if(STORM_SUPPORT_XML_INPUT_FORMATS)
ExternalProject_Add( ExternalProject_Add(
xercesc xercesc
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/xercesc-3.1.2 SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/xercesc-3.1.2

2
resources/3rdparty/cudd-2.5.0/CMakeLists.txt

@ -39,4 +39,4 @@ if(CMAKE_SIZEOF_VOID_P EQUAL 8)
endif() endif()
# Add the library # Add the library
add_library(cudd ${CUDD_SOURCES} ${CUDD_HEADERS} ${CUDD_HEADERS_CXX} ${CUDD_SOURCES_CXX})
add_library(cudd STATIC ${CUDD_SOURCES} ${CUDD_HEADERS} ${CUDD_HEADERS_CXX} ${CUDD_SOURCES_CXX})
Loading…
Cancel
Save