Extend support for Windows Universal configurations.
Right now there is support for WindowsStore applications. What is lacking is support for Desktop and System WINAPI families, eg. (UMDF v2 drivers). Support for UWP umbrella libraries is also limitted, current solution is to:
- set(CMAKE_C_STANDARD_LIBRARIES "OneCoreUap.lib" CACHE STRING "" FORCE) <--- Using "FORCE" ;-)
- set(CMAKE_CXX_STANDARD_LIBRARIES "OneCoreUap.lib" CACHE STRING "" FORCE) <--- Using "FORCE" ;-)
- set(MSVC_IGNORED_LIBRARIES "/NODEFAULTLIB:kernel32 /NODEFAULTLIB:advapi32 /NODEFAULTLIB:ole32") <--- Later used in LINKER FLAGS
Extending Platform/Windows-MSVC.cmake to support additional targets beside WINDOWS_STORE or WINDOWS_PHONE would be nice.
Edited by Łukasz Kuryło