Makefile: Add a hint that cmake can be used directly
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
0707f52ebf
commit
9bf50beab0
2
Makefile
2
Makefile
|
@ -19,6 +19,8 @@ $(BUILDLN):
|
||||||
test -e $(BUILDLN) || ln -s -f ${builddir} $(BUILDLN)
|
test -e $(BUILDLN) || ln -s -f ${builddir} $(BUILDLN)
|
||||||
|
|
||||||
cmake ${builddir}/CMakeCache.txt:
|
cmake ${builddir}/CMakeCache.txt:
|
||||||
|
$(ECHO) "Creating build directory and running cmake in it. You can also run CMake directly, if you want."
|
||||||
|
$(ECHO)
|
||||||
mkdir -p ${builddir}
|
mkdir -p ${builddir}
|
||||||
$(ECHO) "Running cmake…"
|
$(ECHO) "Running cmake…"
|
||||||
cd ${builddir} && cmake $(CMAKE_ARGS) "$(@D)" ..
|
cd ${builddir} && cmake $(CMAKE_ARGS) "$(@D)" ..
|
||||||
|
|
Loading…
Reference in New Issue