PDA

View Full Version : project config



hyling
19th December 2006, 20:04
Hi

How do I configure my project to do something similar to how qt is setup to build... all the .c and .h is in the /src directory then the /include directory has a .h which just include the real .h in the src directory.

for example: qt/include/qtgui/qabstractbutton.h has one line in it:

#include "../../src/gui/widgets/qabstractbutton.h"

Thanks
Hua-Ying

e8johan
19th December 2006, 20:27
This is an example of such a project: http://mouse-gesture-recognizer.googlecode.com/svn/branches/clean-up/

hyling
19th December 2006, 20:31
This project doesn't seem to do the same thing, it using the REAL include file in the include directory unlike the qt source which simply has a file with the same name that #include the real file which is in the source directory.

Thanks though.
Hua-Ying