Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include custom header files not work #50

Open
yantaozhao opened this issue Mar 9, 2016 · 0 comments
Open

include custom header files not work #50

yantaozhao opened this issue Mar 9, 2016 · 0 comments

Comments

@yantaozhao
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant