I’m just trying out the CLion exporter, on Mac.
When I load the project it does not show any header files, only .cpp
files.
I’m not sure why as they are listed in CMakeLists.txt
, however I’m only partly familiar with CMake.
IIRC, you have to manually set the project root in CLion to see all files. By default, CLion uses the folder that contains the CMakeLists.txt
file as the project root (see [FR] CLion Exporter Project Root Exporter Setting).
1 Like
You just need to change the project root in CLion to the actual Project root rather than the CLion Build space. This should help
https://www.jetbrains.com/help/clion/change-project-root-directory.html
1 Like