![]() ![]() When a project has the complex structure and includes one or more subdirectories (project root and subdirectories), you can create subdirectory CMakeList.txt files. The source_dir specifies the directory in which the source CMakeLists.txt and code files are located. It shows that your CMake structure is not setup according to the rule of thumb quoted above.Īdd a subdirectory to the build. What you should avoid is having to reference source files out of other subdirectories with something like.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |