Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Charles Burton
Gaudi
Commits
547a12e7
Commit
547a12e7
authored
Nov 17, 2012
by
Marco Clemencic
Browse files
improvement to the generic CMake Makefile
parent
558c24e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile-cmake.mk
View file @
547a12e7
...
...
@@ -60,12 +60,12 @@ purge:
# delegate any target to the build directory (except 'purge')
ifneq
($(MAKECMDGOALS),purge)
%
:
$(BUILDDIR)/Makefile
%
:
$(BUILDDIR)/Makefile
FORCE
$(MAKE)
-C
build.
$(CMTCONFIG)
$*
endif
# aliases
.PHONY
:
configure tests
.PHONY
:
configure tests
FORCE
ifneq
($(wildcard $(BUILDDIR)/Makefile),)
configure
:
rebuild_cache
else
...
...
@@ -77,6 +77,10 @@ tests: all
-
$(MAKE)
-C
build.
$(CMTCONFIG)
test
$(MAKE)
-C
build.
$(CMTCONFIG)
QMTestSummary
# ensure that the target are always passed to the CMake Makefile
FORCE
:
@
# dummy target
# Special trick to allow a non-standard makefile name
# If the makefile is not called 'Makefile', we get its update delegated to
# cmake, unless we block the delegation.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment