|
Boost : |
Subject: [boost] [build] How do I build for windows phone?
From: John Maddock (jz.maddock_at_[hidden])
Date: 2015-11-04 12:54:35
Boost.Build evidently has options for building for windows store and
windows phone. The store builds work fine for me, but the phone builds
fail as there is no compiler on the command line generated:
../../../bjam config_info msvc-14.0 windows-api=phone -d2
...found 179 targets...
...updating 5 targets...
file
..\..\..\bin.v2\libs\config\test\config_info.test\msvc-14.0\debug\link-static\runtime-link-static\windows-api-phone\config_info.obj.rsp
"config_info.cpp"
-Fo"..\..\..\bin.v2\libs\config\test\config_info.test\msvc-14.0\debug\link-static\runtime-link-static\windows-api-phone\config_info.obj"
-TP /Z7 /Od /Ob0 /W3 /GR /Zc:forScope /Zc:wchar_t /MTd /wd4675 /EHs -c
-DBOOST_ALL_NO_LIB=1
-DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP
-D_WIN32_WINNT=0x0602
"-I..\..\.."
compile-c-c++
..\..\..\bin.v2\libs\config\test\config_info.test\msvc-14.0\debug\link-static\runtime-link-static\windows-api-phone\config_info.obj
/Zm800 -nologo
@"..\..\..\bin.v2\libs\config\test\config_info.test\msvc-14.0\debug\link-static\runtime-link-static\windows-api-phone\config_info.obj.rsp"
'/Zm800' is not recognized as an internal or external command,
operable program or batch file.
Any ideas what I'm doing wrong?
BTW I can't find any docs mentioning these options - and it's something
end users building Boost may well need?
Finally a supplementary question: has anyone succeeded in running
regression tests on either the store or phone platforms? If I run:
/bjam config_info msvc-14.0 windows-api=store
I get:
testing.capture-output
..\..\..\bin.v2\libs\config\test\config_info.test\msvc-14.0\debug\link-static\runtime-link-static\windows-api-store\config_info.run
====== BEGIN OUTPUT ======
Access is denied.
EXIT STATUS: 5
Along with a screen message saying the app can't be run on my PC.
Any ideas?
Many thanks, John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk