mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 04:06:33 +08:00
cmake generate MSYS Makefiles on windows
This commit is contained in:
@@ -74,7 +74,13 @@ ifdef NINJA_BUILD
|
|||||||
PX4_MAKE = ninja
|
PX4_MAKE = ninja
|
||||||
PX4_MAKE_ARGS =
|
PX4_MAKE_ARGS =
|
||||||
else
|
else
|
||||||
PX4_CMAKE_GENERATOR ?= "Unix Makefiles"
|
|
||||||
|
ifdef SYSTEMROOT
|
||||||
|
# Windows
|
||||||
|
PX4_CMAKE_GENERATOR ?= "MSYS Makefiles"
|
||||||
|
else
|
||||||
|
PX4_CMAKE_GENERATOR ?= "Unix Makefiles"
|
||||||
|
endif
|
||||||
PX4_MAKE = make
|
PX4_MAKE = make
|
||||||
PX4_MAKE_ARGS = -j$(j) --no-print-directory
|
PX4_MAKE_ARGS = -j$(j) --no-print-directory
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user