diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..9e7a00e --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,18 @@ +{ + "configurations": [ + { + "name": "Native", + "includePath": [ + "${workspaceFolder}/**", + "${workspaceFolder}/common", + "${workspaceFolder}/decoder", + "${workspaceFolder}/encoder" + ], + "defines": [], + "cStandard": "c17", + "cppStandard": "c++17", + "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..14da830 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,81 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Run avcenc - Linux", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/build/avcenc", + "args": ["../examples/avcenc/enc.cfg"], + "stopAtEntry": false, + "cwd": "${workspaceFolder}/build", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + }, + { + "name": "Run avcenc - Mac", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/build/avcenc", + "args": ["../examples/avcenc/enc.cfg"], + "stopAtEntry": false, + "cwd": "${workspaceFolder}/build", + "environment": [], + "externalConsole": false, + "MIMode": "lldb", + "setupCommands": [ + { + "description": "Enable pretty-printing for lldb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + }, + { + "name": "Run avcdec - Linux", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/build/avcdec", + "args": ["../examples/avcdec/dec.cfg"], + "stopAtEntry": false, + "cwd": "${workspaceFolder}/build", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + }, + { + "name": "Run avcdec - Mac", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/build/avcdec", + "args": ["../examples/avcdec/dec.cfg"], + "stopAtEntry": false, + "cwd": "${workspaceFolder}/build", + "environment": [], + "externalConsole": false, + "MIMode": "lldb", + "setupCommands": [ + { + "description": "Enable pretty-printing for lldb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..3c4aeea --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,19 @@ +{ + "cmake.buildDirectory": "${workspaceFolder}/build", + "cmake.sourceDirectory": "${workspaceFolder}", + "cmake.configureArgs": [ + "-DENABLE_MVC=OFF", + "-DENABLE_SVC=OFF", + "-DENABLE_TESTS=OFF", + "-DCMAKE_C_COMPILER=clang", + "-DCMAKE_CXX_COMPILER=clang++" + ], + "cmake.preferredGenerators": [ + "Unix Makefiles" + ], + "cmake.debugConfig": { + "avcenc": "avcenc", + "avcdec": "avcdec" + }, + "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools" +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..646fbf8 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,29 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "cmake", + "label": "Configure", + "command": "configure", + "problemMatcher": [ + "$gcc" + ], + "group": "build" + }, + { + "type": "cmake", + "label": "Build", + "command": "build", + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "dependsOn": [ + "Configure" + ] + } + ] +} \ No newline at end of file