mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-13 03:19:58 +03:00
docked build: build with ninja
This commit is contained in:
parent
ae6b6aa7c0
commit
55c1abea37
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ CURR_REV="$(git rev-parse HEAD)"
|
||||||
|
|
||||||
initialize_cmake() {
|
initialize_cmake() {
|
||||||
echo -e "*** CMake was not initialized yet, doing it now.\n"
|
echo -e "*** CMake was not initialized yet, doing it now.\n"
|
||||||
cmake ..
|
cmake -GNinja ..
|
||||||
echo "$CURR_REV" > "$LAST_CMAKE_AT_REV_FILE"
|
echo "$CURR_REV" > "$LAST_CMAKE_AT_REV_FILE"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,4 +26,4 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Let Make handle the arguments coming from the build script
|
# Let Make handle the arguments coming from the build script
|
||||||
make "$@"
|
ninja "$@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue