2015-09-15 19:05 GMT+02:00 Crast, Nicholas <[email protected]>:

> Hi all,
>
>
>
> I am attempting to use CMake to generate eclipse project files. Although I
> am able to build successfully, I am unable to browse or edit the source in
> eclipse.
>

You don't see any source as link ressource or you see them but cannot
browse/edit the sources?


> This is an out of tree build, where my build directory is at the same
> level as my source directory. I am using the following command to generate
> the eclipse files:
>
>
>
> cmake -G"Eclipse CDT4 - Unix Makefiles" -DBoost_NO_BOOST_CMAKE=ON
> -DBOOST_ROOT=/usr/local/lib -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE
> ../proc
>
>
>
> The source directory has many different modules, but the top level
> CMakeLists file is essentially a bunch of add_subdirectory commands adding
> each module. Is this incorrect?
>


Would you be able to reproduce the issue on a stripped down project (like
only two modules) ?

Which version of Eclipse CDT and CMake are you using?

On which system?


-- 
Eric
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

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

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to