From 2d168d4ddca8203502fa69999d8d29b72ab703fa Mon Sep 17 00:00:00 2001 From: electronstudio Date: Tue, 19 Oct 2021 17:12:59 +0100 Subject: [PATCH] add macos support --- projects/CodeBlocks/README.md | 37 +++++++++------- projects/CodeBlocks/core_basic_window.cbp | 51 ++++++++++++++++++++--- 2 files changed, 66 insertions(+), 22 deletions(-) diff --git a/projects/CodeBlocks/README.md b/projects/CodeBlocks/README.md index 92abfded2..c97923611 100644 --- a/projects/CodeBlocks/README.md +++ b/projects/CodeBlocks/README.md @@ -1,17 +1,22 @@ -# Raylib template for Code::Blocks - -1. Install Raylib. On Windows you must install the 'Windows Installer (with MinGW compiler)' package. On other -platforms you can install however you like. - -2. Windows only: In Code::Blocks, select `Settings` `Compiler` `Toolchain executables`. -Change `Compiler's instrallation directory` to `C:\raylib\MingGW`. Do *not* press auto-detect. There is a screenshot -below showing how it should look. Press `OK`. - -3. Select `File` `Open` and open the `core_basic_windows.cbp` file. - - - -![Compiler Settings](compiler_settings.png) -**by D3nX** - +# Raylib template for Code::Blocks + +1. Install Raylib. On Windows you must install the 'Windows Installer (with MinGW compiler)' package. On other +platforms you can install however you like following the instructions in the wiki. + * https://github.com/raysan5/raylib/releases/download/3.7.0/raylib_installer_v370.mingw.exe + * https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux + * https://github.com/raysan5/raylib/wiki/Working-on-macOS + +2. Install and run Code::Blocks. + +3. Windows only: Select `Settings` `Compiler` `Toolchain executables`. +Change `Compiler's instrallation directory` to `C:\raylib\MingGW`. Do *not* press auto-detect. There is a screenshot +below showing how it should look. Press `OK`. + +4. Select `File` `Open` and open the `core_basic_windows.cbp` file. + + + +![Compiler Settings](compiler_settings.png) +**screenshot by D3nX** + See also https://github.com/electronstudio/raylib-game-template-codeblocks \ No newline at end of file diff --git a/projects/CodeBlocks/core_basic_window.cbp b/projects/CodeBlocks/core_basic_window.cbp index ce53c60d9..ab9fe58a1 100644 --- a/projects/CodeBlocks/core_basic_window.cbp +++ b/projects/CodeBlocks/core_basic_window.cbp @@ -7,8 +7,47 @@