[Scons-dev] Windows: Building Store Compatible libraries for UWP Apps

Ibrahim Esmat iesmat at microsoft.com
Wed Jul 19 14:31:17 EDT 2017


Hi Bill,

I made the changes and I was trying to test it with a project that we are using SCons with. However, when parsing our SConscript files, python seems to give me Invalid Syntax error for the print statements. I know that the print statement was changed to the print function in python 3.0, but on my system I have python 2.7.11. Why is SCons processing with Python 3.0? Is it how I built SCons?

To build I used: python bootstrap.py
And to test with our project I used: python bootstrap.py -C [project dir] [arguments]

P.S
I ran all the tests and they passed.

Thanks,
Ibrahim

From: Bill Deegan [mailto:bill at baddogconsulting.com]
Sent: Monday, July 17, 2017 2:04 PM
To: Ibrahim Esmat <iesmat at microsoft.com>
Cc: SCons developer list <scons-dev at scons.org>
Subject: Re: [Scons-dev] Windows: Building Store Compatible libraries for UWP Apps

Probably msvs.xml
Take a look at the developers guide and https://bitbucket.org/scons/scons/wiki/DeveloperGuide/Documentation<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbitbucket.org%2Fscons%2Fscons%2Fwiki%2FDeveloperGuide%2FDocumentation&data=02%7C01%7Ciesmat%40microsoft.com%7C98da5053860642f8889408d4cd5749ad%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636359222164365634&sdata=s94fap3pWjVmyxTtZoe4BWiWrx5EQ65cjtCv64sk%2FWg%3D&reserved=0>.
-Bill

On Mon, Jul 17, 2017 at 2:45 PM, Ibrahim Esmat <iesmat at microsoft.com<mailto:iesmat at microsoft.com>> wrote:
Hi Bill,

Thanks.

Yes this will be for VS 2015+.
Which docs should I change?

Thanks,
Ibrahim

From: Bill Deegan [mailto:bill at baddogconsulting.com<mailto:bill at baddogconsulting.com>]
Sent: Monday, July 17, 2017 7:34 AM
To: Ibrahim Esmat <iesmat at microsoft.com<mailto:iesmat at microsoft.com>>
Cc: SCons developer list <scons-dev at scons.org<mailto:scons-dev at scons.org>>

Subject: Re: [Scons-dev] Windows: Building Store Compatible libraries for UWP Apps

Ibrihim,
Great!
O.k. so in your pull request you should aim to have the following:
1) test(s)
2) changes to the docs to indicate the new environment variable(s)
    * I'm guessing this will only apply to VS 2015 and above? (or whichever versions), it would be wise to document that
3) a blurb in src/CHANGES.txt
Just let the list know (or pop on IRC)  if you need any help with this.
-Bill


On Sat, Jul 15, 2017 at 8:38 PM, Ibrahim Esmat <iesmat at microsoft.com<mailto:iesmat at microsoft.com>> wrote:
Hi Bill,
Thanks.
The change is basically going to check a SCons environment variable and if set, it will call the Visual Studio setup batch files with an extra 'store' argument. This will setup the environment LIBPATH to point to the store libraries instead of the desktop ones.
Regards,
Ibrahim
Get Outlook for Android

From: Bill Deegan
Sent: Saturday, July 15, 3:01 PM
Subject: Re: [Scons-dev] Windows: Building Store Compatible libraries for UWP Apps
To: SCons developer list
Cc: Ibrahim Esmat
Ibrihim,
Take a look at the developer guide:
https://bitbucket.org/<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbitbucket.org%2Fscons%2Fscons%2Fwiki%2FDeveloperGuide&data=02%7C01%7Ciesmat%40microsoft.com%7Cf43f5da9882a44a6844608d4cbccfa62%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357528615984107&sdata=34CU%2FqqPHKLMeAjmBuNnHmGX%2FHilJ2qmqSucf%2FrTCoc%3D&reserved=0>scons<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbitbucket.org%2Fscons%2Fscons%2Fwiki%2FDeveloperGuide&data=02%7C01%7Ciesmat%40microsoft.com%7Cf43f5da9882a44a6844608d4cbccfa62%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357528615984107&sdata=34CU%2FqqPHKLMeAjmBuNnHmGX%2FHilJ2qmqSucf%2FrTCoc%3D&reserved=0>/<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbitbucket.org%2Fscons%2Fscons%2Fwiki%2FDeveloperGuide&data=02%7C01%7Ciesmat%40microsoft.com%7Cf43f5da9882a44a6844608d4cbccfa62%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357528615984107&sdata=34CU%2FqqPHKLMeAjmBuNnHmGX%2FHilJ2qmqSucf%2FrTCoc%3D&reserved=0>scons<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbitbucket.org%2Fscons%2Fscons%2Fwiki%2FDeveloperGuide&data=02%7C01%7Ciesmat%40microsoft.com%7Cf43f5da9882a44a6844608d4cbccfa62%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357528615984107&sdata=34CU%2FqqPHKLMeAjmBuNnHmGX%2FHilJ2qmqSucf%2FrTCoc%3D&reserved=0>/wiki/<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbitbucket.org%2Fscons%2Fscons%2Fwiki%2FDeveloperGuide&data=02%7C01%7Ciesmat%40microsoft.com%7Cf43f5da9882a44a6844608d4cbccfa62%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357528615984107&sdata=34CU%2FqqPHKLMeAjmBuNnHmGX%2FHilJ2qmqSucf%2FrTCoc%3D&reserved=0>DeveloperGuide<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbitbucket.org%2Fscons%2Fscons%2Fwiki%2FDeveloperGuide&data=02%7C01%7Ciesmat%40microsoft.com%7Cf43f5da9882a44a6844608d4cbccfa62%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357528615984107&sdata=34CU%2FqqPHKLMeAjmBuNnHmGX%2FHilJ2qmqSucf%2FrTCoc%3D&reserved=0>
Work off default, and submit a pull request, (with tests please) via bitbucket.
BTW.. what needs to be changed?  Flags to linker, or extra builders?
Thanks,
Bill
On Fri, Jul 14, 2017 at 9:25 PM, Ibrahim Esmat via Scons-dev <scons<mailto:scons-dev at scons.org>-dev at scons.org<mailto:scons-dev at scons.org>> wrote:
Hi,

