Skip to content

Commit 72485f0

Browse files
committed
Added CMakePresets.json
1 parent a2b20f8 commit 72485f0

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ doc/output/client
66
doc/output/server
77
TODO
88

9-
#ignore only cmake presets in root folder
10-
/CMakePresets.json
11-
129
# Python Byte-compiled / optimized / DLL files
1310
__pycache__/
1411
*.py[cod]

examples/CMakePresets.json renamed to CMakePresets.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"displayName": "Base Configuration for Windows",
1212
"inherits": "Config-Base",
1313
"hidden": true,
14-
"binaryDir": "c:/tmp/cmake/ModbusTools/bin",
14+
"binaryDir": "$env{USERPROFILE}/tmp/cmake/ModbusTools/bin",
1515
"condition": {
1616
"type": "equals",
1717
"lhs": "${hostSystemName}",
@@ -26,7 +26,7 @@
2626
"generator": "Visual Studio 17 2022",
2727
"toolset": "host=x64",
2828
"architecture": "x64",
29-
"binaryDir": "c:/tmp/cmake/ModbusTools/bin/Win64",
29+
"binaryDir": "$env{USERPROFILE}/tmp/cmake/ModbusTools/bin/Win64",
3030
"cacheVariables": {
3131
"CMAKE_PREFIX_PATH": "C:/Qt/5.15.2/msvc2019_64",
3232
"CMAKE_C_COMPILER": "cl.exe",
@@ -41,7 +41,7 @@
4141
"generator": "Visual Studio 17 2022",
4242
"toolset": "host=x64",
4343
"architecture": "win32",
44-
"binaryDir": "c:/tmp/cmake/ModbusTools/bin/Win32",
44+
"binaryDir": "$env{USERPROFILE}/tmp/cmake/ModbusTools/bin/Win32",
4545
"cacheVariables": {
4646
"CMAKE_PREFIX_PATH": "C:/Qt/5.15.2/msvc2019",
4747
"CMAKE_C_COMPILER": "cl.exe",

0 commit comments

Comments
 (0)