Skip to content

include custom header files not work #50

@yantaozhao

Description

@yantaozhao

I follow the issue #5 :

my own project header files are in /home/z/workspace/all/include and /home/z/workspace/helloworld/include,
and the .c source code files are in /home/z/workspace/helloworld/src

I create a test.sublime-project file in the same folder of cc.sublime-settings(under /home/z/.config/sublime-text-3/Packages/Clang-Complete), and write:

// test.sublime-project file
{
    "folders":
    [
        {
            "path": "."
        }
    ],

    "settings":
    {
        "cc_include_options":
        [
            // "-I/Users/zixunlv/codes/A2/src/"
            "-I/home/z/workspace/all/include",
            "-I/usr/include",
            "-I/usr/local/include",
            "-I/usr/include/x86_64-linux-gnu",
            "-I/usr/lib/gcc/x86_64-linux-gnu/4.8/include",
            "-I/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed",
            "-Wall"
        ]
    }
}

however, it does not work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions