add missing files
This commit is contained in:
parent
5cbfbe8172
commit
6d2df5690f
8 changed files with 107 additions and 3 deletions
28
.vscode/launch.war1gus.json
vendored
Normal file
28
.vscode/launch.war1gus.json
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "War1tool",
|
||||
"request": "launch",
|
||||
"type": "cppdbg",
|
||||
"windows": {
|
||||
"type": "cppvsdbg",
|
||||
"program": "${workspaceFolder}/build/Debug/war1tool.exe",
|
||||
"environment": [{"name": "PATH", "value": "${workspaceFolder}\\..\\dependencies\\bin;${env:PATH}"}],
|
||||
"externalConsole": true
|
||||
},
|
||||
"linux": {
|
||||
"program": "${workspaceRoot}/build/war1tool"
|
||||
},
|
||||
"args": ["-v", "${input:datadir}", "${workspaceFolder}/../data.war1gus"],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"type": "promptString",
|
||||
"id": "datadir",
|
||||
"description": "Enter path to DATA folder"
|
||||
},
|
||||
]
|
||||
}
|
28
.vscode/launch.wargus.json
vendored
Normal file
28
.vscode/launch.wargus.json
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Wartool",
|
||||
"request": "launch",
|
||||
"type": "cppdbg",
|
||||
"windows": {
|
||||
"type": "cppvsdbg",
|
||||
"program": "${workspaceFolder}/build/Debug/wartool.exe",
|
||||
"environment": [{"name": "PATH", "value": "${workspaceFolder}\\..\\dependencies\\bin;${env:PATH}"}],
|
||||
"externalConsole": true
|
||||
},
|
||||
"linux": {
|
||||
"program": "${workspaceRoot}/build/wartool"
|
||||
},
|
||||
"args": ["-v", "${input:datadir}", "${workspaceFolder}/../data.wargus"],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"type": "promptString",
|
||||
"id": "datadir",
|
||||
"description": "Enter path to DATA folder"
|
||||
},
|
||||
]
|
||||
}
|
6
.vscode/scripts/download.ps1
vendored
6
.vscode/scripts/download.ps1
vendored
|
@ -27,12 +27,12 @@ if (-not (Test-Path "$stratagus_folder\\..\\wargus\\.vscode\\launch.json")) {
|
|||
Copy-Item "$stratagus_folder\\.vscode\\launch.wargus.json" "$stratagus_folder\\..\\wargus\\.vscode\\launch.json"
|
||||
}
|
||||
|
||||
if (-not (Test-Path "$stratagus_folder\\..\\war1gus\\.vscode")) {
|
||||
mkdir "$stratagus_folder\\..\\war1gus\\.vscode"
|
||||
}
|
||||
if (-not (Test-Path "$stratagus_folder\\..\\war1gus")) {
|
||||
git clone https://github.com/Wargus/war1gus "$stratagus_folder\\..\\war1gus"
|
||||
}
|
||||
if (-not (Test-Path "$stratagus_folder\\..\\war1gus\\.vscode")) {
|
||||
mkdir "$stratagus_folder\\..\\war1gus\\.vscode"
|
||||
}
|
||||
if (-not (Test-Path "$stratagus_folder\\..\\war1gus\\.vscode\\settings.json")) {
|
||||
Copy-Item "$stratagus_folder\\.vscode\\settings.windows.war1gus.json" "$stratagus_folder\\..\\war1gus\\.vscode\\settings.json"
|
||||
}
|
||||
|
|
7
.vscode/settings.linux.war1gus.json
vendored
Normal file
7
.vscode/settings.linux.war1gus.json
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"cmake.configureSettings": {
|
||||
"STRATAGUS_INCLUDE_DIR": "${workspaceFolder}/../stratagus/gameheaders",
|
||||
"STRATAGUS": "stratagus"
|
||||
},
|
||||
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json"
|
||||
}
|
7
.vscode/settings.linux.wargus.json
vendored
Normal file
7
.vscode/settings.linux.wargus.json
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"cmake.configureSettings": {
|
||||
"STRATAGUS_INCLUDE_DIR": "${workspaceFolder}/../stratagus/gameheaders",
|
||||
"STRATAGUS": "stratagus"
|
||||
},
|
||||
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json"
|
||||
}
|
10
.vscode/settings.windows.json
vendored
Normal file
10
.vscode/settings.windows.json
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"cmake.generator": "Visual Studio 16 2019",
|
||||
"cmake.toolset": "v141_xp",
|
||||
"cmake.platform": "win32",
|
||||
"cmake.configureSettings": {
|
||||
"WIN32_CMAKE_PREFIX_PATH": "${workspaceFolder}\\..\\dependencies"
|
||||
},
|
||||
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json",
|
||||
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
|
||||
}
|
12
.vscode/settings.windows.war1gus.json
vendored
Normal file
12
.vscode/settings.windows.war1gus.json
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"cmake.generator": "Visual Studio 16 2019",
|
||||
"cmake.toolset": "v141_xp",
|
||||
"cmake.platform": "win32",
|
||||
"cmake.configureSettings": {
|
||||
"STRATAGUS_INCLUDE_DIR": "${workspaceFolder}/../stratagus/gameheaders",
|
||||
"STRATAGUS": "stratagus",
|
||||
"WIN32_CMAKE_PREFIX_PATH": "${workspaceFolder}\\..\\dependencies"
|
||||
},
|
||||
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json",
|
||||
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
|
||||
}
|
12
.vscode/settings.windows.wargus.json
vendored
Normal file
12
.vscode/settings.windows.wargus.json
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"cmake.generator": "Visual Studio 16 2019",
|
||||
"cmake.toolset": "v141_xp",
|
||||
"cmake.platform": "win32",
|
||||
"cmake.configureSettings": {
|
||||
"STRATAGUS_INCLUDE_DIR": "${workspaceFolder}/../stratagus/gameheaders",
|
||||
"STRATAGUS": "stratagus",
|
||||
"WIN32_CMAKE_PREFIX_PATH": "${workspaceFolder}\\..\\dependencies"
|
||||
},
|
||||
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json",
|
||||
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
|
||||
}
|
Loading…
Reference in a new issue