blob: eb51a0826b30dee9433e1ae5d96e2b509c9dd533 (
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
|
# This file was gererated 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(src-Modules-_sqlite)
target_compile_options(src-Modules-_sqlite PRIVATE
-DMODULE_NAME="sqlite3"
)
target_include_directories(src-Modules-_sqlite PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/python/Include
)
target_include_directories(src-Modules-_sqlite PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/sqlite3
${CMAKE_SOURCE_DIR}/contrib/libs/python/Include
)
target_link_libraries(src-Modules-_sqlite PUBLIC
contrib-libs-sqlite3
)
target_sources(src-Modules-_sqlite PRIVATE
${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/cache.c
${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/connection.c
${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/cursor.c
${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/microprotocols.c
${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/module.c
${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/prepare_protocol.c
${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/row.c
${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/statement.c
${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/util.c
)
|