CMakeList for component folder
Posted: Wed May 19, 2021 8:00 pm
Hei Guys,
for now I was working with a single Project. The Structure of the Project was following
project
-CMakeLists.txt
-main
--CMakeLists.txt
--main.cpp
--main.h
-components
--(lot of subfolders for cpp and h files for components)
What do I have to Change in the CMakeLists if I want to put the components folder in the same folder than the projects (I want to share the components between different projects)
I simply moved the components folder and changed the include paths in the cpp extension configuration but that did not do it.
Any suggestions?
regards
Manuel
for now I was working with a single Project. The Structure of the Project was following
project
-CMakeLists.txt
-main
--CMakeLists.txt
--main.cpp
--main.h
-components
--(lot of subfolders for cpp and h files for components)
What do I have to Change in the CMakeLists if I want to put the components folder in the same folder than the projects (I want to share the components between different projects)
I simply moved the components folder and changed the include paths in the cpp extension configuration but that did not do it.
Any suggestions?
regards
Manuel