How to include aio library to clion on linux

Answered
0
1 comment

Hi!

CLion uses CMake as a project model, so setting up everything via CMake should do the trick. Here are some 3rd-party resources: how to create a shared library, how to use 3rd-party libraries.

In general, the recommended way to add libraries to CMake is the following:
1) Place a third-party FindAIO.cmake in a directory called cmake in your project root (it is required because CMake does not come with a bundled FindAIO module).
2) Perform actions similar to those described in our web-help for using Boost: https://www.jetbrains.com/help/clion/quick-cmake-tutorial.html#d97866e295.

Find*.cmake modules sometimes are shipped with libraries. Otherwise Find*.cmake should be created on your own or be found (in the Internet, for example).

0

Please sign in to leave a comment.