diff options
author | ShadowNinja <shadowninja@minetest.net> | 2022-01-31 19:42:24 -0500 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2022-04-08 14:55:21 +0100 |
commit | 24a0f55c9c84b2625a564fd07d9da75eaac9c60d (patch) | |
tree | 36d704d98a7605ffae40e025ea3f88fd1cb058d5 /util/buildbot/buildwin64.sh | |
parent | f5e54cd39845aeeff50cdbebf625abf3c4a5b92d (diff) | |
download | minetest-24a0f55c9c84b2625a564fd07d9da75eaac9c60d.tar.gz minetest-24a0f55c9c84b2625a564fd07d9da75eaac9c60d.tar.bz2 minetest-24a0f55c9c84b2625a564fd07d9da75eaac9c60d.zip |
Use CMake's -B, --build, and --install options
Diffstat (limited to 'util/buildbot/buildwin64.sh')
-rwxr-xr-x | util/buildbot/buildwin64.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/util/buildbot/buildwin64.sh b/util/buildbot/buildwin64.sh index 7526cc200..30920cf53 100755 --- a/util/buildbot/buildwin64.sh +++ b/util/buildbot/buildwin64.sh @@ -113,14 +113,12 @@ git_hash=$(cd $sourcedir && git rev-parse --short HEAD) # Build the thing cd $builddir [ -d build ] && rm -rf build -mkdir build -cd build irr_dlls=$(echo $libdir/irrlicht/lib/*.dll | tr ' ' ';') vorbis_dlls=$(echo $libdir/libvorbis/bin/libvorbis{,file}-*.dll | tr ' ' ';') gettext_dlls=$(echo $libdir/gettext/bin/lib{intl,iconv}-*.dll | tr ' ' ';') -cmake -S $sourcedir -B . \ +cmake -S $sourcedir -B build \ -DCMAKE_TOOLCHAIN_FILE=$toolchain_file \ -DCMAKE_INSTALL_PREFIX=/tmp \ -DVERSION_EXTRA=$git_hash \ @@ -181,9 +179,9 @@ cmake -S $sourcedir -B . \ -DLEVELDB_LIBRARY=$libdir/leveldb/lib/libleveldb.dll.a \ -DLEVELDB_DLL=$libdir/leveldb/bin/libleveldb.dll -make -j$(nproc) +cmake --build build -j$(nproc) -[ -z "$NO_PACKAGE" ] && make package +[ -z "$NO_PACKAGE" ] && cmake --build build --target package exit 0 # EOF |