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

seemingly working parse of compile_commands.json #119

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

cheshirekow
Copy link

Not really a pull request. I decided to take a stab at #59 because I would also like to try cldoc with an existing cmake-managed project (many different compile flags for different parts of the build).

Dealing with the compile_commands.json file appears to work as intended, but I get no output from cldoc (empty index.html). If you wouldn't mind taking a look at the diff and let me know if you see anything funky.

@cheshirekow
Copy link
Author

FYI: I'm on an ubuntu 14.04 system with clang 3.6. I tried to run this patch with

:~$ LD_LIBRARY_PATH=$(llvm-config-3.6 --libdir) PYTHONPATH=${HOME}/Codes/cldoc \
    python -m cldoc.__init__ generate -- \
   --compile_commands /path/to/my/cmake/project/build/compile_commands.json \
   --output /tmp/cldoc

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

Successfully merging this pull request may close these issues.

1 participant