[CMake] linking .h and .cpp

Alex H aditya15417 at hotmail.com
Sat Oct 17 21:03:39 EDT 2009


Say I have an interface of test.h which is located on another folder and the implementation of it test.cpp on a different folder.
I have another .cpp which calls main and I've use include "test.h", however how does the test.h file know where the test.cpp is??
As when I type make it doesn't complain because of cannot finding the test.h, however it complains that it can't find the implementation...
How can I do this then?



 		 	   		  
_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-id:SI_SB_1:092010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091018/3b7dafa0/attachment.htm>


More information about the CMake mailing list