pikastech 11088f6b4b rm -api
generate only one -api file
2022-08-25 11:23:56 +08:00

28 lines
585 B
Bash

ROOT=$PWD
cp config/pika_config_default.h config/pika_config.h
# git submodule init
# git submodule update
git config --unset-all core.filemode
git config --add core.filemode false
chmod +x *.sh
sh update-compiler.sh
chmod +x package/pikascript/rust-msc-latest-linux
cd package/pikascript/pikascript-core
# git checkout master
cd $ROOT
rm build -rf
mkdir build
sh api-make.sh
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DPIKA_CONFIG_ENABLE=ON ..
cd $ROOT
rm Release -rf
mkdir Release
cd Release
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DPIKA_CONFIG_ENABLE=ON ..
cd $ROOT