Files
wxWidgets/tests/tests.props
T
PBandVadim Zeitlin 5d26584cb8 Allow running tests from MSVS in DLL configurations
Create file tests/tests.props which adds the DLL build directory
to MSVS PATH in <LocalDebuggerEnvironment> property and add the
file to test.vcxproj and test_gui.vcxproj MSVC projects.

See also eba106431a (Allow running samples from MSVS in DLL
configurations, 2024-11-14).

Closes #26171.
2026-02-10 01:03:52 +01:00

10 lines
486 B
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--
Add the folder where wxWidgets DLL were built to MSVS PATH so that tests can be run
from MSVS in DLL builds.
-->
<PropertyGroup Condition="'$(Configuration)' == 'DLL Debug' or '$(Configuration)' == 'DLL Release'">
<LocalDebuggerEnvironment>PATH=.\..\lib\$(wxOutDirName);$(PATH)</LocalDebuggerEnvironment>
</PropertyGroup>
</Project>