[SERVER-1250] Better Search for Program Files Directory in scons Created: 17/Jun/10 Updated: 06/Dec/22 Resolved: 05/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Justin Dearing | Assignee: | [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive) |
| Resolution: | Done | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows builds through scons |
||
| Assigned Teams: |
Server Development Platform
|
| Participants: |
| Description |
|
The boost code is not searching for the windows program files folder properly. This is set in an environmental variable, actually 3 on 64 bit windows: ProgramFiles=C:\Program Files It might not necessarily be "C:\program files". def find_boost(): boostDir = find_boost() |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 05/May/22 ] |
|
We now honor the necessary CPPPATH and LIBPATH command line variables to SCons, so you can point the build to any boost installation you might want. |
| Comment by Eliot Horowitz (Inactive) [ 02/Nov/10 ] |
|
pushing pending build system change |
| Comment by Johannes Wienke [ 19/Jun/10 ] |
|
Also it would be nice to be able to specify a boost path on the scons command line. Another assumption that is not always met is where the compiled boost librares reside on windows. If you do not use a precompiled boost, they end up in a stage directory. Either let the user specify this directory as a command line option, too, or add it to the default search locations. |