mirror of https://github.com/djcb/mu.git
build: symlink to compile_commands.json to topdir
This allows eg. rmsbolt to work OOB
This commit is contained in:
parent
29e6c21ed8
commit
3e0c7ecdd9
1
Makefile
1
Makefile
|
@ -44,6 +44,7 @@ endif
|
||||||
# make clean all MESON_FLAGS="-Db_sanitize=thread" CXX=clang++ CC=clang
|
# make clean all MESON_FLAGS="-Db_sanitize=thread" CXX=clang++ CC=clang
|
||||||
all: $(BUILDDIR)
|
all: $(BUILDDIR)
|
||||||
@$(NINJA) -C $(BUILDDIR) $(VERBOSE)
|
@$(NINJA) -C $(BUILDDIR) $(VERBOSE)
|
||||||
|
@ln -sf $(BUILDDIR)/compile_commands.json $(CURDIR) || /bin/true
|
||||||
|
|
||||||
$(BUILDDIR):
|
$(BUILDDIR):
|
||||||
@$(MESON) $(MESON_FLAGS) $(BUILDDIR)
|
@$(MESON) $(MESON_FLAGS) $(BUILDDIR)
|
||||||
|
|
Loading…
Reference in New Issue