DragonFireSDK Forum

Programming Discussions => Build Center => Topic started by: matthewsjc1 on May 10, 2012, 11:36:43 pm

Title: Multiple source code files
Post by: matthewsjc1 on May 10, 2012, 11:36:43 pm
In the build process instructions, it says to include App.cpp, but if I write my classes, etc using other .h and .cpp files, will my app still be able to build? Or does everything for the project have to dumped into App.cpp?
Title: Re: Multiple source code files
Post by: tallano on May 11, 2012, 04:12:37 am
Everything has to be in the App.cpp file for the build.
But you can develop using multiple files thanks to this : http://www.whitetreegames.com/tools/manifest-builder  ;)
Title: Re: Multiple source code files
Post by: matthewsjc1 on May 11, 2012, 04:28:11 am
 :-\ That sucks. Thanks for the info about that tool. There should be a requested features subject in the forum - I have a bunch I'd like to see implemented (as I'm sure others do too).
Title: Re: Multiple source code files
Post by: tim on May 11, 2012, 09:23:48 am
Everything has to be in the App.cpp file for the build.
But you can develop using multiple files thanks to this : http://www.whitetreegames.com/tools/manifest-builder  ;)

Actually, you can include as many .h files as you need with your projects.  What you cannot include is additional .cpp files.  If you have code in .cpp files, you'll need to move their contents to .h files and you will be in business.
Title: Re: Multiple source code files
Post by: tallano on May 14, 2012, 05:30:19 am
Oops, my bad!  :-[
Title: Re: Multiple source code files
Post by: acepilot on February 26, 2013, 08:54:31 pm
Everything has to be in the App.cpp file for the build.
But you can develop using multiple files thanks to this : http://www.whitetreegames.com/tools/manifest-builder  ;)

Actually, you can include as many .h files as you need with your projects.  What you cannot include is additional .cpp files.  If you have code in .cpp files, you'll need to move their contents to .h files and you will be in business.

I wonder, where does this limitation come from? Certainly not Visual Studio....
Title: Re: Multiple source code files
Post by: glina126 on March 17, 2013, 03:58:50 pm
i assume "translator" side ;)

Everything has to be in the App.cpp file for the build.
But you can develop using multiple files thanks to this : http://www.whitetreegames.com/tools/manifest-builder  ;)

Actually, you can include as many .h files as you need with your projects.  What you cannot include is additional .cpp files.  If you have code in .cpp files, you'll need to move their contents to .h files and you will be in business.

I wonder, where does this limitation come from? Certainly not Visual Studio....