2022-12-24 00:12:17 +01:00
|
|
|
if (-Not (Test-Path $PWD/../.ccache/win_bison.exe)) {
|
|
|
|
|
git clone --depth 1 https://github.com/lexxmark/winflexbison
|
|
|
|
|
cd winflexbison
|
|
|
|
|
mkdir build
|
|
|
|
|
cd build
|
|
|
|
|
cmake .. --install-prefix $PWD/../../../.ccache
|
2023-02-04 00:47:54 +01:00
|
|
|
cmake --build . --config Release -j 3
|
2022-12-24 00:12:17 +01:00
|
|
|
cmake --install . --prefix $PWD/../../../.ccache
|
|
|
|
|
cd ../..
|
|
|
|
|
}
|
|
|
|
|
mkdir build
|
|
|
|
|
cd build
|
|
|
|
|
cmake .. --install-prefix $PWD/../install
|
2023-02-04 00:47:54 +01:00
|
|
|
cmake --build . --config Release -j 3
|
2022-12-24 00:12:17 +01:00
|
|
|
cmake --install . --prefix $PWD/../install
|