CMake and directory with header file
已回答
Hello. I have a certain project in which the files are organized as follow:
project/*cpp
project/Includes/*hpp
How do I set up CMake to connect all files
请先登录再写评论。
Hi! CLion is able to create a CMake project from the existing sources. To give it a try press File | Import Project… or select an Import option on the Welcome wizard. You can find out more information about this feature in the article of our web help. Please pay attention to the fact that while you can auto-import existing sources and include directories, any external or non-trivial dependencies wouldn't be resolved and used while indexing (you should set it manually).