[CMake] Eclipse CDT link location
Miguel A. Figueroa-Villanueva
miguelf at ieee.org
Thu May 21 10:34:00 EDT 2009
On Tue, May 19, 2009 at 2:54 PM, Javier Sanz wrote:
[...]
>
> <linkedResources>
> <link>
> <name>MYPROJECT</name>
> <type>2</type>
>
> <location>/home/jsanz/repositories/cprojects_trunk/images/myproject/build</location>
> </link>
>
> The location is actually where the CMakeList.txt of this project is but the
> sources are in locations like:
>
> /home/jsanz/repositories/cprojects_trunk/modules/myproject/
> /home/jsanz/repositories/cprojects_trunk/modules/mymodule/
[...]
>
> PD: I am using Out-Of-Source Builds following the instructions from
> http://www.vtk.org/Wiki/Eclipse_CDT4_Generator
It seems that you are using an out-of-source build, but the 'build' is
a sub-directory of your source? If you read the "Accessing the Source
and Advanced Editing Features" section of the wiki page you
referenced, you'll notice that you should have the build as a sibling
of the source directory and not as its child.
Hope that helps.
--Miguel
More information about the CMake
mailing list