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

eial at cs.bgu.ac.il eial at cs.bgu.ac.il
Fri Jun 12 00:25:31 EDT 2009


On Fri 12 Jun 1:14 2009 Hendrik Sattler wrote:
> 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
> 

your right, there was something wrong with my code, after fixing in the problem went away.
thanks for the help




More information about the CMake mailing list