[CMake] linking main.cpp to class in the same folder.

Hendrik Sattler post at hendrik-sattler.de
Thu Jun 11 18:14:06 EDT 2009


Am Donnerstag 11 Juni 2009 14:24:30 schrieb eial at cs.bgu.ac.il:
> On Thu 11 Jun 15:15 2009 Mike Jackson wrote:
> > ADD_EXECUTABLE(prog main.cpp class.cpp)
>
> actually, I've tried that but the program crashes instantly...

Then something is wrong in your code. Which platform are you on? Can you 
provide a small, complete example that fails for you?

HS



More information about the CMake mailing list