Skip to content

Commit a97e226

Browse files
deepskyblue86poiana
authored andcommitted
chore(container/make): add CMAKE_EXPORT_COMPILE_COMMANDS
Generate the compile commands by default, to improve the development experience (e.g. with clangd) Signed-off-by: Angelo Puglisi <angelopuglisi86@gmail.com>
1 parent e36b06d commit a97e226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/container/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ clean:
4343
# This Makefile requires CMake installed on the system
4444
.PHONY: $(OUTPUT)
4545
$(OUTPUT):
46-
cmake -B build -S . && cmake --build build --target $(NAME) --parallel 6 --config Release && cp $(OUTPUT_FILE) $(OUTPUT)
46+
cmake -B build -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON && cmake --build build --target $(NAME) --parallel 6 --config Release && cp $(OUTPUT_FILE) $(OUTPUT)
4747

4848
.PHONY: test
4949
test: $(OUTPUT)

0 commit comments

Comments
 (0)