1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0029684: Configuration: modification of build Inspector tool standalone on occt

- samples/tools/TStandalone is removed, to build Inspector out of OCCT, CMake should use tools/CMakeLists.txt fileName
- samples/tools/TInspectorEXE is moved to tools/TInspectorEXE
- TInspectorAPI_Version.hxx provides compilation inspector with earlier version of OCCT.
This commit is contained in:
nds
2018-04-12 06:56:58 +03:00
committed by bugmaster
parent 1ccef79a2a
commit ae5225dfcd
55 changed files with 492 additions and 587 deletions

View File

@@ -14,6 +14,7 @@
// commercial license or contractual agreement.
#include <inspector/TInspectorAPI_PluginParameters.hxx>
#include <inspector/TInspectorAPI_Version.hxx>
#if OCC_VERSION_HEX <= 0x060901
IMPLEMENT_STANDARD_HANDLE (TInspectorAPI_PluginParameters, Standard_Transient)
@@ -274,6 +275,7 @@ void TInspectorAPI_PluginParameters::ParametersToShape (const TCollection_AsciiS
return;
anOrientationStr.Split (anOrientationStr.Length() - 1);
#if TINSPECTORAPI_VERSION_HEX > 0x070200
TopAbs_Orientation anOrientation;
if (!TopAbs::ShapeOrientationFromString (anOrientationStr.ToCString(), anOrientation))
return;
@@ -282,4 +284,7 @@ void TInspectorAPI_PluginParameters::ParametersToShape (const TCollection_AsciiS
theShape.Location (aLocation);
theShape.Orientation (anOrientation);
#else
(void)theValue; (void)theShape;
#endif
}