-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMakePresets.json
103 lines (103 loc) · 2.38 KB
/
CMakePresets.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 22,
"patch": 0
},
"configurePresets": [
{
"name": "Path-Preset",
"hidden": true,
"environment": {
"GAME_ROOT": "YOUR_PATH",
"SURF_ROOT": "$env{GAME_ROOT}/csgo/addons/cs2surf"
}
},
{
"name": "S2M-Linux",
"hidden": true,
"inherits": "Path-Preset",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-15",
"CMAKE_CXX_COMPILER": "clang++-15",
"OUT_DIR": "$env{SURF_BIN_DIR}",
"CMAKE_BUILD_TYPE": "Debug"
},
"environment": {
"GAME_ROOT": "/home/cs2/game",
"CS2_BIN": "$env{GAME_ROOT}/bin/linuxsteamrt64/cs2",
"SURF_BIN_DIR": "$env{SURF_ROOT}/bin"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"intelliSenseMode": "linux-gcc-x64",
"hostOS": "Linux"
},
"microsoft.com/VisualStudioRemoteSettings/CMake/1.0": {
"copySourcesOptions": {
"exclusionList": [ ".vs", ".git", "*.ps1", "*.lib", "*.exe", "*.pdb", "*.bat", "*.dll", "out", "x64", "build", "Source2Mod", "artifacts" ]
},
"sourceDir": "$env{HOME}/.vs"
}
},
"binaryDir": "$env{HOME}/.vs/$ms{projectDirName}/out/build/${presetName}"
},
{
"name": "S2M-Windows",
"hidden": true,
"inherits": "Path-Preset",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl",
"OUT_DIR": "$env{SURF_BIN_DIR}",
"CMAKE_BUILD_TYPE": "Debug"
},
"environment": {
"GAME_ROOT": "E:/Steam/steamapps/common/Counter-Strike Global Offensive/game",
"CS2_BIN": "$env{GAME_ROOT}/bin/win64/cs2.exe",
"SURF_BIN_DIR": "$env{SURF_ROOT}/bin"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"intelliSenseMode": "windows-msvc-x64",
"hostOS": "Windows"
}
}
},
{
"name": "Linux-Debug",
"hidden": false,
"inherits": "S2M-Linux",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "Linux-Release",
"hidden": false,
"inherits": "S2M-Linux",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "Win-Release",
"hidden": false,
"inherits": "S2M-Windows",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "Win-Debug",
"hidden": false,
"inherits": "S2M-Windows",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithOd"
}
}
]
}