Add (Partial) VSCode cpp config

pull/239/head
Peter Repukat 1 year ago
parent d89c84478f
commit f68e3070d0

41
.vscode/tasks.json vendored

@ -0,0 +1,41 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "Build Solution (Debug)",
"command": "msbuild.exe",
"args": [
"GlosSI.sln",
"/target:Build",
"/p:Configuration=Debug",
"/p:Platform=x64"
],
"options": {
"cwd": "${workspaceFolder}",
},
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
},
},
{
"type": "shell",
"label": "Re-Build Solution (Debug)",
"command": "msbuild.exe",
"args": [
"GlosSI.sln",
"/target:Rebuild",
"/p:Configuration=Debug",
"/p:Platform=x64"
],
"options": {
"cwd": "${workspaceFolder}",
},
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
},
}
]
}

@ -0,0 +1,25 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/../deps/json/include",
"${workspaceFolder}/../deps/cpp-httplib",
"${workspaceFolder}/../deps/easywsclient"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE",
"_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING"
],
"windowsSdkVersion": "10.0.18362.0",
"compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe",
"cStandard": "c11",
"cppStandard": "c++20",
"intelliSenseMode": "msvc-x64"
}
],
"version": 4
}

@ -0,0 +1,43 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "Build CEFInjectLib (Debug)",
"command": "msbuild.exe",
"args": [
"GlosSI.sln",
"/target:CEFInjectLib",
"/p:Configuration=Debug",
"/p:Platform=x64"
],
"options": {
"cwd": "${workspaceFolder}/..",
},
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
},
},
{
"type": "shell",
"label": "Re-Build CEFInjectLib (Debug)",
"command": "msbuild.exe",
"args": [
"GlosSI.sln",
"/target:CEFInjectLib:Rebuild",
"/p:Configuration=Debug",
"/p:Platform=x64"
],
"options": {
"cwd": "${workspaceFolder}/..",
},
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
},
}
]
}

@ -0,0 +1,43 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "Build GlosSIConfig (Debug)",
"command": "msbuild.exe",
"args": [
"GlosSI.sln",
"/target:GlosSIConfig",
"/p:Configuration=Debug",
"/p:Platform=x64"
],
"options": {
"cwd": "${workspaceFolder}/..",
},
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
},
},
{
"type": "shell",
"label": "Re-Build GlosSIConfig (Debug)",
"command": "msbuild.exe",
"args": [
"GlosSI.sln",
"/target:GlosSIConfig:Rebuild",
"/p:Configuration=Debug",
"/p:Platform=x64"
],
"options": {
"cwd": "${workspaceFolder}/..",
},
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
},
}
]
}

@ -51,8 +51,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,1,2,0011001030052
PRODUCTVERSION 0,1,2,0011001030052
FILEVERSION 0,1,2,0018002705604
PRODUCTVERSION 0,1,2,0018002705604
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -69,12 +69,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Peter Repukat - FlatspotSoftware"
VALUE "FileDescription", "GlosSI - Config"
VALUE "FileVersion", "0.1.2.0-11-g1f3fb52"
VALUE "FileVersion", "0.1.2.0-18-g27056b4"
VALUE "InternalName", "GlosSIConfig"
VALUE "LegalCopyright", "Copyright (C) 2021 Peter Repukat - FlatspotSoftware"
VALUE "OriginalFilename", "GlosSIConfig.exe"
VALUE "ProductName", "GlosSI"
VALUE "ProductVersion", "0.1.2.0-11-g1f3fb52"
VALUE "ProductVersion", "0.1.2.0-18-g27056b4"
END
END
BLOCK "VarFileInfo"

@ -0,0 +1,37 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/../deps/SFML/include",
"${workspaceFolder}/../deps/WinReg",
"${workspaceFolder}/../deps/spdlog/include",
"${workspaceFolder}/../deps/ValveFileVDF",
"${workspaceFolder}/../deps/subhook",
"${workspaceFolder}/../deps/ViGEmClient/include",
"${workspaceFolder}/../deps/imgui",
"${workspaceFolder}/../deps/imgui-sfml",
"${workspaceFolder}/../deps/json/include",
"${workspaceFolder}/../deps/traypp/tray/include",
"${workspaceFolder}/../deps/cpp-httplib",
"${workspaceFolder}/../CEFInjectLib"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE",
"SPDLOG_WCHAR_TO_UTF8_SUPPORT",
"SPDLOG_WCHAR_FILENAMES",
"_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING",
"SUBHOOK_STATIC"
],
"windowsSdkVersion": "10.0.18362.0",
"compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe",
"cStandard": "c11",
"cppStandard": "c++20",
"intelliSenseMode": "msvc-x64"
}
],
"version": 4
}

@ -5,24 +5,18 @@
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"name": "Launch GlosSITarget",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/build/GlosSITarget",
"preLaunchTask": "Build",
"args": [],
"program": "${workspaceFolder}/../x64/Debug/GlosSITarget.exe",
"preLaunchTask": "Build GlosSITarget (Debug)",
"args": [
"-window"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build",
"cwd": "${workspaceFolder}/../x64/Debug",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}

@ -1,3 +0,0 @@
{
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
}

@ -1,15 +1,43 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "cmake",
"command": "build",
"label": "Build",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
}
]
}
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "Build GlosSITarget (Debug)",
"command": "msbuild.exe",
"args": [
"GlosSI.sln",
"/target:GlosSITarget",
"/p:Configuration=Debug",
"/p:Platform=x64"
],
"options": {
"cwd": "${workspaceFolder}/..",
},
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
},
},
{
"type": "shell",
"label": "Re-Build GlosSITarget (Debug)",
"command": "msbuild.exe",
"args": [
"GlosSI.sln",
"/target:GlosSITarget:Rebuild",
"/p:Configuration=Debug",
"/p:Platform=x64"
],
"options": {
"cwd": "${workspaceFolder}/..",
},
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
},
}
]
}

