Re: [CMake] $ in the add_custom_command()

2012-02-15 Thread Kozlovskiy, Alexey
@cmake.org Subject: Re: [CMake] $ in the add_custom_command() On 02/14/2012 04:36 PM, aaron.mead...@thomsonreuters.com wrote: > *Looks like '+' is not a valid character for the target name. * > > * * > > *Specifically, cmGeneratorExpression.cxx does not have it as part of

Re: [CMake] $ in the add_custom_command()

2012-02-14 Thread Michael Wild
gt; > *From:*cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] *On > Behalf Of *Kozlovskiy, Alexey > *Sent:* Tuesday, February 14, 2012 5:38 AM > *To:* cmake@cmake.org > *Subject:* [CMake] $ in the add_custom_command() > > > > Hi, > > >

Re: [CMake] $ in the add_custom_command()

2012-02-14 Thread aaron . meadows
ing else instead of a + in your target name. Aaron Meadows From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Kozlovskiy, Alexey Sent: Tuesday, February 14, 2012 5:38 AM To: cmake@cmake.org Subject: [CMake] $ in the add_custom_command() Hi, If the project

[CMake] $ in the add_custom_command()

2012-02-14 Thread Kozlovskiy, Alexey
Hi, If the project name has a symbols "-" or "+" the $ in the add_custom_command() return Error: "Error evaluating generator expression" For example: SET ( PROJECT_NAME "00010-Liquid+Gas_as_capture " ) set ( SRCS_MAIN_CPT main.c ) add_executable ( ${ PROJECT_NAME } ${SRCS_MAIN_CPT} ) add_c