[CMake] error 255 on second make (figured out)

Marius S Giurgi rendezvous at dreamxplosion.com
Wed Feb 23 16:58:45 EST 2005


I came across a post on kitware dealing with this issue and the 
suggestion was to actually add the extension (.cxx) to the source 
files,

thus, instead of

SET(TEST_SRCS test1 test2)

I used:

SET(TEST_SRCS test1.cxx test2.cxx)

Although it works fine now, I wonder why does the extension have to be 
specified. Isn't CMAKE smart enough to look for the appropriate 
extension?

marius



More information about the CMake mailing list