aboutsummaryrefslogtreecommitdiff
path: root/libs/elf/CMakeLists.txt
blob: 66e59ee852b3708496a01ce56e950e643262180b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
add_library("elf" INTERFACE)
add_library("libs::elf" ALIAS "elf")

target_sources("elf" INTERFACE
    FILE_SET HEADERS
    BASE_DIRS "include"
    FILES
    "include/elf/format.hpp"
    "include/elf/section_header.hpp"

)

target_include_directories("elf" INTERFACE
    "include"
)

set_target_properties("elf" PROPERTIES
    VERIFY_INTERFACE_HEADER_SETS YES
)