Commit 22c0f5f
Automatically symlink compile_commands.json (facebook#9667)
Summary:
compile_commands.json allows IDEs to provide go-to definition etc. support, but it gets generated in CMAKE_BINARY_DIR, which may be out of tree when doing an out-of-source build. So, symlink it automatically to allow IDEs to pick it up.
Pull Request resolved: facebook#9667
Reviewed By: Wilfred
Differential Revision: D86967061
fbshipit-source-id: 9e6501d93ef3623b600a080180566019da11a5b91 parent 9aeb4e3 commit 22c0f5f
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
| |||
0 commit comments