2023-04-12 22:20:18 +03:00
|
|
|
cmake_minimum_required(VERSION 3.26)
|
|
|
|
|
|
|
|
project(LibELF CXX)
|
|
|
|
|
|
|
|
add_custom_target(libelf-headers
|
2023-08-28 11:38:17 +03:00
|
|
|
COMMAND sudo rsync -a ${CMAKE_CURRENT_SOURCE_DIR}/include/ ${BANAN_INCLUDE}/
|
2023-04-12 22:20:18 +03:00
|
|
|
DEPENDS sysroot
|
2023-08-23 10:35:16 +03:00
|
|
|
USES_TERMINAL
|
2023-04-12 22:20:18 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
add_custom_target(libelf-install
|
|
|
|
DEPENDS libelf-headers
|
|
|
|
)
|