File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
5353endif ()
5454
5555# cliprof Executable (optional)
56- set ( BUILD_CLIPROF CACHE BOOL "Build cliprof Executable" )
57- if ( BUILD_CLIPROF )
56+ set ( ENABLE_CLIPROF CACHE BOOL "Enable cliprof Support and Build the Executable" )
57+ if ( ENABLE_CLIPROF )
5858 add_definitions ("-DCLINTERCEPT_CLIPROF" )
5959 add_subdirectory (cliprof)
6060endif ()
Original file line number Diff line number Diff line change @@ -452,6 +452,23 @@ bool CLIntercept::init()
452452 log ( " CLIntercept git refspec: " + std::string (sc_GitRefSpec) + " \n " );
453453 log ( " CLInterecpt git hash: " + std::string (sc_GitHash) + " \n " );
454454#endif
455+ log ( " CLIntercept optional features: "
456+ #if defined(CLINTERCEPT_CLIPROF) || !defined(_WIN32) // extra code only needed for Windows
457+ " cliprof(supported) "
458+ #else
459+ " cliprof(NOT supported) "
460+ #endif
461+ #if defined(USE_ITT)
462+ " ITT tracing(supported) "
463+ #else
464+ " ITT tracing(NOT supported) "
465+ #endif
466+ #if defined(USE_MDAPI)
467+ " MDAPI(supported) "
468+ #else
469+ " MDAPI(NOT supported) "
470+ #endif
471+ " \n " );
455472#if defined(_WIN32)
456473 log ( " CLIntercept environment variable prefix: " + std::string ( OS::Services_Common::ENV_PREFIX ) + " \n " );
457474 log ( " CLIntercept registry key: " + std::string ( OS::Services_Common::REGISTRY_KEY ) + " \n " );
You can’t perform that action at this time.
0 commit comments