[CMake] Target properties LOCATION and DEBUG_POSTFIX
Anteru
Anteru at shelter13.net
Tue Mar 11 05:59:41 EDT 2008
Zschocke, Florian schrieb:
> Hi Anteru!
>
>> I had the same problem. Read here:
>> http://www.cmake.org/pipermail/cmake/2008-March/020255.html
>
> Thnaks for the link. But from that I gather that you can only use the
> target name as an actual command and not as a parameter to the command,
> e.g. when copying the target to someplace, isn't it?
Seems so, at least, if I change to command to use the target name it no
longer works. However, you should be able to use the INSTALL command to
copy, or change the target path -- otherwise, you can surely add
something like cp ${EXECUTABLE_OUTPUT_PATH}/targetName* yourTarget?
Cheers,
Anteru
More information about the CMake
mailing list