In CLion, how can I specify the include directories where the C++ compiler will look for header files? Also, how do I setup the libraries to link against, and their library directories?
Currently I'm doing those tasks modifying directly the file CMakeLists.txt
:
include_directories(/opt/netcdf/include)
link_directories(/opt/netcdf/lib)
link_libraries(netcdf)
But I wonder if it is possible to accomplish the same thing using the GUI.
Thanks