mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-30 08:57:00 +02:00
15 lines
436 B
Bash
15 lines
436 B
Bash
# Clean previous build
|
|
rm -rf build
|
|
rm -rf bin
|
|
rm -rf osx/osx-vcmibuilder/build
|
|
rm -rf osx/vcmibuilder.app
|
|
|
|
# Build vcmibuilder
|
|
xcodebuild -project osx/osx-vcmibuilder/vcmibuilder.xcodeproj/ -configuration Release
|
|
mv osx/osx-vcmibuilder/build/Release/vcmibuilder.app osx/vcmibuilder.app
|
|
|
|
# Build vcmi
|
|
mkdir build
|
|
cd build
|
|
cmake -G Xcode .. -DENABLE_LAUNCHER=OFF
|
|
xcodebuild -project vcmi.xcodeproj/ -configuration Release -target package |