2023-02-08 11:04:11 +00:00
|
|
|
file (GLOB SRCS src/*.cpp)
|
|
|
|
|
|
|
|
add_library (_poco_util ${SRCS})
|
|
|
|
add_library (Poco::Util ALIAS _poco_util)
|
|
|
|
|
2023-02-07 17:45:48 +00:00
|
|
|
# TODO: remove these warning exclusions
|
|
|
|
target_compile_options (_poco_util
|
|
|
|
PRIVATE
|
|
|
|
-Wno-deprecated-dynamic-exception-spec
|
2023-02-07 17:48:11 +00:00
|
|
|
-Wno-extra-semi-stmt
|
2023-02-07 17:45:48 +00:00
|
|
|
-Wno-newline-eof
|
|
|
|
-Wno-old-style-cast
|
|
|
|
-Wno-shadow
|
|
|
|
-Wno-sign-compare
|
|
|
|
-Wno-suggest-destructor-override
|
|
|
|
-Wno-suggest-override
|
|
|
|
-Wno-unused-parameter
|
|
|
|
-Wno-zero-as-null-pointer-constant
|
|
|
|
)
|
2023-02-08 11:04:11 +00:00
|
|
|
target_include_directories (_poco_util SYSTEM PUBLIC "include")
|
|
|
|
target_link_libraries (_poco_util PUBLIC Poco::JSON Poco::XML)
|