@ -703,7 +703,12 @@ if (MSVC)
target_link_libraries ( storm "Dbghelp.lib" )
target_link_libraries ( storm "Dbghelp.lib" )
endif ( MSVC )
endif ( MSVC )
# P r i n t C o t i r e U s a g e S t a t u s
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# # C o t i r e
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
message ( STATUS "StoRM - Using Cotire: ${STORM_USE_COTIRE}" )
message ( STATUS "StoRM - Using Cotire: ${STORM_USE_COTIRE}" )
if ( STORM_USE_COTIRE )
if ( STORM_USE_COTIRE )
@ -717,12 +722,23 @@ if (STORM_USE_COTIRE)
# cotire ( storm-performance-tests )
# cotire ( storm-performance-tests )
endif ( )
endif ( )
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# # l i b c + + a b i
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# L i n k a g a i n s t l i b c + + a b i i f r e q u e s t e d . M a y b e n e e d e d t o b u i l d o n L i n u x s y s t e m s u s i n g c l a n g .
# L i n k a g a i n s t l i b c + + a b i i f r e q u e s t e d . M a y b e n e e d e d t o b u i l d o n L i n u x s y s t e m s u s i n g c l a n g .
if ( LINK_LIBCXXABI )
if ( LINK_LIBCXXABI )
message ( STATUS "StoRM - Linking against libc++abi." )
message ( STATUS "StoRM - Linking against libc++abi." )
target_link_libraries ( storm "c++abi" )
target_link_libraries ( storm "c++abi" )
endif ( LINK_LIBCXXABI )
endif ( LINK_LIBCXXABI )
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# # D o x y g e n
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# A d d a t a r g e t t o g e n e r a t e A P I d o c u m e n t a t i o n w i t h D o x y g e n
# A d d a t a r g e t t o g e n e r a t e A P I d o c u m e n t a t i o n w i t h D o x y g e n
if ( DOXYGEN_FOUND )
if ( DOXYGEN_FOUND )
set ( CMAKE_DOXYGEN_OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}/doc" )
set ( CMAKE_DOXYGEN_OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}/doc" )
@ -733,6 +749,11 @@ if(DOXYGEN_FOUND)
add_custom_target ( doc ${ DOXYGEN_EXECUTABLE } "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" COMMENT "Generating API documentation with Doxygen" VERBATIM )
add_custom_target ( doc ${ DOXYGEN_EXECUTABLE } "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" COMMENT "Generating API documentation with Doxygen" VERBATIM )
endif ( DOXYGEN_FOUND )
endif ( DOXYGEN_FOUND )
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# # m e m c h e c k t a r g e t s
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
add_custom_target ( memcheck valgrind --leak-check=full --show-reachable=yes ${ PROJECT_BINARY_DIR } /storm -v --fix-deadlocks ${ PROJECT_SOURCE_DIR } /examples/dtmc/crowds/crowds5_5.tra examples/dtmc/crowds/crowds5_5.lab DEPENDS storm )
add_custom_target ( memcheck valgrind --leak-check=full --show-reachable=yes ${ PROJECT_BINARY_DIR } /storm -v --fix-deadlocks ${ PROJECT_SOURCE_DIR } /examples/dtmc/crowds/crowds5_5.tra examples/dtmc/crowds/crowds5_5.lab DEPENDS storm )
add_custom_target ( memcheck-functional-tests valgrind --leak-check=full --show-reachable=yes ${ PROJECT_BINARY_DIR } /storm-functional-tests -v --fix-deadlocks DEPENDS storm-functional-tests )
add_custom_target ( memcheck-functional-tests valgrind --leak-check=full --show-reachable=yes ${ PROJECT_BINARY_DIR } /storm-functional-tests -v --fix-deadlocks DEPENDS storm-functional-tests )
add_custom_target ( memcheck-performance-tests valgrind --leak-check=full --show-reachable=yes ${ PROJECT_BINARY_DIR } /storm-performance-tests -v --fix-deadlocks DEPENDS storm-performance-tests )
add_custom_target ( memcheck-performance-tests valgrind --leak-check=full --show-reachable=yes ${ PROJECT_BINARY_DIR } /storm-performance-tests -v --fix-deadlocks DEPENDS storm-performance-tests )