|
@ -59,7 +59,7 @@ add_executable(storm-gspn-main ${STORM_GSPN_MAIN_SOURCES} ${STORM_MAIN_HEADERS}) |
|
|
target_link_libraries(storm-gspn-main storm) # Adding headers for xcode |
|
|
target_link_libraries(storm-gspn-main storm) # Adding headers for xcode |
|
|
set_target_properties(storm-gspn-main PROPERTIES OUTPUT_NAME "storm-gspn") |
|
|
set_target_properties(storm-gspn-main PROPERTIES OUTPUT_NAME "storm-gspn") |
|
|
|
|
|
|
|
|
# Install headers to include directory. |
|
|
|
|
|
|
|
|
# Install storm headers to include directory. |
|
|
foreach(HEADER ${STORM_LIB_HEADERS}) |
|
|
foreach(HEADER ${STORM_LIB_HEADERS}) |
|
|
string(REGEX REPLACE "${PROJECT_SOURCE_DIR}/src/?" "" RELATIVE_HEADER_PATH ${HEADER}) |
|
|
string(REGEX REPLACE "${PROJECT_SOURCE_DIR}/src/?" "" RELATIVE_HEADER_PATH ${HEADER}) |
|
|
string(REGEX MATCH "(.*)[/\\]" RELATIVE_DIRECTORY ${RELATIVE_HEADER_PATH}) |
|
|
string(REGEX MATCH "(.*)[/\\]" RELATIVE_DIRECTORY ${RELATIVE_HEADER_PATH}) |
|
@ -72,6 +72,7 @@ foreach(HEADER ${STORM_LIB_HEADERS}) |
|
|
) |
|
|
) |
|
|
list(APPEND STORM_OUTPUT_HEADERS "${CMAKE_BINARY_DIR}/include/${RELATIVE_DIRECTORY}${HEADER_FILENAME}") |
|
|
list(APPEND STORM_OUTPUT_HEADERS "${CMAKE_BINARY_DIR}/include/${RELATIVE_DIRECTORY}${HEADER_FILENAME}") |
|
|
endforeach() |
|
|
endforeach() |
|
|
add_custom_target(copy_headers DEPENDS ${STORM_OUTPUT_HEADERS} ${STORM_LIB_HEADERS}) |
|
|
|
|
|
add_dependencies(storm copy_headers) |
|
|
|
|
|
|
|
|
add_custom_target(copy_storm_headers DEPENDS ${STORM_OUTPUT_HEADERS} ${STORM_LIB_HEADERS}) |
|
|
|
|
|
add_dependencies(storm copy_storm_headers) |
|
|
|
|
|
add_dependencies(storm copy_resources_headers) |
|
|
|
|
|
|