How to include aio library to clion on linux

已回答
0

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

请先登录再写评论。