From b6249e9ca44f800f5eeb64a3c6530a6d5df36c9d Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 17 Apr 2023 19:35:06 +0200 Subject: [PATCH] Update README --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b4b0fc7..2df585c 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ GLdc uses CMake for its build system, it currently ships with two "backends": - kospvr - This is the hardware-accelerated Dreamcast backend - software - This is a stub software rasterizer used for testing testing and debugging -To compile for Dreamcast, you'll want to do something like the following: +To compile a Dreamcast debug build, you'll want to do something like the following: ``` mkdir dcbuild @@ -41,6 +41,11 @@ cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/Dreamcast.cmake -G "Unix Makefiles" . make ``` +For a release build, replace the cmake line with with the following: +``` +cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/Dreamcast.cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. +``` + You will need KallistiOS compiled and configured (e.g. the KOS_BASE environment variable must be set)