I would like to make a small change to SCons to enable Universal Windows DLLs to be built from SCons. This will allow the universal libraries built to be used in a Universal Windows Platform (UWP) App that can be published to the Windows Store and available on all devices running Windows 10.

Is someone already working on this? If not, which branch should I be using for the next release?

Currently I’m using the default branch.

Thanks,
Ibrahim

_______________________________________________
Scons-dev mailing list
Scons<mailto:Scons-dev at scons.org>-dev at scons.org<mailto:Scons-dev at scons.org>
https://<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist2.pair.net%2Fmailman%2Flistinfo%2Fscons-dev&data=02%7C01%7Ciesmat%40microsoft.com%7Cf43f5da9882a44a6844608d4cbccfa62%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357528615984107&sdata=fwfoNmbF662r%2FhcZyHWNMYP3sj3%2BHAHmTIUB7eFP2x4%3D&reserved=0>pairlist2<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist2.pair.net%2Fmailman%2Flistinfo%2Fscons-dev&data=02%7C01%7Ciesmat%40microsoft.com%7Cf43f5da9882a44a6844608d4cbccfa62%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357528615984107&sdata=fwfoNmbF662r%2FhcZyHWNMYP3sj3%2BHAHmTIUB7eFP2x4%3D&reserved=0>.pair.net/mailman/<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist2.pair.net%2Fmailman%2Flistinfo%2Fscons-dev&data=02%7C01%7Ciesmat%40microsoft.com%7Cf43f5da9882a44a6844608d4cbccfa62%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357528615984107&sdata=fwfoNmbF662r%2FhcZyHWNMYP3sj3%2BHAHmTIUB7eFP2x4%3D&reserved=0>listinfo<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist2.pair.net%2Fmailman%2Flistinfo%2Fscons-dev&data=02%7C01%7Ciesmat%40microsoft.com%7Cf43f5da9882a44a6844608d4cbccfa62%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357528615984107&sdata=fwfoNmbF662r%2FhcZyHWNMYP3sj3%2BHAHmTIUB7eFP2x4%3D&reserved=0>/<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist2.pair.net%2Fmailman%2Flistinfo%2Fscons-dev&data=02%7C01%7Ciesmat%40microsoft.com%7Cf43f5da9882a44a6844608d4cbccfa62%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357528615984107&sdata=fwfoNmbF662r%2FhcZyHWNMYP3sj3%2BHAHmTIUB7eFP2x4%3D&reserved=0>scons<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist2.pair.net%2Fmailman%2Flistinfo%2Fscons-dev&data=02%7C01%7Ciesmat%40microsoft.com%7Cf43f5da9882a44a6844608d4cbccfa62%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357528615984107&sdata=fwfoNmbF662r%2FhcZyHWNMYP3sj3%2BHAHmTIUB7eFP2x4%3D&reserved=0>-dev<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist2.pair.net%2Fmailman%2Flistinfo%2Fscons-dev&data=02%7C01%7Ciesmat%40microsoft.com%7Cf43f5da9882a44a6844608d4cbccfa62%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636357528615984107&sdata=fwfoNmbF662r%2FhcZyHWNMYP3sj3%2BHAHmTIUB7eFP2x4%3D&reserved=0>




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20170719/6fee0b44/attachment-0001.html>


More information about the Scons-dev mailing list