[Cmake] cmake error: identic name for binary and source cmake run after building

Jan Woetzel jw at mip . informatik . uni-kiel . de
Thu, 13 Mar 2003 14:47:50 +0100


Andy Cedilnik wrote:

>Have you tried ADD_EXECUTABLE(demo demo.cxx demo_b.cxx).
>
Hi Andy,
it works only without automatic extension finding.
Thanks a lot for your hint!

Jan.

>#ADD_EXECUTABLE(helloDemo demo demo_b) 
>
# works but not the desired binary name...


>>ADD_EXECUTABLE(demo demo demo_b)
>>
# doesn't work...

ADD_EXECUTABLE(demo demo.cxx demo_b)
# solution: this works  (extension manually set to .cxx)


Thanks,
Jan.

-- 
Jan Woetzel
Email jw at mip . informatik . uni-kiel . de