iDevGames Forums
Cross-Platform IDE compatible w/ Scons - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Tools & Technology (/forum-10.html)
+--- Thread: Cross-Platform IDE compatible w/ Scons (/thread-2697.html)



Cross-Platform IDE compatible w/ Scons - wyrmmage - Mar 28, 2008 07:53 PM

Hello again everyone...it's been awhile since I posted, but I have another question about cross-platform development. I'm not quite sure if this is the right board to put this thread in, but I didn't see any better one, so here goes... Sneaky
I've been working on a project for about a month now, and it's coming along pretty nicely, but I'm using two engines that weren't made by me, and when they crash, they're a bit hard to debug. I'm using Scons for my build tool, and then I'm using Dev-C++ on Windows and XCode on Mac, but I'm just using them as editors, because I haven't been able to figure out how to integrate them with Scons build files. Is there a way to do this? Annoyed My main motivation for getting Scons up and running with these IDEs is so I can use the debugger with them; I'm compiling my files with the flag that enables debugging, and then using gdb to do the debugging. This is becoming tedious, however, so I'd like to be able to use the debugging tools that come with these two IDEs.
If it's not possible to use Scons with XCode and Dev-C++, what would you guys recommend as far as IDEs go? I'd like to continue using Scons, since I quite like it, but using the command line to debug things is tedious IMHO, and I'd rather just have a nice, shiny GUI display the debugging results for me. I'd also like to be able to do profiling at some point in time.
I'm running Mac OS X Tiger (PPC), Windows Vista 32-bit, and XP 32-bit.

Thank you Smile
-wyrmmage


Cross-Platform IDE compatible w/ Scons - OneSadCookie - Mar 29, 2008 02:25 AM

It's certainly possible with Xcode, I'm not familiar with Dev-C++. Incredibly vague instructions: For Xcode, make a target that builds itself with a makefile, and add the resultant executable as an executable, and everything except code completion will just work.

For profiling, just shark it, you don't need an IDE Rasp


Cross-Platform IDE compatible w/ Scons - wyrmmage - Mar 29, 2008 03:33 PM

ah, ok; thank you! Smile
I seem to remember that there were projects in your repository that used makefiles that invoked scons as the actual build tool...I'll have to take another look and see if I can find some examples.
If it's possible to do this with XCode, it's probably possible to do it with Dev-C++, since they are actually fairly similar programs.
I'll have to look into shark...haven't ever heard of it before XD

--EDIT--
I found the files in your repository and I just tried it on Dev-C++; everything works perfectly except for one button, which is fine. Now I never have to leave my IDE! Grin

Thanks again ^_^
-wyrmmage


Cross-Platform IDE compatible w/ Scons - Duane - Mar 30, 2008 08:18 AM

emacs.....


Cross-Platform IDE compatible w/ Scons - OneSadCookie - Mar 30, 2008 11:14 AM

ugh ...


Cross-Platform IDE compatible w/ Scons - Duane - Mar 30, 2008 06:44 PM

well, if you don't like emacs, you can always try (ugh) eclipse or komodo edit...


Cross-Platform IDE compatible w/ Scons - OneSadCookie - Mar 30, 2008 06:47 PM

Eclipse is fine on Windows for Java. Anywhere else... ugh Rasp

There's not much wrong with TextMate Rasp