+ find_package ( EXPAT REQUIRED )
+ file ( GLOB PARSERS srvconf/parsers/*.cpp )
+ add_library ( srvconf STATIC srvconf/servconf.cpp srvconf/netunit.cpp ${PARSERS} )
+ target_include_directories ( srvconf PUBLIC srvconf/include )
+ target_link_libraries ( srvconf crypto common EXPAT::EXPAT )
+
+ if ( CLANG_TIDY_EXE )
+ set_target_properties ( srvconf PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )
+ endif ()
+ if ( INCLUDE_WHAT_YOU_USE_EXE )
+ set_target_properties ( srvconf PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" )
+ endif ()