mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
Makefile: run CMake with CMAKE_ARGS defined
This ensures to re-run CMake when using something like: > CMAKE_ARGS="-DSTRICT_TESTS=true -DDO_COVERAGE=1 make check-unit
This commit is contained in:
parent
a01669693e
commit
39cc36a979
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
@ -12,6 +12,11 @@ all: $(TARGETS) ;
|
|||
|
||||
$(TARGETS): cmake-build
|
||||
|
||||
# Run CMake always with CMAKE_ARGS defined.
|
||||
ifdef CMAKE_ARGS
|
||||
.PHONY: $(BUILDDIR)/Makefile
|
||||
endif
|
||||
|
||||
$(BUILDDIR)/Makefile:
|
||||
$(ECHO) "Creating build directory and running cmake in it. You can also run CMake directly, if you want."
|
||||
$(ECHO)
|
||||
|
|
Loading…
Reference in a new issue