Alexander Neundorf 0d48ea6984 ENH: patch from Miguel,
As it is today the generator creates linked resources to
LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH if they are not a
subdirectory of the binary dir, so that the IDE can detect the
Binaries (this was addressed previously as a result of a bug report).

Reduces code redundancy by encapsulating common behaviour for
LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH in AppendLinkedResource.

Addresses the two new variable names for these locations,
CMAKE_LIBRARY_OUTPUT_DIRECTORY and CMAKE_RUNTIME_OUTPUT_DIRECTORY respectively.

Finally, it is addressing a bug in the current code for relative paths
in these variables. If it is a relative path to the binary dir, the
IsSubdirectory call returns false and so it creates the linked
resource. The created linked resource produces an error in the Eclipse
IDE because the IDE expects it to be a full path. The patch now
addresses this by concatenating the binary dir if it is a relative
path.
2009-01-11 12:18:44 -05:00
..
2009-01-11 00:02:51 -05:00
2007-07-27 10:55:24 -04:00
2007-07-27 10:55:24 -04:00
2008-08-25 10:31:29 -04:00
2009-01-09 12:32:52 -05:00
2007-09-24 11:16:13 -04:00
2007-07-27 10:55:24 -04:00
2008-10-03 08:16:37 -04:00
2007-07-20 08:36:16 -04:00
2008-05-20 12:15:40 -04:00
2008-08-25 10:31:29 -04:00
2008-08-25 10:31:29 -04:00
2008-08-25 10:31:29 -04:00
2007-07-30 21:38:50 -04:00
2007-07-26 14:36:06 -04:00