Skip to Content

Clion Add External Library |best| -

add_executable(MyProject main.cpp)

: Use include_directories($PATH_TO_HEADERS) so CLion can find your #include statements. Importing the Library : clion add external library

cmake_minimum_required(VERSION 3.10) project(MyProject) add_executable(MyProject main