Add everything.
Some checks failed
Build C++ Project with Fedora Container and Create Release / build (push) Has been cancelled
Some checks failed
Build C++ Project with Fedora Container and Create Release / build (push) Has been cancelled
This commit is contained in:
23
build.sh
Executable file
23
build.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -d "build" ]; then
|
||||
echo ================================
|
||||
echo Modularity - VS 2026 Build
|
||||
echo ================================
|
||||
git submodule update --init --recursive
|
||||
echo "found existing!! Removing..."
|
||||
rm -rf build/
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
cmake --build . -- -j$(nproc)
|
||||
cp -r ../Resources .
|
||||
echo "Build Done!"
|
||||
else
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
cmake --build . -- -j$(nproc)
|
||||
cp -r ../Resources .
|
||||
echo "Build Done!"
|
||||
fi
|
||||
Reference in New Issue
Block a user