The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
cmake_minimum_required(VERSION 3.0.0)
project(storm-version)
find_package(storm REQUIRED)
# Set configuration
set(STORM_DIR ${storm_DIR})
set(STORM_VERSION ${storm_VERSION})
set(STORM_LIBS ${storm_LIBRARIES})
# Check for storm-dft
find_library(STORM_DFT NAMES storm-dft HINTS "${storm_DIR}/lib/")
if(STORM_DFT)
set(HAVE_STORM_DFT TRUE)
else()
set(HAVE_STORM_DFT FALSE)
endif()
# Check for storm-gspn
find_library(STORM_GSPN NAMES storm-gspn HINTS "${storm_DIR}/lib/")
if(STORM_GSPN)
set(HAVE_STORM_GSPN TRUE)
else()
set(HAVE_STORM_GSPN FALSE)
endif()
# Check for storm-pars
find_library(STORM_PARS NAMES storm-pars HINTS "${storm_DIR}/lib/")
if(STORM_PARS)
set(HAVE_STORM_PARS TRUE)
else()
set(HAVE_STORM_PARS FALSE)
endif()
# Check for storm-pompd
find_library(STORM_POMDP NAMES storm-pomdp HINTS "${storm_DIR}/lib/")
if(STORM_POMDP)
set(HAVE_STORM_POMDP TRUE)
else()
set(HAVE_STORM_POMDP FALSE)
endif()
# Set variables
if(STORM_USE_CLN_EA)
set(STORM_CLN_EA_BOOL "True")
else()
set(STORM_CLN_EA_BOOL "False")
endif()
if(STORM_USE_CLN_RF)
set(STORM_CLN_RF_BOOL "True")
else()
set(STORM_CLN_RF_BOOL "False")
endif()
if(STORM_HAVE_XERCES)
set(STORM_XERCES_BOOL "True")
else()
set(STORM_XERCES_BOOL "False")
endif()
if(HAVE_STORM_DFT)
set(HAVE_STORM_DFT_BOOL "True")
else()
set(HAVE_STORM_DFT_BOOL "False")
endif()
if(HAVE_STORM_GSPN)
set(HAVE_STORM_GSPN_BOOL "True")
else()
set(HAVE_STORM_GSPN_BOOL "False")
endif()
if(HAVE_STORM_PARS)
set(HAVE_STORM_PARS_BOOL "True")
else()
set(HAVE_STORM_PARS_BOOL "False")
endif()
if(HAVE_STORM_POMDP)
set(HAVE_STORM_POMDP_BOOL "True")
else()
set(HAVE_STORM_POMDP_BOOL "False")
endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.py.in ${CMAKE_CURRENT_BINARY_DIR}/generated/config.py @ONLY)
|