mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-06-12 05:07:43 +02:00
make: Collect compile_commands.json in $(OBJ)/compile_commands/
All compile_commands.json from the build directories will be copied to the compile_commands subdirectory adjusting the paths of the source to point to the real (not the rsynced) one. NOTE: it still may point to the build dir for things like generated config.h
This commit is contained in:
@ -8,12 +8,14 @@
|
||||
#
|
||||
# outputs:
|
||||
# $($(2)_SRC): variable, absolute rsynced source folder
|
||||
# $($(2)_ORIGIN): variable, absolute origin source folder
|
||||
# $(1)-rebuild: target, call it to force package rebuild
|
||||
# $(1)-source: target, tracking package source changes
|
||||
# $(1)-clean: target, clean package and force rebuild
|
||||
#
|
||||
define create-rules-source
|
||||
$(2)_SRC = $$(OBJ)/src-$(1)
|
||||
$(2)_ORIGIN = $(3)
|
||||
|
||||
$(1)-rebuild:
|
||||
.PHONY: $(1)-rebuild
|
||||
|
Reference in New Issue
Block a user