Skip to content

Code::Blocks

hugh greene edited this page Jun 20, 2022 · 1 revision

Code::Blocks is the C++ IDE of choice for Josh and Robert as well as a few other developers. It offers a variety of features to make code authoring and navigation simpler. The repository contains Code::Blocks project files for both the engine and the compiler. Each contains #Build targets for various circumstances.

Build targets

Code::Blocks provides a system that allows users to specify different compile options and sets of sources to be compiled, placing each list under a different plain-English label. These labels are called build targets. For example, the ENIGMA compiler build targets include "Build", which compiles the DLL, and "StandAlone", which, of course, compiles a stand-alone executable that can be run from a console for debugging. The ENIGMA engine file, in contrast, contains a target for each platform on which it can be compiled.

Compiler issues

Code::Blocks, for some reason or another, offers an installer that will place MinGW in the Program Files folder on Windows. This is a rotten idea, as having a folder called "Program Files" was a rotten idea in the first place considering the pathetic state of the Windows shell. That said, MinGW Make has issues compiling ENIGMA from the Code::Blocks directory. It seems to be unable to make calls to its own toolchain executables due to the space in the URI.

Clone this wiki locally