blob: 10e3b90ccb97ba26424d4e8f1588f04a66df01b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.
add_library(libs-poco-Util)
target_compile_options(libs-poco-Util PRIVATE
-DPOCO_ENABLE_CPP11
-DPOCO_ENABLE_CPP14
-DPOCO_NO_AUTOMATIC_LIBS
-DPOCO_UNBUNDLED
-DPOCO_OS_FAMILY_WINDOWS
$<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(libs-poco-Util PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include
)
target_include_directories(libs-poco-Util PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/expat
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src
${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/include
)
target_link_libraries(libs-poco-Util PUBLIC
contrib-libs-cxxsupp
contrib-libs-expat
libs-poco-Foundation
libs-poco-JSON
libs-poco-XML
)
target_sources(libs-poco-Util PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/AbstractConfiguration.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Application.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ConfigurationMapper.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ConfigurationView.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/FilesystemConfiguration.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/HelpFormatter.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/IniFileConfiguration.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/IntValidator.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/JSONConfiguration.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LayeredConfiguration.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LoggingConfigurator.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LoggingSubsystem.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/MapConfiguration.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Option.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionCallback.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionException.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionProcessor.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionSet.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/PropertyFileConfiguration.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/RegExpValidator.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ServerApplication.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Subsystem.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/SystemConfiguration.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Timer.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/TimerTask.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Validator.cpp
${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/XMLConfiguration.cpp
)
|