@ -51,8 +51,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,1,2,0011001030052
PRODUCTVERSION 0,1,2,0011001030052
FILEVERSION 0,1,2,0018002705604
PRODUCTVERSION 0,1,2,0018002705604
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -69,12 +69,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Peter Repukat - FlatspotSoftware"
VALUE "FileDescription", "GlosSI - SteamTarget"
VALUE "FileVersion", "0.1.2.0-11-g1f3fb52"
VALUE "FileVersion", "0.1.2.0-18-g27056b4"
VALUE "InternalName", "GlosSITarget"
VALUE "LegalCopyright", "Copyright (C) 2021-2022 Peter Repukat - FlatspotSoftware"
VALUE "OriginalFilename", "GlosSITarget.exe"
VALUE "ProductName", "GlosSI"
VALUE "ProductVersion", "0.1.2.0-11-g1f3fb52"
VALUE "ProductVersion", "0.1.2.0-18-g27056b4"
END
END
BLOCK "VarFileInfo"

@ -0,0 +1,41 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "Build GlosSIWatchdog (Debug)",
"command": "msbuild.exe",
"args": [
"GlosSI.sln",
"/target:GlosSIWatchdog",
"/p:Configuration=Debug",
"/p:Platform=x64"
],
"options": {
"cwd": "${workspaceFolder}/..",
},
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
},
},
{
"type": "shell",
"label": "Re-Build GlosSIWatchdog (Debug)",
"command": "msbuild.exe",
"args": [
"GlosSI.sln",
"/target:GlosSIWatchdog:Rebuild",
"/p:Configuration=Debug",
"/p:Platform=x64"
],
"options": {
"cwd": "${workspaceFolder}/..",
},
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
},
}
]
}

@ -3,7 +3,7 @@
!define APP_NAME "GlosSI"
!define COMP_NAME "Peter Repukat - Flatspotsoftware"
!define WEB_SITE "https://glossi.flatspot.pictures/"
!define VERSION "0.1.2.0-11-g1f3fb52"
!define VERSION "0.1.2.0-18-g27056b4"
!define COPYRIGHT "Peter Repukat - FlatspotSoftware © 2017-2022"
!define DESCRIPTION "SteamInput compatibility tool"
!define INSTALLER_NAME "GlosSI-Installer.exe"

@ -0,0 +1,41 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "Build UWPOverlayEnablerDLL (Debug)",
"command": "msbuild.exe",
"args": [
"GlosSI.sln",
"/target:UWPOverlayEnablerDLL",
"/p:Configuration=Debug",
"/p:Platform=x64"
],
"options": {
"cwd": "${workspaceFolder}/..",
},
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
},
},
{
"type": "shell",
"label": "Re-Build UWPOverlayEnablerDLL (Debug)",
"command": "msbuild.exe",
"args": [
"GlosSI.sln",
"/target:UWPOverlayEnablerDLL:Rebuild",
"/p:Configuration=Debug",
"/p:Platform=x64"
],
"options": {
"cwd": "${workspaceFolder}/..",
},
"problemMatcher": ["$msCompile"],
"group": {
"kind": "build",
},
}
]
}

@ -0,0 +1,33 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/../deps/SFML/include",
"${workspaceFolder}/../deps/WinReg",
"${workspaceFolder}/../deps/spdlog/include",
"${workspaceFolder}/../deps/ValveFileVDF",
"${workspaceFolder}/../deps/subhook",
"${workspaceFolder}/../deps/ViGEmClient/include",
"${workspaceFolder}/../deps/imgui",
"${workspaceFolder}/../deps/imgui-sfml",
"${workspaceFolder}/../deps/json/include",
"${workspaceFolder}/../deps/traypp/tray/include",
"${workspaceFolder}/../deps/cpp-httplib",
"${workspaceFolder}/../CEFInjectLib"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.18362.0",
"compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe",
"cStandard": "c11",
"cppStandard": "c++20",
"intelliSenseMode": "msvc-x64"
}
],
"version": 4
}

@ -1,15 +0,0 @@
{
"folders": [
{
"path": "GlosSIConfig"
},
{
"path": "GlosSITarget"
},
{
"name": "root",
"path": "."
}
],
"settings": {}
}

@ -0,0 +1,42 @@
{
"folders": [
{
"path": "common"
},
{
"path": "CEFInjectLib"
},
{
"path": "GlosSIConfig"
},
{
"path": "GlosSITarget"
},
{
"path": "GlosSIWatchdog"
},
{
"path": "UWPOverlayEnablerDLL"
},
{
"path": "Installer"
},
{
"name": "root",
"path": "."
},
],
"settings": {
// uncomment if not already in user settings and wanting to debug/build c++ code (vs 2022 required!)
// "terminal.integrated.profiles.windows": {
// "Developer PowerShell for VS 2022": {
// "source": "PowerShell",
// "icon": "terminal-powershell",
// "args": [
// "-c",
// "$vsPath = & '${env:ProgramFiles(x86)}/Microsoft Visual Studio/Installer/vswhere.exe' -property installationpath; Import-Module \"$vsPath/Common7/Tools/Microsoft.VisualStudio.DevShell.dll\"; Enter-VsDevShell -VsInstallPath $vsPath -SkipAutomaticLocation; powershell.exe"
// ]
// }
// },
}
}
Loading…
Cancel
Save