mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
Force CMake to generate UNIX makefiles on all platforms
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user