[CMake] need two compilation to achieve success

Bill Hoffman bill.hoffman at kitware.com
Wed Jun 3 15:34:47 EDT 2009


eial at cs.bgu.ac.il wrote:

>>
>> Where are the symbols defined that you are not finding?
>>
>> Also, please try make VERBOSE=1 to see the link line being used.  Also, 
>> you will want to use nm and grep to find out where the symbols should be 
>> found.
>>
>> -Bill
>>
> 

Still lost....

You don't need this:
add_dependencies (AgathaHud AgathaUtils AgathaEngine AgathaThreads)


Because you have this:
#need to link to some other libraries
TARGET_LINK_LIBRARIES(AgathaHud AgathaUtils AgathaEngine AgathaThreads)

Now, what goes wrong when you do the above?  If you have missing symbols 
what libraries are they defined in?


-Bill


More information about the CMake mailing list