CMakeList for component folder

su-Koch
Posts: 11
Joined: Sat Jan 25, 2020 1:43 pm

CMakeList for component folder

Postby su-Koch » 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

Who is online

Users browsing this forum: No registered users and 353 guests