mirror of
https://github.com/MaJerle/lwmem.git
synced 2025-01-13 21:42:53 +08:00
Update vscode & CMake related points
This commit is contained in:
parent
67537be39f
commit
4849aa0c23
5
.vscode/launch.json
vendored
5
.vscode/launch.json
vendored
@ -8,13 +8,12 @@
|
||||
"name": "(Windows) Launch",
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}\\build\\LwLibPROJECT.exe",
|
||||
"program": "${command:cmake.buildDirectory}\\LwLibPROJECT.exe",
|
||||
"miDebuggerPath": "c:\\msys64\\mingw64\\bin\\gdb.exe",
|
||||
"args": [],
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${fileDirname}",
|
||||
"environment": [],
|
||||
"console": "integratedTerminal"
|
||||
"environment": []
|
||||
}
|
||||
]
|
||||
}
|
10
.vscode/settings.json
vendored
Normal file
10
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"lwevt_types.h": "c",
|
||||
"lwevt_type.h": "c",
|
||||
"lwevt.h": "c",
|
||||
"string.h": "c",
|
||||
"lwevt_opt.h": "c"
|
||||
},
|
||||
"esbonio.sphinx.confDir": ""
|
||||
}
|
8
.vscode/tasks.json
vendored
8
.vscode/tasks.json
vendored
@ -5,7 +5,7 @@
|
||||
"type": "cppbuild",
|
||||
"label": "Build project",
|
||||
"command": "cmake",
|
||||
"args": ["--build", "\"build\"", "-j", "8"],
|
||||
"args": ["--build", "${command:cmake.buildDirectory}", "-j", "8"],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
@ -19,7 +19,7 @@
|
||||
"type": "shell",
|
||||
"label": "Re-build project",
|
||||
"command": "cmake",
|
||||
"args": ["--build", "\"build\"", "--clean-first", "-v", "-j", "8"],
|
||||
"args": ["--build", "${command:cmake.buildDirectory}", "--clean-first", "-v", "-j", "8"],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
@ -29,7 +29,7 @@
|
||||
"type": "shell",
|
||||
"label": "Clean project",
|
||||
"command": "cmake",
|
||||
"args": ["--build", "\"build\"", "--target", "clean"],
|
||||
"args": ["--build", "${command:cmake.buildDirectory}", "--target", "clean"],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
},
|
||||
@ -38,7 +38,7 @@
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "Run application",
|
||||
"command": "${workspaceFolder}\\build\\LwLibPROJECT.exe",
|
||||
"command": "${command:cmake.buildDirectory}\\LwLibPROJECT.exe",
|
||||
"args": [],
|
||||
"problemMatcher": [],
|
||||
},
|
||||
|
7
cmake/i686-w64-mingw32-gcc.cmake
Normal file
7
cmake/i686-w64-mingw32-gcc.cmake
Normal file
@ -0,0 +1,7 @@
|
||||
set(CMAKE_SYSTEM_NAME Windows)
|
||||
|
||||
# Some default GCC settings
|
||||
set(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
|
||||
set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
|
||||
|
||||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
|
7
cmake/x86_64-w64-mingw32-gcc.cmake
Normal file
7
cmake/x86_64-w64-mingw32-gcc.cmake
Normal file
@ -0,0 +1,7 @@
|
||||
set(CMAKE_SYSTEM_NAME Windows)
|
||||
|
||||
# Some default GCC settings
|
||||
set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
|
||||
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
|
||||
|
||||
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
|
Loading…
x
Reference in New Issue
Block a user