From b7dd60423d0c8f064cf5043fc82d38729a3b051a Mon Sep 17 00:00:00 2001 From: Joseph Eng Date: Thu, 28 Dec 2023 14:28:23 -0800 Subject: [PATCH] Report sources --- wpimath/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/wpimath/CMakeLists.txt b/wpimath/CMakeLists.txt index 5ce44ecc316..65318d8272a 100644 --- a/wpimath/CMakeLists.txt +++ b/wpimath/CMakeLists.txt @@ -217,6 +217,19 @@ else() ) endif() +get_target_property(wpimath_sources wpimath SOURCES) +message("wpimath sources:") +foreach(wpimath_source ${wpimath_sources}) + message(" ${wpimath_source}") +endforeach() + +get_target_property(wpimath_interface_sources wpimath INTERFACE_SOURCES) +message("wpimath interface sources: '${wpimath_interface_sources}'") +message("wpimath interface sources:") +foreach(wpimath_interface_source ${wpimath_interface_sources}) + message(" ${wpimath_interface_source}") +endforeach() + set_property(TARGET wpimath PROPERTY FOLDER "libraries") target_compile_definitions(wpimath PRIVATE WPILIB_EXPORTS)