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

Jan Woetzel jw at mip.informatik.uni-kiel.de
Thu Mar 13 08:47:50 EST 2003


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





More information about the CMake mailing list