mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 05:53:34 +00:00
14 lines
342 B
Bash
Executable File
14 lines
342 B
Bash
Executable File
# Error if any command fails
|
|
set -e
|
|
|
|
# Create the build directory, preserving it if it already exists
|
|
mkdir -p build
|
|
cd build
|
|
|
|
# Run cmake to generate make files
|
|
cmake ..
|
|
|
|
# To build utilizing multiple cores, append `-j` and the amount of cores to utilize, for example `cmake --build . --config Release -j8'
|
|
cmake --build . --config Release
|
|
|