[CMake] excutable named FALSExxx

William A. Hoffman billlist at nycap.rr.com
Wed Nov 23 11:26:22 EST 2005


OK, I found the problem.   I will check in a fix.  Because of the bug
cmake is looking up a variable called _CXX and using it for a prefix for
the executable name.  

I was able to reprocude the problem like this:
SET(_CXX FALSE)
ADD_EXECUTABLE(foo foo.cxx bar.c)
...

Linking CXX executable FALSEfoo

So, you should find out why you are setting _CXX to FALSE, and stop, my guess would
be one of the macros you are calling.  

-Bill


At 08:46 AM 11/23/2005, klaas.holwerda wrote:
>William A. Hoffman wrote:
>
>>Can you give a little more information?
>> 
>I had problem using wxWidgets ( saying that i maybe double linked the same library ).
>The strange thing is that on fedora4 all worked well, and on fedora2 i have the poblem only recently.
>So i first thought in updating my cmake.
>
>The project is wxArt2D, and there are a lot of Cmake files.
>But for the sample executables they all look like this down here:
>( and it is named eventually FALSEcanvas_simple for some reason,
>is it possible to do with the linking problem i have?
>I went into CMakeFiles/canvas_simple.dir and the file build.make make clear that executable
>will indeed be called wrong, but why is this happening??
>e.g. It says @echo "Linking CXX executable FALSEcanvas_simple"
>I think Cmake invented this name for some reason.
>)
>
>PROJECT(simple)
>
>COMPILE_RC( "${WXWINDOWS_RC}" wx.o )
>
>ADD_EXECUTABLE( canvas_simple ${WIN32GUI} simple.cpp simple.h ${WXWINDOWS_RC} )
>
>LINK_MODULE_LIBS( canvas_simple "canvas;general;artbase;docview" )
>
>
>>What does your CMakeList file look like?
>>
>>-Bill
>>
>>
>>At 05:22 PM 11/22/2005, klaas.holwerda wrote:
>> 
>>
>>>Hi,
>>>
>>>I updated to the lattest version ( had beta2.2 ), and now i get executable which are called FALSEmyname.
>>>I don't get where the FALSE addition comes from.
>>>Is this a new feature?
>>>   
>
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list