Russel, Russel Winder-4 wrote: > > > SCons works fine on Windows. What SCons does is to detect which > compiler you have and to provide the appropriate options. Thus the same > SConstruct file generally works on any platform. If some platform > specifics are needed then a SConstruct file is actually just a Python > program so you have the whole power of SCons and Python available to > describe the build. > how does it know the appropriate options? what if i want to turn on warning level, optimization, etc.? each compiler (e.g. cl.exe, gcc) has its own logic
Russel Winder-4 wrote: > > In order for Gant or Gradle to be used for C, C++, Fortran, LaTeX builds > they have to have the infrastructure. But SCons already has the > infrastructure so what motivation is there to replicate and rewrite it > in Groovy, when it is actually easier to use SCons? > Well, does scons provide dependency management like ivy? if my C code depends on xercesc, can I just define this dependency in the Sconstruct file and scons will download it and set the -I and -L,-l flags accordingly (and whatever other flags cl.exe uses)? Ittay -- View this message in context: http://www.nabble.com/Can-gradle-build-C-libraries-and-RPM-distributions--tp17071528p17496781.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
