DarkflameServer/build.sh
Demetri Van Sickle 54021458bd
Change build command in build script (#729)
The script now uses the cmake build as to be compatible with all platforms as opposed to just platforms that supported gnu make.
2022-08-16 01:49:44 -07:00

13 lines
340 B
Bash
Executable File

# 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
# Run migrations
./MasterServer -m