How do I find out what platform SCons is building for (Linux, Mac OS X, Windows, &c-- not concerned with architecture).
A:
Will http://docs.python.org/library/platform.html#platform.platform (true,true) do what you want? If not you may have to map it yourself from data in the other platform methods.
Lance Purple
2010-03-15 16:51:51
+1
A:
You can also use env['PLATFORM']
once you've created an Environment. I think it comes from sys.platform.
garyo
2010-03-30 17:14:33