Closed syntheticmagus closed 4 years ago
defined :
IOS,TVOS,WATCHOS defined by the ios-cmake toolchain ANDROID, APPLE,WINDOWS defined automatically UWP is the only one specified by BABYLON_NATIVE_PLATFORM.
PR merged. Can I close it? @syntheticmagus
Yes, this can be closed.
We currently have a mixture of patterns for checking platforms throughout our CMakeLists.txt files, mixing variables like WINDOWS_STORE and APPLE in with our usage of BABYLON_NATIVE_PLATFORM. Let's discuss (here in this issue?) what the preferred pattern should be, then propagate pattern everywhere that makes sense and, if there are exceptions where the pattern should be broken, clearly designate these exceptions with comments.