CMake truncating include path ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

CMake truncating include path ?

Nicholas Yue

  I am using CMake 3.8.2 on OS X with

        -G "Eclipse CDT4 - Unix Makefiles"

  I have the following in my CMakeLists.txt


I see the following printed out

        HDK_INCLUDE_DIR = /Applications/Houdini/Houdini16.0.627/Frameworks/Houdini.framework/Versions/Current/Resources/toolkit/include

However, the generated .cproject has the following line

        <pathentry include="/Applications/Houdini/Houdini16.0.627/Frameworks" kind="inc" path="" system="true"/>

resulting in those header files are not being indexed

How do I instruct CMake not to truncate the path I provide when it is generating the Eclipse .cproject file ?

The generated Makefiles and associated *.make are fine as I can build and deploy successfully.



Powered by

Please keep messages on-topic and check the CMake FAQ at:

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support:
CMake Consulting:
CMake Training Courses:

Visit other Kitware open-source projects at

Follow this link to subscribe/unsubscribe: