diff options
author | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-04-08 21:20:14 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-04-08 21:20:14 +0300 |
commit | d6efaab16218e74875dd94c978b659d867327aa4 (patch) | |
tree | 7b94679be430d5f7e311766882f371a57b17dca3 /contrib/restricted/libffi | |
parent | 928a92f82931e03961e4eac761c7f68d5d8070ba (diff) | |
download | ydb-d6efaab16218e74875dd94c978b659d867327aa4.tar.gz |
Add rule to generate cmake file. KIKIMR-14679
ref:520f7b10e2f41d081d1552c1ce75159826498334
Diffstat (limited to 'contrib/restricted/libffi')
-rw-r--r-- | contrib/restricted/libffi/CMakeLists.darwin.txt | 38 | ||||
-rw-r--r-- | contrib/restricted/libffi/CMakeLists.linux.txt | 38 | ||||
-rw-r--r-- | contrib/restricted/libffi/CMakeLists.txt | 13 |
3 files changed, 0 insertions, 89 deletions
diff --git a/contrib/restricted/libffi/CMakeLists.darwin.txt b/contrib/restricted/libffi/CMakeLists.darwin.txt deleted file mode 100644 index 09883b16d1..0000000000 --- a/contrib/restricted/libffi/CMakeLists.darwin.txt +++ /dev/null @@ -1,38 +0,0 @@ - -# 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(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-apple-macosx/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-apple-macosx - ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/configs/x86_64-apple-macosx/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 -) diff --git a/contrib/restricted/libffi/CMakeLists.linux.txt b/contrib/restricted/libffi/CMakeLists.linux.txt deleted file mode 100644 index 838df7bbc8..0000000000 --- a/contrib/restricted/libffi/CMakeLists.linux.txt +++ /dev/null @@ -1,38 +0,0 @@ - -# 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(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 -) diff --git a/contrib/restricted/libffi/CMakeLists.txt b/contrib/restricted/libffi/CMakeLists.txt deleted file mode 100644 index a681d385f3..0000000000 --- a/contrib/restricted/libffi/CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ - -# 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. - - -if (APPLE) - include(CMakeLists.darwin.txt) -elseif (UNIX) - include(CMakeLists.linux.txt) -endif() |