[CMake] Target name not (any longer) supported

Benjamin Kloster benjamin.kloster at videlco.eu
Wed Mar 6 07:48:45 EST 2013


Same here with a target named "gdcp++". Seems to be a problem with the 
plus sign.

On 03/06/2013 10:55 AM, Martin Koller wrote:
> Testing the current cmake snapshot (on win8, VS 2010) shows error messages
> which I did not have with the latest released cmake version:
>
> CMake Error:
>    Error evaluating generator expression:
>
>      $<TARGET_PROPERTY:agent++,INTERFACE_COMPILE_DEFINITIONS>
>
>    Target name not supported.
>
>
> The target is defined as
> add_library(agent++ STATIC ${SOURCES})
>
> Is this an intentional change for the next cmake version or is it a bug I
> should report in mantis ?
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130306/ee54e1a1/attachment.htm>


More information about the CMake mailing list