[CMake] Eclipse: sources out of CMakeLists directory

Eric Noulard eric.noulard at gmail.com
Tue Nov 26 10:31:37 EST 2013


2013/11/26 Andrea Galeazzi <galeazzi at korg.it>:
> 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.

Then I guess you can file a feature request on the CMake bug tracker.
http://public.kitware.com/Bug/main_page.php

May be giving an example of what you expect with a minimalistic
sample project would be nice.

Alex is maintaining the Eclipse generator, I think he will tell you
what he thinks about your request.



>
> 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
>>
>>
>>
>
>



-- 
Erk
L'élection n'est pas la démocratie -- http://www.le-message.org


More information about the CMake mailing list