I have a test.cpp file and the test file needs to be linked with another .h 
file... they are all in the same directory, however when I run the Makefile 
that is generated by CMake, it shows this error:
CMakeFiles/bcoin.dir/test.cpp.o: In function `main':test.cpp:(.text+0xd7): 
undefined reference to `Exp::Exp(double)'test.cpp:(.text+0x114): undefined 
reference to `Exp::execute()'
I think I need to add some more command to my CMakeLists.txt, how can I do 
this??
_________________________________________________________________
What can you do with the new Windows Live? Find out
http://www.microsoft.com/windows/windowslive/default.aspx
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to