[CMake] same sub-folders names in diff directories of same project

Anup Kini akini at synapticon.com
Tue Feb 4 08:40:02 EST 2014


Dear All,

I am trying to update an cmake based project with additional features.

Current Structure
FOO_Main_Dir
--- filters
--- surface

After adding my features
FOO_Main_Dir
--- filters
--- surface
--- CMakeLists.txt
--- my_feature
    --- filters --- CMakeLists.txt
    --- surface --- CMakeLists.txt
    --- CMakeLists.txt


I have added two more folders inside "my_feature" folder, with sames name
as those in "FOO_Main_Dir".
- I have CMakeLists in each of the sub folder defining the SUBSYS and
SUBSUBSYS names.

When i try to build, i get the following include path for the headers in
"my_feature"
FOO/my_feature/*my_feature*_filter/FOO.H

Can i change this to FOO/my_feature/filter/FOO.H ?
I do not want my_feature being appended to the filter.

Let me know if i should provide more details.

--
Thanks & Regards,

Anup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140204/7b3b503c/attachment.html>


More information about the CMake mailing list