Force CMake to generate UNIX makefiles on all platforms

This commit is contained in:
Lorenz Meier 2015-10-06 17:03:41 +02:00
parent c414c7ef63
commit 90f2e8d61a
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ j ?= 4
# --------------------------------------------------------------------
# describe how to build a cmake config
define cmake-build
+mkdir -p $(PWD)/build_$@ && cd $(PWD)/build_$@ && cmake .. -DCONFIG=$(1)
+mkdir -p $(PWD)/build_$@ && cd $(PWD)/build_$@ && cmake .. -G"Unix Makefiles" -DCONFIG=$(1)
+make -j$(j) -C $(PWD)/build_$@ --no-print-directory $(ARGS)
endef