| Summary: | Universal App Solution | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Mattias Cibien <mattias> |
| Component: | *don't know* | Assignee: | David Ludwig <dll> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | CC: | dll, icculus |
| Version: | HG 2.1 | ||
| Hardware: | All | ||
| OS: | Windows 8 | ||
| Attachments: | Universal App DLL Solution | ||
|
Description
Mattias Cibien
2014-06-26 07:16:15 UTC
Created attachment 1712 [details]
Universal App DLL Solution
David, can you look at this? Thanks! This patch seems to duplicate effort already present -- The existing set of Visual C++ project files do work with Universal App projects, although the documentation for setting these up is, admittedly, in need of improvement. Universal App projects also require "Update 2" of VS 2013, due to the use of "Shared Projects", whereas SDL's current set of project files don't require this, and can work with earlier versions of VS 2013 (in addition to working with the newer Universal App project system). If it helps, here's how to set up references to a Universal App project, using SDL/WinRT as-is: 1. add the following .vcxproj files, from SDL, to your Visual Studio Solution: - VisualC-WinRT/WinRT81-VS2013/SDL-WinRT81.vcxproj - VisualC-WinRT/WinPhone81-VS2013/SDL-WinPhone81.vcxproj 2. make your Universal App's "WindowsPhone" project include a reference to the "SDL-WinPhone81" project 3. make your Universal App's "Windows" project include a reference to the "SDL-WinRT81" project 4. make both of your Universal App projects reference SDL's "include" directory, under their Properties page, in Configuration Properties --> C/C++ --> Additional Include Directories. If this helps, or if you have any questions/comments/concerns about this, please let me know. I'd like SDL/WinRT to support Universal App projects, but it already seems to do so. I'm wondering if this is an issue that might be better served by documentation, perhaps NuGet support as well (which has the potential to help manage references, include paths, etc., to SDL/WinRT), rather than adding a new, somewhat-duplicate set of project files. (In reply to David Ludwig from comment #3) > This patch seems to duplicate effort already present Should we close this bug, then? --ryan. Yup, works for me. Thanks for the patch, Mattias! |