Skip to content

Commit 9a5fe8a

Browse files
committed
tests: Add user env for vlv test project
Added a .user file to set environment for VLV tests automatically for Windows builds. Change-Id: I857d01e5040bf1229b159c1094772b31dfd38466
1 parent 356ccf6 commit 9a5fe8a

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ if (WIN32)
3636
else ()
3737
set (BUILDTGT_DIR build32)
3838
endif()
39+
file(COPY vk_layer_validation_tests.vcxproj.user DESTINATION ${CMAKE_BINARY_DIR}/tests)
3940
endif()
4041

4142
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">
4+
<LocalDebuggerEnvironment>VK_LAYER_PATH=$(SolutionDir)\layers\$(Configuration)</LocalDebuggerEnvironment>
5+
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
6+
</PropertyGroup>
7+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
8+
<LocalDebuggerEnvironment>VK_LAYER_PATH=$(SolutionDir)\layers\$(Configuration)</LocalDebuggerEnvironment>
9+
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
10+
</PropertyGroup>
11+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
12+
<LocalDebuggerEnvironment>VK_LAYER_PATH=$(SolutionDir)\layers\$(Configuration)</LocalDebuggerEnvironment>
13+
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
14+
</PropertyGroup>
15+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">
16+
<LocalDebuggerEnvironment>VK_LAYER_PATH=$(SolutionDir)\layers\$(Configuration)</LocalDebuggerEnvironment>
17+
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
18+
</PropertyGroup>
19+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|Win32'">
20+
<LocalDebuggerEnvironment>VK_LAYER_PATH=$(SolutionDir)\layers\$(Configuration)</LocalDebuggerEnvironment>
21+
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
22+
</PropertyGroup>
23+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
24+
<LocalDebuggerEnvironment>VK_LAYER_PATH=$(SolutionDir)\layers\$(Configuration)</LocalDebuggerEnvironment>
25+
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
26+
</PropertyGroup>
27+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|Win32'">
28+
<LocalDebuggerEnvironment>VK_LAYER_PATH=$(SolutionDir)\layers\$(Configuration)</LocalDebuggerEnvironment>
29+
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
30+
</PropertyGroup>
31+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
32+
<LocalDebuggerEnvironment>VK_LAYER_PATH=$(SolutionDir)\layers\$(Configuration)</LocalDebuggerEnvironment>
33+
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
34+
</PropertyGroup>
35+
</Project>

0 commit comments

Comments
 (0)