hey punkrockguy, can you post a SConstruct example you have? I'd like to review some of it, but it seems easy enough...
this is a real good project (used by Blender and Doom3) - I'm going to make a real push to use this... i think it's the greatest thing since sliced bread... thanks
I've only used SCons on one project... Which I lost the code for.. It was an RPG engine.. I have a windows version code left, but my linux port craashed when i nuked my arch by accident. But the SConstruct was REALLY easy... This is what it looked like:
Program('wetfirerpg', 'main.cpp' 'main.h' 'saveload.cpp' 'saveload.h' 'foo.h' foo.cpp') # and a bunch of other files, etc...
This program didn't have any dependencies and I never wrote the install function.. But it's only like one line I believe... I love SCons...
]]>what do you think of maven?
I only just heard of it when I was investigating using Groovy for Ensmer. I haven't really researched it; I didn't realize it was an Apache project; is it meant to replace ant eventually, or are they different projects with different goals?
Edit: I see it works *with* ant... collects ant builds together in one spot?
Dusty
]]>this is a real good project (used by Blender and Doom3) - I'm going to make a real push to use this... i think it's the greatest thing since sliced bread... thanks
]]>Scons is a VERY useful utility for replacing make... google for it.. it's easy, you just make a little SConstruct file and that's it! You don't NEED to know python to use it, but it sure does help.. it's written python (a real language) instead of bash
Holy crap this may be exactly what I need... scons is really cool, and scons-local is even better - a stand alone script for distribution with the source...
looking into it now... we'll see
]]>Makefiles are so old school. :-P
I use ant for Java. I don't know how good it would be for C programs though. There's got to be better project management than those bloody makefiles though.
Dusty
makefiles are native in a shell and therefore very easily written
i see your point with java and the new bright future 8)
what do you think of maven?
]]>Makefiles are so old school. :-P
I use ant for Java. I don't know how good it would be for C programs though. There's got to be better project management than those bloody makefiles though
I definatly agree. However, make is part of almost all standard development environments under linux... and there's a version on windows and mac too.
And I know I hate it when I come across something (like the boost libs) which use some funky build system (boost uses jam which is .... not good).
Ideally, I'd like a python or perl script which will work with minimal setup... I don't need to detect if stdc headers exist, because if they don't you have bigger problems... libtool, install... these don't need replacement scripts... modern package management fixes this. this script could be distributed with the source itslef, simplifying the build process....
]]>I use ant for Java. I don't know how good it would be for C programs though. There's got to be better project management than those bloody makefiles though.
Dusty
]]>an idea is to write some small perl (or python or soemtihng else if you prefer) script that creates you a makefile
]]>now, I'd like to do a few larger things, and I was wondering: what do you use for your Makefiles? autotools is overly complex and I can never remember all the AC_* and AM_* m4 macros... autoscan doesn't help. writing Makefiles by hand may be ok, but if you have a large number of sources and libraries and things, it may become hard to maintain. there are other options out there (iCompile looks decent) to generate makefiles too.
I am wondering how you all do it. I'd like to be able to distribute things with one file to build it... be it a Makefile, a script, or whatever.
Thanks in advance
]]>