jrharshath
15th September 2009, 18:12
Hi,
I'm working on a qt project called xdc. Its source tree looks like this:
/
xdc.pro
xdc/
include/
...
src/
...
test/
include/
...
src/
...
Now, I want to write a project file so that after generating the Makefile, I should be able to compile the test cases simply with a "make test" command.
What should I write in xdc.pro to make it possible?
More generally, how are unit tests organized in a qt project? Is there a specific way to do it?
Thanks
I'm working on a qt project called xdc. Its source tree looks like this:
/
xdc.pro
xdc/
include/
...
src/
...
test/
include/
...
src/
...
Now, I want to write a project file so that after generating the Makefile, I should be able to compile the test cases simply with a "make test" command.
What should I write in xdc.pro to make it possible?
More generally, how are unit tests organized in a qt project? Is there a specific way to do it?
Thanks