mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Print CMake entities' properties in human-readable form for debugging. Issue: #27513
8 lines
270 B
CMake
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)
|