Tag: CMake

  • C++ Game on STM32F4

    Recently I spoke about cross platform C++ development and provided an example project to help folks get started. At the other end of the scale, I introduce a C++ game for STM32F4 target. Specifically, I demonstrate how to write a simple game for the STM32F429I-DISC1 board. Most of the same principles apply when targeting embedded…

  • Cross Platform C++ Game Development using SFML

    I often hear new developers discussing the challenges of cross platform development. There are a few obstacles that must be overcome. Some of the main ones are: Game Logic Presentation (UI) Multiple Target (OS) support (Both run-time and build-time) Build strategies. So, I created a project on BitBucket to illustrate how one can approach the…

  • CMake and GNU Multiple Precision Arithmetic Library on ARM Cortex M4

    For some recent prototyping work, I needed access to an arbitrary precision arithmetic library that would run on ARM. Specifically, I was using an STM32F4 Discovery Board (STM32F429I-DISC1) and wanted to try out the GNU MP Bignum Library on ARM Cortex M4. The following steps and simple project I put together shows how to cross…

  • Cross platform builds, thy name is CMake

    When it comes to building cross platform C++ applications, I have had pretty good experience with CMake. Below shows the general steps  in building your CMake structured app, once you have CMakeLists.txt defined. mkdir build cd build cmake ../ make or nmake What may change are options passed to CMake  such as -DBOOST_ROOT=”/usr/include/boost” or -DCMAKE_BUILD_TYPE=Debug…