Browse Source
Merge branch 'master' of https://srv-i2.informatik.rwth-aachen.de/scm/git/storm
tempestpy_adaptions
Merge branch 'master' of https://srv-i2.informatik.rwth-aachen.de/scm/git/storm
tempestpy_adaptions
Sebastian Junges
7 years ago
21 changed files with 198 additions and 220 deletions
-
135.travis.yml
-
5README.md
-
1src/CMakeLists.txt
-
40src/storm-cli-utilities/CMakeLists.txt
-
36src/storm-cli-utilities/cli.cpp
-
0src/storm-cli-utilities/cli.h
-
2src/storm-dft-cli/CMakeLists.txt
-
4src/storm-dft-cli/storm-dyftee.cpp
-
2src/storm-dft/modelchecker/dft/DFTModelChecker.cpp
-
2src/storm-gspn-cli/CMakeLists.txt
-
4src/storm-gspn-cli/storm-gspn.cpp
-
49src/storm-pars-cli/storm-pars.cpp
-
13src/storm-pars/transformer/SparseParametricModelSimplifier.cpp
-
2src/storm-pgcl-cli/CMakeLists.txt
-
2src/storm-pgcl-cli/storm-pgcl.cpp
-
2src/storm/CMakeLists.txt
-
35src/storm/api/builder.h
-
8src/storm/builder/BuilderOptions.cpp
-
63src/storm/builder/BuilderOptions.h
-
2src/storm/storm.cpp
-
11travis/generate_travis.py
@ -0,0 +1,40 @@ |
|||
file(GLOB_RECURSE ALL_FILES ${PROJECT_SOURCE_DIR}/src/storm-cli-utilities/*.h ${PROJECT_SOURCE_DIR}/src/storm-cli-utilities/*.cpp) |
|||
|
|||
register_source_groups_from_filestructure("${ALL_FILES}" storm-cli-utilities) |
|||
|
|||
|
|||
|
|||
file(GLOB_RECURSE STORM_CLI_UTIL_SOURCES ${PROJECT_SOURCE_DIR}/src/storm-cli-utilities/*.cpp) |
|||
file(GLOB_RECURSE STORM_CLI_UTIL_HEADERS ${PROJECT_SOURCE_DIR}/src/storm-cli-utilities/*.h) |
|||
|
|||
|
|||
# Create storm-pars. |
|||
add_library(storm-cli-utilities SHARED ${STORM_CLI_UTIL_SOURCES} ${STORM_CLI_UTIL_HEADERS}) |
|||
|
|||
# Remove define symbol for shared libstorm. |
|||
set_target_properties(storm-cli-utilities PROPERTIES DEFINE_SYMBOL "") |
|||
#add_dependencies(storm resources) |
|||
list(APPEND STORM_TARGETS storm-cli-utilities) |
|||
set(STORM_TARGETS ${STORM_TARGETS} PARENT_SCOPE) |
|||
|
|||
target_link_libraries(storm-cli-utilities PUBLIC storm) |
|||
|
|||
# Install storm headers to include directory. |
|||
foreach(HEADER ${STORM_CLI_UTIL_HEADERS}) |
|||
string(REGEX REPLACE "${PROJECT_SOURCE_DIR}/src/?" "" RELATIVE_HEADER_PATH ${HEADER}) |
|||
string(REGEX MATCH "(.*)[/\\]" RELATIVE_DIRECTORY ${RELATIVE_HEADER_PATH}) |
|||
string(REGEX REPLACE "${RELATIVE_DIRECTORY}/?" "" HEADER_FILENAME ${RELATIVE_HEADER_PATH}) |
|||
add_custom_command( |
|||
OUTPUT ${CMAKE_BINARY_DIR}/include/${RELATIVE_DIRECTORY}${HEADER_FILENAME} |
|||
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_BINARY_DIR}/include/${RELATIVE_DIRECTORY} |
|||
COMMAND ${CMAKE_COMMAND} -E copy ${HEADER} ${CMAKE_BINARY_DIR}/include/${RELATIVE_DIRECTORY}${HEADER_FILENAME} |
|||
DEPENDS ${HEADER} |
|||
) |
|||
list(APPEND STORM_CLI_UTIL_OUTPUT_HEADERS "${CMAKE_BINARY_DIR}/include/${RELATIVE_DIRECTORY}${HEADER_FILENAME}") |
|||
endforeach() |
|||
add_custom_target(copy_storm_cli_util_headers DEPENDS ${STORM_CLI_UTIL_OUTPUT_HEADERS} ${STORM_CLI_UTIL_HEADERS}) |
|||
add_dependencies(storm-cli-utilities copy_storm_pars_headers) |
|||
|
|||
# installation |
|||
install(TARGETS storm-cli-utilities RUNTIME DESTINATION bin LIBRARY DESTINATION lib OPTIONAL) |
|||
|
@ -1,5 +1,5 @@ |
|||
add_executable(storm-pgcl-cli ${PROJECT_SOURCE_DIR}/src/storm-pgcl-cli/storm-pgcl.cpp) |
|||
target_link_libraries(storm-pgcl-cli storm-pgcl) |
|||
target_link_libraries(storm-pgcl-cli storm-pgcl storm-cli-utilities) |
|||
set_target_properties(storm-pgcl-cli PROPERTIES OUTPUT_NAME "storm-pgcl") |
|||
|
|||
# installation |
Write
Preview
Loading…
Cancel
Save
Reference in new issue