Set up CMAKE for Linux and Windows.
This commit is contained in:
26
How_To_Build.md
Normal file
26
How_To_Build.md
Normal file
@@ -0,0 +1,26 @@
|
||||
Use these commands in your base directory the first time.
|
||||
-----------------------------------------------------
|
||||
LINUX
|
||||
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug
|
||||
cmake --build build -j
|
||||
./build/FPS_DRUID
|
||||
|
||||
WINDOWS (MSVC)
|
||||
cmake -S . -B build -G "Visual Studio 17 2022" -A x64
|
||||
cmake --build build --config Debug
|
||||
build\Debug\FPS_DRUID.exe
|
||||
-----------------------------------------------------
|
||||
|
||||
To subsequently rebuild and run use
|
||||
-----------------------------------------------------
|
||||
cmake --build build -j
|
||||
./build/FPS_DRUID
|
||||
-----------------------------------------------------
|
||||
|
||||
If you want a clean rebuild
|
||||
-----------------------------------------------------
|
||||
rm -rf build
|
||||
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug
|
||||
cmake --build build -j
|
||||
./build/FPS_DRUID
|
||||
-----------------------------------------------------
|
||||
Reference in New Issue
Block a user