Правка пути к создаваемому Makefile
This commit is contained in:
parent
9952d86269
commit
6630d0c232
2
cmake.sh
2
cmake.sh
@ -130,7 +130,7 @@ generate_configuration() {
|
||||
cmake -B"${GEN_DIR}" -H"${SOURCE_DIR}" -G "${GENERATOR}" -DCMAKE_INSTALL_PREFIX="${OUTPUT_DIR}" -DCMAKE_BUILD_TYPE="${BUILD_TYPE}" ${CMAKE_ARGS}
|
||||
if [ "x$GENERATOR" == "xNinja" ]; then
|
||||
# Generate fake Makefile, so make can run ninja build
|
||||
cat > Makefile <<EOF
|
||||
cat > "${GEN_DIR}/Makefile" <<EOF
|
||||
.PHONY: build
|
||||
%:
|
||||
@ninja \$@
|
||||
|
Loading…
Reference in New Issue
Block a user