Unverified Commit 799950fd authored by Graham, Aaron's avatar Graham, Aaron Committed by GitHub
Browse files

Adds Futility configuration messages for memprof and dbc (#329)

parent 23a1105a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ IF("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
ENDIF()

IF(${PROJECT_NAME}_ENABLE_DBC)
    MESSAGE(STATUS "Enabling Futility DBC")
    SET(${PACKAGE_NAME}_DEFINES ${${PACKAGE_NAME}_DEFINES} FUTILITY_DBC)
ENDIF()

@@ -100,6 +101,7 @@ ENDIF()

# Preprocessor symbol for using memory profile
IF(${PROJECT_NAME}_ENABLE_MEMPROF)
    MESSAGE(STATUS "Enabling Futility memory profiling")
    SET(${PACKAGE_NAME}_DEFINES ${${PACKAGE_NAME}_DEFINES} FUTILITY_MEMPROF)
ENDIF()