-#if ( BUILD_LIB_IBPP )
-# add_library ( ibpp STATIC ibpp/all_in_one.cpp )
-# target_include_directories ( ibpp PUBLIC ibpp/include )
-# target_compile_options ( ibpp PRIVATE -Wno-old-style-cast $<$<CXX_COMPILER_ID:GNU>:-Wno-useless-cast> )
-#endif ( BUILD_LIB_IBPP )
+if ( BUILD_LIB_IBPP )
+ add_library ( ibpp STATIC ibpp/all_in_one.cpp )
+ target_include_directories ( ibpp PUBLIC ibpp/include )
+ target_compile_options ( ibpp PRIVATE -Wno-old-style-cast $<$<CXX_COMPILER_ID:GNU>:-Wno-useless-cast> )
+
+ if ( CLANG_TIDY_EXE )
+ set_target_properties ( ibpp PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )
+ endif ()
+ if ( INCLUDE_WHAT_YOU_USE_EXE )
+ set_target_properties ( ibpp PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" )
+ endif ()
+endif ( BUILD_LIB_IBPP )