aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/symbols/libc/CMakeLists.txt
blob: 26abcaed3ac50f2f3148130ae5ce0637f9655f1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
add_library(python-symbols-libc INTERFACE)
target_link_libraries(python-symbols-libc INTERFACE
  contrib-libs-cxxsupp
  yutil
  python-symbols-registry
)

add_global_library_for(python-symbols-libc.global python-symbols-libc)
target_compile_options(python-symbols-libc.global PRIVATE
  -Wno-deprecated-declarations
)
target_link_libraries(python-symbols-libc.global INTERFACE
  contrib-libs-cxxsupp
  yutil
  python-symbols-registry
)
target_sources(python-symbols-libc.global PRIVATE
  ${CMAKE_SOURCE_DIR}/library/python/symbols/libc/syms.cpp
)