mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0027350: Support for Universal Windows Platform
- Toolchain file to configure a Visual Studio generator for a Windows 10 Universal Application was added (CMake). - There is no support for environment variables in UWP. - SID is not supported (were excluded). - Windows registry is not supported (were excluded). - Mess with usage of Unicode/ANSI was corrected. - Added sample to check UWP functionality. - Excluded usage of methods with Unicode characters where it is possible. - Minor corrections to allow building OCAF (except TKVCAF) and DE (except VRML and XDE) - Building of unsupported modules for UWP platform is off by default . - Checking of DataExchange functionality was added to XAML (UWP) sample. - Added information about UWP to the documentation. - Update of results of merge with issue 27801
This commit is contained in:
@@ -200,11 +200,12 @@ Standard_Boolean XmlLDrivers_DocumentStorageDriver::WriteToDomDocument (const Ha
|
||||
"CSF_XmlOcafResource",
|
||||
"CASROOT"
|
||||
};
|
||||
TCollection_AsciiString aResourceDir = "";
|
||||
aResourceDir = getenv (aCSFVariable[0]);
|
||||
OSD_Environment anEnv (aCSFVariable[0]);
|
||||
TCollection_AsciiString aResourceDir = anEnv.Value();
|
||||
if (aResourceDir.IsEmpty()) {
|
||||
// now try by CASROOT
|
||||
aResourceDir = getenv (aCSFVariable[1]);
|
||||
OSD_Environment anEnv2(aCSFVariable[1]);
|
||||
aResourceDir = anEnv2.Value();
|
||||
if ( !aResourceDir.IsEmpty() ) {
|
||||
aResourceDir += "/src/XmlOcafResource" ;
|
||||
aToSetCSFVariable = Standard_True; //CSF variable to be set later
|
||||
|
Reference in New Issue
Block a user