Files
cmake/Tests/RunCMake/cmake_language/PrintPropertiesLocationOnlySkipped.cmake
T
Tom Osika 2a2012e913 cmake_language: Add PRINT_PROPERTIES operation
Print CMake entities' properties in human-readable form for debugging.

Issue: #27513
2026-08-10 17:41:05 -04:00

8 lines
270 B
CMake

enable_language(C)
add_library(mylib STATIC nothing.c)
# If we only read LOCATION based properties on a non-imported target, print just
# the warning and suppress the header.
cmake_language(PRINT_PROPERTIES TARGETS mylib
NAMED LOCATION LOCATION_Debug Debug_LOCATION)