mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
2dd61aba49
Executing the "make db" will run the build process of the selected tool or library through the bear wrapper (which has to be available in the system), which will record the compilation parameters of each source file. This database can be then used by VS Code to set the proper defines and find all the required includes. Note that database building is performed in context of the specific tool or library. Not all tools have the same set of flags.
17 lines
236 B
Makefile
17 lines
236 B
Makefile
all: release
|
|
|
|
debug:
|
|
@+make -f debug.mk all
|
|
|
|
release:
|
|
@+make -f release.mk all
|
|
|
|
clean:
|
|
@+make -f build.mk clean
|
|
|
|
db: clean
|
|
@bear -- $(MAKE) -f debug.mk all
|
|
@mv -f compile_commands.json ../../../
|
|
|
|
.PHONY: all clean debug release db
|