If you use this as a standalone, you'll need ETL. You can add it with conan, or as a submodule, etc.
If you're using CLion, you need to add in CMake options (File -> Settings -> Build, Execution, Deployment -> CMake ->
CMake Options) this -DCMAKE_TOOLCHAIN_FILE=cmake-build-debug/build/Release/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
.
If you just cmake from cli, just add the same flags in your command.
To build, you need to follow these steps:
- First run
conan profile detect --force
: Generates default profile detecting GCC. However, for this project, you need to set up the correct architecture. Find whereconan
sets up profiles (probably~/.conan2/profiles
), runcp default arm
in that folder, and edit thearm
file. You need to change thearch
entry toarch=armv7
. - Then run
conan install . --output-folder=cmake-build-debug --build=missing -pr arm
. If you're using CLion and don't seecmake-build-debug
, you have toReload CMake project
to have it generated. After you've runconan install...
you canReload CMake project
and build as per usual. - Make sure you followed the steps under the
Build
section