summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorDaniil Cherednik <[email protected]>2022-06-24 13:08:23 +0300
committerDaniil Cherednik <[email protected]>2022-06-24 13:08:23 +0300
commit067fd14417000b3601483f660fe9e27c3b47f0b5 (patch)
treeeb4fc96bcae1331d15432f6555b003185bc75848 /cmake
parentece86e83e77dcf3d9e757517d3d16f707272a4c7 (diff)
REVERT: r9621717 (disable pg_wrapper for OSS) YQ-1154
ref:d888564254e64ea675383c26661ff5332bf406f5
Diffstat (limited to 'cmake')
-rw-r--r--cmake/archive.cmake13
1 files changed, 0 insertions, 13 deletions
diff --git a/cmake/archive.cmake b/cmake/archive.cmake
deleted file mode 100644
index f822498daeb..00000000000
--- a/cmake/archive.cmake
+++ /dev/null
@@ -1,13 +0,0 @@
-find_package(Python3 REQUIRED)
-
-function(target_rodata_sources TgtName Scope)
- foreach(rodata ${ARGN})
- get_filename_component(CppVar ${rodata} NAME_WLE)
- add_custom_command(
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${CppVar}.cpp
- COMMAND Python3::Interpreter ${CMAKE_SOURCE_DIR}/build/scripts/rodata2cpp.py ${CppVar} ${rodata} ${CMAKE_CURRENT_BINARY_DIR}/${CppVar}.cpp
- DEPENDS ${CMAKE_SOURCE_DIR}/build/scripts/rodata2cpp.py ${rodata}
- )
- target_sources(${TgtName} ${Scope} ${CMAKE_CURRENT_BINARY_DIR}/${CppVar}.cpp)
- endforeach()
-endfunction() \ No newline at end of file