this repo has no description
1project(wrapgen)
2
3cmake_minimum_required(VERSION 3.13)
4
5if(COMMAND cmake_policy)
6 cmake_policy(SET CMP0003 NEW)
7 cmake_policy(SET CMP0005 NEW)
8endif(COMMAND cmake_policy)
9
10add_executable(wrapgen wrapgen.cpp)
11target_link_libraries(wrapgen dl)
12
13# This tool is useful for packaging to detect ELF dependencies inside Mach-O libraries,
14# which standard distro tools cannot do.
15if (DEFINED WITH_PRINT_WRAPPED_ELF)
16 add_executable(print_wrapped_elf print_wrapped_elf.cpp)
17endif (DEFINED WITH_PRINT_WRAPPED_ELF)