Tag: Build

  • 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…