microsoft / angle

ANGLE: OpenGL ES to DirectX translation
Other
615 stars 166 forks source link

CMAKE support for angle, based on vcpkg ports implementation #147

Closed johanlindfors closed 5 years ago

johanlindfors commented 6 years ago

Usage: Create an output dir and change to it:

mkdir out cd out

Then generate appropriate projects for selected platform: For Win32: cmake .. For UWP: cmake .. -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0"

Then build: cmake --build .

Can also build specific configuration with: cmake --build . --config Release cmake --build . --config RelWithDebInfo

Please be aware that this PR also includes the fix for deprecated types IDisplayPropertiesStatic and DisplayProperties

austinkinross commented 5 years ago

Hi Johan, thanks again for your contributions and apologies that we can't take this PR. I suggest that you consider adding CMake support to the main ANGLE repository.

Thanks again Austin