banan-os/LibELF/CMakeLists.txt

13 lines
281 B
CMake

cmake_minimum_required(VERSION 3.26)
project(LibELF CXX)
add_custom_target(libelf-headers
COMMAND ${CMAKE_COMMAND} -E copy_directory_if_different ${CMAKE_CURRENT_SOURCE_DIR}/include ${BANAN_INCLUDE}
DEPENDS sysroot
)
add_custom_target(libelf-install
DEPENDS libelf-headers
)