PT
Developer Forums
Register
Login
[Archived] AppGameKit Classic Chat
->
T2- Questions about templates/multiple .cpp/.h
<
1
>
K
keitaroguy
Joined:
18th Nov 2011
Location:
Posted:
20th Nov 2011 6:18
So this may seem like a dumb questions but can I only use the template.h and template.cpp to make my projects or can I treat it like a normal c++ project with multiple headers and source files?
P
Paul Johnston
Joined:
16th Nov 2002
Location:
United Kingdom
Posted:
21st Nov 2011 3:32
You can add more, but you will need to edit the Android.mk file and add the .cpp files (but not the .h files) to the sources list. And make sure that the includes path points to the folder containing the .h files.
K
keitaroguy
Joined:
18th Nov 2011
Location:
Posted:
27th Nov 2011 21:56
do my #includes need to have path names? ei #include "jini/text.cpp"?
B
bjadams
Joined:
29th Mar 2008
Location:
Posted:
27th Nov 2011 22:58
if your #includes are already in the JNI dir just put in text.cpp