From 3da99f177643c640f67230abd49a2bc186a94da8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Karczewski?= Date: Tue, 12 Nov 2024 14:12:12 +0100 Subject: [PATCH] Print ebpfdiscovery symbols during build --- ebpfdiscoverysrv/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ebpfdiscoverysrv/CMakeLists.txt b/ebpfdiscoverysrv/CMakeLists.txt index c8a0a270..3e74138f 100644 --- a/ebpfdiscoverysrv/CMakeLists.txt +++ b/ebpfdiscoverysrv/CMakeLists.txt @@ -20,3 +20,7 @@ add_executable(${TARGET} ${SOURCES}) target_link_libraries(${TARGET} PRIVATE ebpfdiscovery) target_link_options(${TARGET} PRIVATE "-static-libgcc" "-static-libstdc++") target_compile_definitions(${TARGET} PUBLIC PROJECT_VERSION="${PROJECT_VERSION}") + +add_custom_command(TARGET ${TARGET} POST_BUILD + COMMAND objdump -p $ +)