Opened 11 years ago
Closed 11 years ago
#6283 closed Bugs (fixed)
Visual Studio 11 support for Boost.Build
Reported by: | Mateusz Loskot | Owned by: | Vladimir Prus |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost 1.48.0 | Severity: | Problem |
Keywords: | Cc: |
Description
There seems to be no support declared for lookup of cl.exe from Visual Studio 11 (currently available as Visual Studio 11 Developer Preview) in Boost.Build.
I attached patch with relevant update in the tools.
- Running Boost.Build to build Boost.Asio tests from current trunk reports:
d:\dev\boost\_svn\trunk\libs\asio\test>b2 --debug-configuration --debug-building --debug-generator buffer.cpp notice: found boost-build.jam at D:/dev/boost/_svn/trunk/boost-build.jam notice: loading Boost.Build from D:/dev/boost/_svn/trunk/tools/build/v2 notice: Searching C:\Windows C:\Users\mloskot C:\Users\mloskot D:\dev\boost\_svn\trunk\tools/build/v2 D:/dev/boost/_svn/trunk/tools/build/v2/kernel D:/dev/ boost/_svn/trunk/tools/build/v2/util D:/dev/boost/_svn/trunk/tools/build/v2/build D:/dev/boost/_svn/trunk/tools/build/v2/tools D:/dev/boost/_svn/trunk/tool s/build/v2/contrib D:/dev/boost/_svn/trunk/tools/build/v2/. for site-config configuration file site-config.jam . notice: Loading site-config configuration file site-config.jam from D:/dev/boost/_svn/trunk/tools/build/v2/site-config.jam . notice: Searching C:\Users\mloskot C:\Users\mloskot D:\dev\boost\_svn\trunk\tools/build/v2 D:/dev/boost/_svn/trunk/tools/build/v2/kernel D:/dev/boost/_svn/ trunk/tools/build/v2/util D:/dev/boost/_svn/trunk/tools/build/v2/build D:/dev/boost/_svn/trunk/tools/build/v2/tools D:/dev/boost/_svn/trunk/tools/build/v2/ contrib D:/dev/boost/_svn/trunk/tools/build/v2/. for user-config configuration file user-config.jam . notice: Loading user-config configuration file user-config.jam from C:/Users/mloskot/user-config.jam . notice: [msvc-cfg] msvc-10.0 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cl.exe' notice: [msvc-cfg] msvc-10.0express detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cl.exe' warning: toolset msvc initialization: can not find tool cl.exe warning: initialized from C:\Users\mloskot\user-config.jam:49 notice: will use 'cl.exe' for msvc, condition <toolset>msvc-11.0 ...
- After the patch applied, it reports VS11 found:
d:\dev\boost\_svn\trunk\libs\asio\test>b2 --debug-configuration --debug-building --debug-generator buffer.cpp notice: found boost-build.jam at D:/dev/boost/_svn/trunk/boost-build.jam notice: loading Boost.Build from D:/dev/boost/_svn/trunk/tools/build/v2 notice: Searching C:\Windows C:\Users\mloskot C:\Users\mloskot D:\dev\boost\_svn\trunk\tools/build/v2 D:/dev/boost/_svn/trunk/tools/build/v2/kernel D:/dev/ boost/_svn/trunk/tools/build/v2/util D:/dev/boost/_svn/trunk/tools/build/v2/build D:/dev/boost/_svn/trunk/tools/build/v2/tools D:/dev/boost/_svn/trunk/tool s/build/v2/contrib D:/dev/boost/_svn/trunk/tools/build/v2/. for site-config configuration file site-config.jam . notice: Loading site-config configuration file site-config.jam from D:/dev/boost/_svn/trunk/tools/build/v2/site-config.jam . notice: Searching C:\Users\mloskot C:\Users\mloskot D:\dev\boost\_svn\trunk\tools/build/v2 D:/dev/boost/_svn/trunk/tools/build/v2/kernel D:/dev/boost/_svn/ trunk/tools/build/v2/util D:/dev/boost/_svn/trunk/tools/build/v2/build D:/dev/boost/_svn/trunk/tools/build/v2/tools D:/dev/boost/_svn/trunk/tools/build/v2/ contrib D:/dev/boost/_svn/trunk/tools/build/v2/. for user-config configuration file user-config.jam . notice: Loading user-config configuration file user-config.jam from C:/Users/mloskot/user-config.jam . notice: [msvc-cfg] msvc-11.0 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cl.exe' notice: [msvc-cfg] msvc-10.0 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cl.exe' notice: [msvc-cfg] msvc-10.0express detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cl.exe' notice: will use 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cl.exe' for msvc, condition <toolset>msvc-11.0 notice: [msvc-cfg] condition: '<toolset>msvc-11.0/<architecture>/<address-model>', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcv arsall.bat" x86 >nul
I have tested it on Windows 7 64-bit with Visual Studio 11 Developer Preview installed along Visual Studio 2010 Express Edition with only one entry in my user-config.jam:
using msvc : 11.0 ;
Attachments (2)
Change History (3)
by , 11 years ago
Attachment: | boost-build-msvc-11.patch added |
---|
by , 11 years ago
Attachment: | boost-build-msvc-11.2.patch added |
---|
Updated version of patch for Boost.Build with Visual Studio 11 support
comment:1 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Patch for Boost.Build with Visual Studio 11 support