[CMake] Eclipse: sources out of CMakeLists directory

Andrea Galeazzi galeazzi at korg.it
Tue Nov 26 09:23:18 EST 2013


Yes, of course I can.
It's possibile to add both linked folder and linked file by hand (in 
general they're named "linked resources"). Also CMake creates linked 
folder in order to make the subprojects appear in the project explorer. 
In this way the behavior of the Eclipse generator would be closer to the 
VS's one.

Il 26/11/2013 14.58, Eric Noulard ha scritto:
> 2013/11/26 Andrea Galeazzi <galeazzi at korg.it>:
>> In many of my subprojects I've got some sources outside of CMakeLists
>> directory. This is an example:
>> C:\Product1\project1\CMakeLists.txt
>> C:\SharedFiles\dir1\foo.cpp
>> C:\SharedFiles\dir1\foo.h
> This looks like an Eclipse issue?
> Can you craft an Eclipse project by hand that make those file appear
> in project explorer?
>
>
>> Unfortunately Eclipse doesn't show them in the Project Explorer view. Should
>> it be possible to request a feature in order to be able to show these files
>> too?
>>
>> Cheers
>>
>> --
>>
>> 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://www.cmake.org/mailman/listinfo/cmake
>
>




More information about the CMake mailing list