diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-18 15:49:59 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-18 15:49:59 +0300 |
commit | b4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch) | |
tree | 6a64ab25a145265287789bceed3f59e953561206 /contrib/restricted/libffi | |
parent | 5e837a820d5be0671fa4096a1cc1e378453e5132 (diff) | |
download | ydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz |
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'contrib/restricted/libffi')
-rw-r--r-- | contrib/restricted/libffi/CMakeLists.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/contrib/restricted/libffi/CMakeLists.txt b/contrib/restricted/libffi/CMakeLists.txt new file mode 100644 index 0000000000..efe14efb54 --- /dev/null +++ b/contrib/restricted/libffi/CMakeLists.txt @@ -0,0 +1,29 @@ +add_library(contrib-restricted-libffi) +target_compile_options(contrib-restricted-libffi PUBLIC + -DFFI_BUILDING +) +target_compile_options(contrib-restricted-libffi PRIVATE + -DHAVE_CONFIG_H +) +target_include_directories(contrib-restricted-libffi PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/include + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/configs/x86_64-pc-linux-gnu/include +) +target_include_directories(contrib-restricted-libffi PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/include + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/configs/x86_64-pc-linux-gnu + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/configs/x86_64-pc-linux-gnu/include +) +target_sources(contrib-restricted-libffi PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/closures.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/java_raw_api.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/prep_cif.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/raw_api.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/types.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/ffi64.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/ffiw64.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/unix64.S + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/win64.S +) |