Skip to content

Commit 2d491f4

Browse files
Add support for open folder in VS for local dev (#6)
1 parent b23a75e commit 2d491f4

File tree

5 files changed

+40
-113
lines changed

5 files changed

+40
-113
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
packages/
22
Debug/
33
Release/
4+
out/
5+
build.debug/
6+
build.release/
47
.vs/
58
*.vcxproj.user

CMakeSettings.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "x64-Debug",
5+
"generator": "Ninja",
6+
"configurationType": "Debug",
7+
"inheritEnvironments": [ "msvc_x64_x64" ],
8+
"buildRoot": "${projectDir}\\out\\build\\${name}",
9+
"installRoot": "${projectDir}\\out\\install\\${name}",
10+
"cmakeCommandArgs": "",
11+
"buildCommandArgs": "-v",
12+
"ctestCommandArgs": "",
13+
"cmakeToolchain": "${projectDir}\\submodules\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake",
14+
"variables": []
15+
},
16+
{
17+
"name": "x64-Release",
18+
"generator": "Ninja",
19+
"configurationType": "Release",
20+
"buildRoot": "${projectDir}\\out\\build\\${name}",
21+
"installRoot": "${projectDir}\\out\\install\\${name}",
22+
"cmakeCommandArgs": "",
23+
"buildCommandArgs": "-v",
24+
"ctestCommandArgs": "",
25+
"cmakeToolchain": "${projectDir}\\submodules\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake",
26+
"inheritEnvironments": [ "msvc_x64_x64" ],
27+
"variables": []
28+
}
29+
]
30+
}

signalrclient.sln

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

src/signalrclient/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,9 @@ else()
3939
endif()
4040

4141
include(GNUInstallDirs)
42-
install(TARGETS signalrclient LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
42+
43+
install(TARGETS signalrclient
44+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
45+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
46+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
47+
)

startvs.cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
devenv.exe %CD%

0 commit comments

Comments
 (0)