mirror of
https://github.com/UOX3DevTeam/UOX3
synced 2026-08-13 12:27:04 -04:00
- [ADD] Added build/run support for Visual Studio Code editor through some dedicated workspace files: - make\VSCode\uox3_cmake.code-workspace // Relies on cmake and make\CMakeLists.txt for project configuration - make\VSCode\uox3_msbuild.code-workspace // Relies on msbuild and make\VS2022\uox3.sln for project configuration
93 lines
No EOL
3 KiB
Text
93 lines
No EOL
3 KiB
Text
{
|
|
"folders": [
|
|
{
|
|
// Actual project root is two folders up
|
|
"path": "../.."
|
|
}
|
|
],
|
|
"settings": {
|
|
// This replaces c_cpp_properties.json
|
|
"C_Cpp.default.includePath": [
|
|
"${workspaceFolder}/**",
|
|
"${workspaceFolder}/source",
|
|
"${workspaceFolder}/zlib",
|
|
"${workspaceFolder}/spidermonkey",
|
|
"${workspaceFolder}/utf8cpp"
|
|
],
|
|
"C_Cpp.default.defines": [
|
|
"_DEBUG", "_CONSOLE", "STATIC_JS_API", "_CRT_SECURE_NO_WARNINGS", "_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION", "UNICODE", "_UNICODE"
|
|
],
|
|
"C_Cpp.default.compilerPath": "cl.exe",
|
|
"C_Cpp.default.intelliSenseMode": "windows-msvc-x64",
|
|
"C_Cpp.default.cppStandard": "c++17",
|
|
"C_Cpp.default.cStandard": "c11"
|
|
},
|
|
"tasks": {
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Build UOX3 (Debug)",
|
|
"type": "shell",
|
|
"command": "msbuild",
|
|
"args": [
|
|
"make/VS2022/uox3.sln",
|
|
"/p:Configuration=Debug",
|
|
"/p:Platform=x64",
|
|
"/t:Build",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
}
|
|
},
|
|
{
|
|
"label": "Build UOX3 (Release)",
|
|
"type": "shell",
|
|
"command": "msbuild",
|
|
"args": [
|
|
"make/VS2022/uox3.sln",
|
|
"/p:Configuration=Release",
|
|
"/p:Platform=x64",
|
|
"/t:Build",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"problemMatcher": "$msCompile",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"launch": {
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "UOX3 Debug",
|
|
"type": "cppvsdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/make/VS2022/x64/Debug/uox3.exe",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}/data",
|
|
"environment": [],
|
|
"console": "externalTerminal",
|
|
"preLaunchTask": "Build UOX3 (Debug)"
|
|
},
|
|
{
|
|
"name": "UOX3 Release",
|
|
"type": "cppvsdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/make/VS2022/x64/Release/uox3.exe",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}/data",
|
|
"environment": [],
|
|
"console": "externalTerminal",
|
|
"preLaunchTask": "Build UOX3 (Release)"
|
|
}
|
|
]
|
|
}
|
|
} |