Separate source, CMakeLists.txt and build directories

已回答

Hi,

Here's what I want to achieve:

I want to have three directories: "build", "src" and "cmake". "cmake" has the CMakeLists.txt which should compile source files in src and build the target in "build". However, Clion expects CMakeLists.txt to be in "src". How can I set up my project with these three folders?

 

Thanks

0

请先登录再写评论。