X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/90b793eb07dc190eeb1144a1da079de760d17c36..1cb912e4f90473f78d2f0f10ab5c9b2c5bd36440:/libs/CMakeLists.txt?ds=inline diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt index 41dc9785..b2b8ee0f 100644 --- a/libs/CMakeLists.txt +++ b/libs/CMakeLists.txt @@ -63,18 +63,18 @@ if ( BUILD_LIB_IA ) endif () endif ( BUILD_LIB_IA ) -#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 $<$:-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 ) +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 $<$:-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 ) if ( BUILD_LIB_LOGGER ) add_library ( logger STATIC logger/logger.cpp )