Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / T2- Questions about templates/multiple .cpp/.h

Author
Message
keitaroguy
13
Years of Service
User Offline
Joined: 18th Nov 2011
Location:
Posted: 20th Nov 2011 06: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?
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 21st Nov 2011 03: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.
keitaroguy
13
Years of Service
User Offline
Joined: 18th Nov 2011
Location:
Posted: 27th Nov 2011 21:56
do my #includes need to have path names? ei #include "jini/text.cpp"?
bjadams
AGK Backer
16
Years of Service
User Offline
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

Login to post a reply

Server time is: 2024-11-22 15:01:58
Your offset time is: 2024-11-22 15:01:58