0032137: Coding Rules - merge redundant .lxx files into header files within Package gp
[occt.git] / samples / xaml / ReadMe.md
742cc8b0 1XAML (UWP) sample
3This sample was created to check possibility of OCCT compilation on Universal Windows Platform (UWP).
4Note that only FoundationClasses, ModelingAlgorithms and ModelingData modules can be built at the moment.
6Building OCCT and XAML (UWP) sample using CMake (since CMake version 3.4.0):
7 - Run CMake, select source and binary directories for OCCT
8 - Press "Configure" button
9 - Select generator for this project - "Visual Studio 14 2015"
10 - Select radio button "Specify toolchain file for cross-compiling" and press button "Next"
11 - Specify absolute path to the Toolchain file "OCCT/adm/templates/uwp.toolchain.config.cmake" and press button "Finish"
12 - After first configuration specify 3RDPARTY_DIR, INSTALL_DIR
13 - Turn ON BUILD_MODULE_Uwp checkbox.
14 - Press "Generate" button
15 - Build OCCT and XAML (UWP) sample from Visual Studio as usual.
18 If you have got an error like this (appears after running the sample from Visual Studio):
19 "Error : DEP3321 : To deploy this application, your deployment target should be running Windows Universal Runtime version 10.0.10240.0 or higher. You currently are running version 10.0.10166.0."
20 Go to the properties of uwp sample project and in tab "General", set minimum deployment target to the lowest one.