yzr95924 / project_template

my project template with CMake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project-template

my project template with CMake

for kernel module, use the following c_cpp_properties.json

{
    "configurations": [
        {
            "name": "Linux",
            "includePath": [
                "/usr/src/linux-headers-5.15.90.1-microsoft-standard-WSL2/arch/x86/include/generated",
                "/usr/src/linux-headers-5.15.90.1-microsoft-standard-WSL2/arch/x86/include",
                "/usr/src/linux-headers-5.15.90.1-microsoft-standard-WSL2/include",
                "${workspaceFolder}/**"
            ],
            "defines": [
                "__GNUC__",
                "__KERNEL__=1",
                "MODULE=1"
            ],
            "compilerPath": "/usr/bin/clang",
            "intelliSenseMode": "linux-clang-x64",
            "compileCommands": "${workspaceFolder}/build/compile_commands.json",
            "cStandard": "c17",
            "cppStandard": "c++17"
        }
    ],
    "version": 4
}

About

my project template with CMake


Languages

Language:CMake 92.5%Language:Shell 3.4%Language:C 2.7%Language:C++ 1.3%