Files
cmake/Source/cmTestPropertyHelper.h
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

23 lines
796 B
C++

/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file LICENSE.rst or https://cmake.org/licensing for details. */
#pragma once
#include <string>
class cmExecutionStatus;
class cmValue;
enum class cmGetTestPropertyResult
{
Success,
ScopeError, // test directory scope validation failed
TestNotFound, // test does not exist
};
cmGetTestPropertyResult cmGetTestProperty(std::string const& testName,
std::string const& propertyName,
cmExecutionStatus& status,
bool testDirectoryOptionEnabled,
std::string& testDirectory,
cmValue& propertyValue);