Skip to content

Commit 739702b

Browse files
committed
Bazel/CMake: make compilation db link symbolic
1 parent 2b47375 commit 739702b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/bazel/cmake/setup.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ foreach (target ${BAZEL_GENERATE_CMAKE_TARGETS})
2121
endforeach ()
2222

2323
if (CMAKE_EXPORT_COMPILE_COMMANDS)
24-
file(CREATE_LINK ${PROJECT_BINARY_DIR}/compile_commands.json ${PROJECT_SOURCE_DIR}/compile_commands.json)
24+
file(CREATE_LINK ${PROJECT_BINARY_DIR}/compile_commands.json ${PROJECT_SOURCE_DIR}/compile_commands.json SYMBOLIC)
2525
endif ()

0 commit comments

Comments
 (0)