banan-os/LibELF/CMakeLists.txt

13 lines
283 B
CMake
Raw Normal View History

2023-04-12 22:20:18 +03:00
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}/
2023-04-12 22:20:18 +03:00
DEPENDS sysroot
)
add_custom_target(libelf-install
DEPENDS libelf-headers
)