mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-15 05:28:47 +08: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:
@@ -28,6 +28,7 @@
|
||||
#include <BRepAlgoAPI_Check.hxx>
|
||||
#include <BRepLib_FuseEdges.hxx>
|
||||
#include <BRepTools.hxx>
|
||||
#include <OSD_Environment.hxx>
|
||||
#include <OSD_File.hxx>
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
#include <TopExp.hxx>
|
||||
@@ -53,9 +54,10 @@ class BRepAlgoAPI_DumpOper {
|
||||
myIsDump(Standard_False),
|
||||
myIsDumpArgs(Standard_False),
|
||||
myIsDumpRes(Standard_False) {
|
||||
char *pathdump = getenv("CSF_DEBUG_BOP");
|
||||
myIsDump=(pathdump!=NULL);
|
||||
myPath=pathdump;
|
||||
OSD_Environment env("CSF_DEBUG_BOP");
|
||||
TCollection_AsciiString pathdump = env.Value();
|
||||
myIsDump = (!pathdump.IsEmpty() ? Standard_True: Standard_False);
|
||||
myPath=pathdump.ToCString();
|
||||
};
|
||||
//
|
||||
virtual ~BRepAlgoAPI_DumpOper() {
|
||||
|
||||
Reference in New Issue
Block a user