diff options
author | Ladislav Zezula <zezula@volny.cz> | 2023-06-27 09:58:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 09:58:01 +0200 |
commit | 1c80f7e9376bdda6012e6323846cdb568ce0bcf8 (patch) | |
tree | 053668e8e731d6f033ee8460981a4ef6fd571861 | |
parent | 9b4ed3ddbee345d2b43513b97b9afacd6662c6ca (diff) | |
parent | bf5d6d10c136fefd73d3e02304111b26dc6b19b8 (diff) |
Merge pull request #298 from ladislav-zezula/LZ_VscodeDevelopment
Lz vscode development
-rw-r--r-- | .vscode/c_cpp_properties.json | 26 | ||||
-rw-r--r-- | .vscode/launch.json | 34 | ||||
-rw-r--r-- | .vscode/settings.json | 7 | ||||
-rw-r--r-- | .vscode/tasks.json | 28 | ||||
-rw-r--r-- | StormLib.kdev4 | 3 |
5 files changed, 95 insertions, 3 deletions
diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..604fa76 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,26 @@ +{ + "configurations": [ + { + "name": "Linux", + "compilerPathInCppPropertiesJson": "/usr/bin/clang", + "includePath": [ + "/home/ladik/AppDir/StormLib/**" + ], + "defines": [], + "compileCommands": "${workspaceFolder}/build/compile_commands.json", + "cStandard": "c17", + "cppStandard": "c++14", + "intelliSenseMode": "linux-clang-x64", + "mergeConfigurations": false, + "compilerPath": "/usr/bin/clang", + "browse": { + "path": [ + "${workspaceFolder}" + ], + "limitSymbolsToIncludedHeaders": true + }, + "configurationProvider": "ms-vscode.cmake-tools" + } + ], + "version": 4 +}
\ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..9da39f0 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,34 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "program": "./build/StormLib_test", + "configurations": [ + { + "name": "(gdb) Launch", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/build/StormLib_test", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + }, + { + "description": "Set Disassembly Flavor to Intel", + "text": "-gdb-set disassembly-flavor intel", + "ignoreFailures": true + } + ] + } + + ] +}
\ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..58b5100 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "cmake.configureArgs": [ + "-DCMAKE_BUILD_TYPE=Debug", + "-DSTORM_BUILD_TESTS=on", + ] + } +
\ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..4217112 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,28 @@ +{ + "tasks": [ + { + "type": "cppbuild", + "label": "C/C++: cpp build active file", + "command": "/usr/bin/cpp", + "args": [ + "-fdiagnostics-color=always", + "-g", + "${file}", + "-o", + "${fileDirname}/${fileBasenameNoExtension}" + ], + "options": { + "cwd": "${fileDirname}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "detail": "Task generated by Debugger." + } + ], + "version": "2.0.0" +}
\ No newline at end of file diff --git a/StormLib.kdev4 b/StormLib.kdev4 deleted file mode 100644 index c9a6ab5..0000000 --- a/StormLib.kdev4 +++ /dev/null @@ -1,3 +0,0 @@ -[Project] -Manager=KDevCMakeManager -Name=StormLib |