Ticket #32 (closed enhancement: fixed)
Enhanced compiler handling in SConstruct file, multiple target-architectures, VC10 support
| Reported by: | Carsten | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | build system | Version: | svn-head |
| Keywords: | Cc: | ||
| Platform: |
Description (last modified by Carsten) (diff)
The attached patch improves the SConstruct file that constructs the software:
- With MS Visual C/C++, the compiler is now auto-detected (or properly user specified) and subsequent compiler detail settings evaluate the previously detected or specified compiler. Previously, the user was forced to specify the compiler and then the auto-detection could detect and use a different compiler version.
- With MS Visual C/C++, the target architecture (x86, x86_64 or ia64) is now taken into account. Parallel builds for different architectures are now possible, as each gets a separate different directory tree.
- Preliminary support for MS Visual C/C++ 10.0 (2010) has been added. It's currently not very useful though -- SCons itself does not yet support the 10.0 version.
The attached patch has been tested on:
- x86 Windows 2000 with VC 8 (2005), Express Edition.
- soon: x86 Ubuntu 10.04 Linux with GCC.
soon:x86_64 Ubuntu 10.04 Linux with GCC.
Any additional testing and feed-back is welcome! :-)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

