Skip to content
Snippets Groups Projects
  • Andreas Traczyk's avatar
    6105f4f7
    misc: improve vscode integration · 6105f4f7
    Andreas Traczyk authored and Adrien Béraud's avatar Adrien Béraud committed
    - adds a task to toggle testing configuration
    - removes the test run launch configuration (now a task)
    - adds macOS support and fixes gtest CMake integration
    - removes the IPC launch configuration as it doesn't work correctly without delaying the client
    
    Change-Id: I89e1f3abd0e050e0bcf205f1331596c660dd0d34
    6105f4f7
    History
    misc: improve vscode integration
    Andreas Traczyk authored and Adrien Béraud's avatar Adrien Béraud committed
    - adds a task to toggle testing configuration
    - removes the test run launch configuration (now a task)
    - adds macOS support and fixes gtest CMake integration
    - removes the IPC launch configuration as it doesn't work correctly without delaying the client
    
    Change-Id: I89e1f3abd0e050e0bcf205f1331596c660dd0d34
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
launch.json 1.57 KiB
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Jami-Client-Debug",
            "type": "cppdbg",
            "request": "launch",
            "program": "",
            "linux":{
                "MIMode": "gdb",
                "program": "${workspaceFolder}/build/jami",
                "args": [
                    "-d",
                ],
            },
            "osx": {
                "MIMode": "lldb",
                "program": "${workspaceFolder}/build/Jami.app/Contents/MacOS/Jami",
                "environment": [
                    {
                        "name": "NO_COLOR",
                        "value": "true",
                    }
                ],
            },
            "cwd": "${workspaceFolder}",
            "preLaunchTask": "cmake-build",
            "externalConsole": false, // A macOS dev may want to set this to true.
        },
        {
            // Using this configuration will require manually reconfiguring the project using
            // build.py --no-libwrap, otherwise the daemon executable will not be built and the
            // client will not be built with ENABLE_LIBWRAP=False.
            "name": "Jami-Daemon-Debug",
            "type": "cppdbg",
            "request": "launch",
            "linux": {
                "MIMode": "gdb",
                "program": "${workspaceFolder}/daemon/bin/dbus/jamid",
            },
            "program": "",
            "args": [
                "-cdp",
            ],
            "cwd": "${workspaceFolder}",
            "preLaunchTask": "cmake-build",
        }
    ]
}