Author Topic: Multiple source code files  (Read 2667 times)

matthewsjc1

  • Guest
Multiple source code files
« 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?

tallano

  • Guest
Re: Multiple source code files
« Reply #1 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  ;)

matthewsjc1

  • Guest
Re: Multiple source code files
« Reply #2 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).

tim

  • Administrator
  • Hero Member
  • *****
  • Posts: 1595
  • Karma: +11/-1
    • View Profile
    • DragonFireSDK
Re: Multiple source code files
« Reply #3 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.
Tim Sommers
DragonFireSDK Team

tallano

  • Guest
Re: Multiple source code files
« Reply #4 on: May 14, 2012, 05:30:19 am »
Oops, my bad!  :-[

acepilot

  • Guest
Re: Multiple source code files
« Reply #5 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....

glina126

  • Guest
Re: Multiple source code files
« Reply #6 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....