|
|
@ -4,26 +4,19 @@ |
|
|
|
## |
|
|
|
############################################################# |
|
|
|
file(GLOB_RECURSE STORM_HEADERS ${PROJECT_SOURCE_DIR}/src/storm/*.h) |
|
|
|
file(GLOB_RECURSE STORM_HEADERS_CLI ${PROJECT_SOURCE_DIR}/src/storm/cli/*.h) |
|
|
|
file(GLOB_RECURSE STORM_SOURCES_WITHOUT_MAIN ${PROJECT_SOURCE_DIR}/src/storm/*/*.cpp) |
|
|
|
file(GLOB_RECURSE STORM_SOURCES_CLI ${PROJECT_SOURCE_DIR}/src/storm/cli/*.cpp) |
|
|
|
file(GLOB_RECURSE STORM_MAIN_FILE ${PROJECT_SOURCE_DIR}/src/storm/storm.cpp) |
|
|
|
file(GLOB_RECURSE STORM_DFT_MAIN_FILE ${PROJECT_SOURCE_DIR}/src/storm/storm-dyftee.cpp) |
|
|
|
file(GLOB_RECURSE STORM_PGCL_MAIN_FILE ${PROJECT_SOURCE_DIR}/src/storm/storm-pgcl.cpp) |
|
|
|
file(GLOB_RECURSE STORM_GSPN_MAIN_FILE ${PROJECT_SOURCE_DIR}/src/storm/storm-gspn.cpp) |
|
|
|
|
|
|
|
# Additional include files like the storm-config.h |
|
|
|
file(GLOB_RECURSE STORM_BUILD_HEADERS ${PROJECT_BINARY_DIR}/include/*.h) |
|
|
|
|
|
|
|
set(STORM_LIB_SOURCES ${STORM_SOURCES_WITHOUT_MAIN}) |
|
|
|
list(REMOVE_ITEM STORM_LIB_SOURCES ${STORM_SOURCES_CLI}) |
|
|
|
set(STORM_LIB_HEADERS ${STORM_HEADERS}) |
|
|
|
list(REMOVE_ITEM STORM_LIB_HEADERS ${STORM_HEADERS_CLI}) |
|
|
|
set(STORM_MAIN_SOURCES ${STORM_SOURCES_CLI} ${STORM_MAIN_FILE}) |
|
|
|
set(STORM_DFT_MAIN_SOURCES ${STORM_SOURCES_CLI} ${STORM_DFT_MAIN_FILE}) |
|
|
|
set(STORM_PGCL_MAIN_SOURCES ${STORM_SOURCES_CLI} ${STORM_PGCL_MAIN_FILE}) |
|
|
|
set(STORM_GSPN_MAIN_SOURCES ${STORM_SOURCES_CLI} ${STORM_GSPN_MAIN_FILE}) |
|
|
|
set(STORM_MAIN_HEADERS ${STORM_HEADERS_CLI}) |
|
|
|
set(STORM_MAIN_SOURCES ${STORM_MAIN_FILE}) |
|
|
|
set(STORM_DFT_MAIN_SOURCES ${STORM_DFT_MAIN_FILE}) |
|
|
|
set(STORM_GSPN_MAIN_SOURCES ${STORM_GSPN_MAIN_FILE}) |
|
|
|
|
|
|
|
file(GLOB_RECURSE ALL_FILES ${PROJECT_SOURCE_DIR}/src/storm/*.h ${PROJECT_SOURCE_DIR}/src/storm/*.cpp) |
|
|
|
|
|
|
@ -62,11 +55,6 @@ add_executable(storm-dft-main ${STORM_DFT_MAIN_SOURCES} ${STORM_MAIN_HEADERS}) |
|
|
|
target_link_libraries(storm-dft-main storm) # Adding headers for xcode |
|
|
|
set_target_properties(storm-dft-main PROPERTIES OUTPUT_NAME "storm-dft") |
|
|
|
|
|
|
|
# Create storm-pgcl. |
|
|
|
add_executable(storm-pgcl-main ${STORM_PGCL_MAIN_SOURCES} ${STORM_MAIN_HEADERS}) |
|
|
|
target_link_libraries(storm-pgcl-main storm) |
|
|
|
set_target_properties(storm-pgcl-main PROPERTIES OUTPUT_NAME "storm-pgcl") |
|
|
|
|
|
|
|
add_executable(storm-gspn-main ${STORM_GSPN_MAIN_SOURCES} ${STORM_MAIN_HEADERS}) |
|
|
|
target_link_libraries(storm-gspn-main storm) # Adding headers for xcode |
|
|
|
set_target_properties(storm-gspn-main PROPERTIES OUTPUT_NAME "storm-gspn") |
|
|
|