Skip to content

Commit 455a775

Browse files
committed
Capnp
1 parent ed0ed67 commit 455a775

File tree

99 files changed

+5258
-6971
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+5258
-6971
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,3 +344,5 @@ healthchecksdb
344344

345345
# Backup folder for Package Reference Convert tool in Visual Studio 2017
346346
MigrationBackup/
347+
348+
out/

CMakeLists.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# CMakeList.txt : Top-level CMake project file, do global configuration
2+
# and include sub-projects here.
3+
#
4+
cmake_minimum_required (VERSION 3.10)
5+
6+
# Enable Hot Reload for MSVC compilers if supported.
7+
if (POLICY CMP0141)
8+
cmake_policy(SET CMP0141 NEW)
9+
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<IF:$<AND:$<C_COMPILER_ID:MSVC>,$<CXX_COMPILER_ID:MSVC>>,$<$<CONFIG:Debug,RelWithDebInfo>:EditAndContinue>,$<$<CONFIG:Debug,RelWithDebInfo>:ProgramDatabase>>")
10+
endif()
11+
12+
project ("plugin_OpenVR")
13+
14+
# Include sub-projects.
15+
add_subdirectory ("driver_Amethyst")

CMakePresets.json

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
{
2+
"version": 3,
3+
"configurePresets": [
4+
{
5+
"name": "windows-base",
6+
"hidden": true,
7+
"generator": "Ninja",
8+
"binaryDir": "${sourceDir}/out/build/${presetName}",
9+
"installDir": "${sourceDir}/out/install/${presetName}",
10+
"cacheVariables": {
11+
"CMAKE_C_COMPILER": "cl.exe",
12+
"CMAKE_CXX_COMPILER": "cl.exe",
13+
"CMAKE_TOOLCHAIN_FILE": "D:/vcpkg/scripts/buildsystems/vcpkg.cmake",
14+
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
15+
},
16+
"condition": {
17+
"type": "equals",
18+
"lhs": "${hostSystemName}",
19+
"rhs": "Windows"
20+
}
21+
},
22+
{
23+
"name": "x64-debug",
24+
"displayName": "x64 Debug",
25+
"inherits": "windows-base",
26+
"architecture": {
27+
"value": "x64",
28+
"strategy": "external"
29+
},
30+
"cacheVariables": {
31+
"CMAKE_BUILD_TYPE": "Debug",
32+
"USE_HOOKS": "ON"
33+
}
34+
},
35+
{
36+
"name": "x64-release",
37+
"displayName": "x64 Release",
38+
"inherits": "x64-debug",
39+
"cacheVariables": {
40+
"CMAKE_BUILD_TYPE": "Release",
41+
"USE_HOOKS": "ON"
42+
}
43+
},
44+
{
45+
"name": "x86-debug",
46+
"displayName": "x86 Debug",
47+
"inherits": "windows-base",
48+
"architecture": {
49+
"value": "x86",
50+
"strategy": "external"
51+
},
52+
"cacheVariables": {
53+
"CMAKE_BUILD_TYPE": "Debug",
54+
"USE_HOOKS": "ON"
55+
}
56+
},
57+
{
58+
"name": "x86-release",
59+
"displayName": "x86 Release",
60+
"inherits": "x86-debug",
61+
"cacheVariables": {
62+
"CMAKE_BUILD_TYPE": "Release",
63+
"USE_HOOKS": "ON"
64+
}
65+
},
66+
{
67+
"name": "x64-debug-nohooks",
68+
"displayName": "x64 Debug",
69+
"inherits": "windows-base",
70+
"architecture": {
71+
"value": "x64",
72+
"strategy": "external"
73+
},
74+
"cacheVariables": {
75+
"CMAKE_BUILD_TYPE": "Debug"
76+
}
77+
},
78+
{
79+
"name": "x64-release-nohooks",
80+
"displayName": "x64 Release",
81+
"inherits": "x64-debug",
82+
"cacheVariables": {
83+
"CMAKE_BUILD_TYPE": "Release"
84+
}
85+
},
86+
{
87+
"name": "x86-debug-nohooks",
88+
"displayName": "x86 Debug",
89+
"inherits": "windows-base",
90+
"architecture": {
91+
"value": "x86",
92+
"strategy": "external"
93+
},
94+
"cacheVariables": {
95+
"CMAKE_BUILD_TYPE": "Debug"
96+
}
97+
},
98+
{
99+
"name": "x86-release-nohooks",
100+
"displayName": "x86 Release",
101+
"inherits": "x86-debug",
102+
"cacheVariables": {
103+
"CMAKE_BUILD_TYPE": "Release"
104+
}
105+
},
106+
{
107+
"name": "linux-debug",
108+
"displayName": "Linux Debug",
109+
"generator": "Ninja",
110+
"binaryDir": "${sourceDir}/out/build/${presetName}",
111+
"installDir": "${sourceDir}/out/install/${presetName}",
112+
"cacheVariables": {
113+
"CMAKE_BUILD_TYPE": "Debug"
114+
},
115+
"condition": {
116+
"type": "equals",
117+
"lhs": "${hostSystemName}",
118+
"rhs": "Linux"
119+
},
120+
"vendor": {
121+
"microsoft.com/VisualStudioRemoteSettings/CMake/1.0": {
122+
"sourceDir": "$env{HOME}/.vs/$ms{projectDirName}"
123+
}
124+
}
125+
},
126+
{
127+
"name": "macos-debug",
128+
"displayName": "macOS Debug",
129+
"generator": "Ninja",
130+
"binaryDir": "${sourceDir}/out/build/${presetName}",
131+
"installDir": "${sourceDir}/out/install/${presetName}",
132+
"cacheVariables": {
133+
"CMAKE_BUILD_TYPE": "Debug"
134+
},
135+
"condition": {
136+
"type": "equals",
137+
"lhs": "${hostSystemName}",
138+
"rhs": "Darwin"
139+
},
140+
"vendor": {
141+
"microsoft.com/VisualStudioRemoteSettings/CMake/1.0": {
142+
"sourceDir": "$env{HOME}/.vs/$ms{projectDirName}"
143+
}
144+
}
145+
}
146+
]
147+
}

Common/Common.vcxitems

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)