Config Qmake Cmake for Boost UTF

qmake

Add the following to the '.pro' file:

macx{
  INCLUDEPATH += "/usr/local/Cellar/boost/1.76.0/include"
  LIBS += -L"/usr/local/Cellar/boost/1.76.0/lib"
}

Check that the filepaths are correct for your machine, and update them if not. In particular, ensure that the Boost version number matches the one that you have installed.

Remark: The 'macx' block indicates that the enclosed flags and parameters should only be applied if building in a Mac environment (see [2]). This is useful if you want to use the same '.pro' file on multiple operating systems.

cmake

Add the following to the 'CMakeLists.txt' file:

include_directories(/usr/local/Cellar/boost/1.71.0/include/)

Check that the filepath is correct for your machine, and update it if not. In particular, ensure that the Boost version number matches the one that you have installed.

Remark: This only configures the project for the single-header variant of the Boost UTF. If anyone knows how to configure the project to use the dynamically linked variant of the Boost UTF, please tell the Module Leader so that he can update these instructions.