2023-02-08 11:04:11 +00:00
|
|
|
file (GLOB SRCS src/*.cpp)
|
|
|
|
|
|
|
|
add_library (_poco_data ${SRCS})
|
|
|
|
add_library (Poco::Data ALIAS _poco_data)
|
|
|
|
|
2023-02-07 17:43:29 +00:00
|
|
|
# TODO: remove these warning exclusions
|
|
|
|
target_compile_options (_poco_data
|
|
|
|
PRIVATE
|
|
|
|
-Wno-comma
|
|
|
|
-Wno-covered-switch-default
|
|
|
|
-Wno-deprecated-dynamic-exception-spec
|
|
|
|
-Wno-extra-semi-stmt
|
|
|
|
-Wno-old-style-cast
|
|
|
|
-Wno-shorten-64-to-32
|
|
|
|
-Wno-sign-compare
|
|
|
|
-Wno-unused-parameter
|
|
|
|
-Wno-zero-as-null-pointer-constant
|
|
|
|
)
|
2023-02-08 11:04:11 +00:00
|
|
|
target_include_directories (_poco_data SYSTEM PUBLIC "include")
|
|
|
|
target_link_libraries (_poco_data PUBLIC Poco::Foundation)
|