diff --git a/samples/CSharp/IE/IE.csproj b/samples/CSharp/IE/IE.csproj index fbf7b80a2e..160a479356 100755 --- a/samples/CSharp/IE/IE.csproj +++ b/samples/CSharp/IE/IE.csproj @@ -1,4 +1,4 @@ - + Local 8.0.50727 @@ -25,6 +25,8 @@ + 2.0 + 0 bin\Debug\ diff --git a/samples/CSharp/IE/IE.sln b/samples/CSharp/IE/IE.sln index 577dd7ed82..120ac23743 100755 --- a/samples/CSharp/IE/IE.sln +++ b/samples/CSharp/IE/IE.sln @@ -1,5 +1,5 @@ -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual Studio 2005 +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IE", "IE.csproj", "{B9914BB3-B886-4B41-B48D-350EBEBEFD1F}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OCC", "..\OCC\OCC.vcproj", "{DCB139CF-2190-412E-B72F-8B080CC01422}" diff --git a/samples/CSharp/OCC/OCC.vcproj b/samples/CSharp/OCC/OCC.vcproj index 0a778dc943..ad731fd233 100755 --- a/samples/CSharp/OCC/OCC.vcproj +++ b/samples/CSharp/OCC/OCC.vcproj @@ -1,10 +1,11 @@ @@ -92,9 +95,6 @@ - @@ -125,7 +125,7 @@ /> @@ -173,9 +175,6 @@ - diff --git a/samples/CSharp/Run_MSVC.bat b/samples/CSharp/Run_MSVC.bat deleted file mode 100755 index 362c111729..0000000000 --- a/samples/CSharp/Run_MSVC.bat +++ /dev/null @@ -1,19 +0,0 @@ -@echo off -rem Launch MS VC with environment prepared for building OCCT C# sample - -rem Set build environment -call %~dp0..\..\ros\env_build.bat vc8 win32 - -rem Define path to project file -set PRJFILE=%~dp0IE\IE.sln - -rem Launch Visual Studio - either professional (devenv) or Express, as available -if exist %DevEnvDir%\devenv.exe ( - start %DevEnvDir%\devenv.exe %PRJFILE% /useenv -) else if exist %DevEnvDir%\VCExpress.exe ( - start %DevEnvDir%\VCExpress.exe %PRJFILE% /useenv -) else ( - echo Error: Could not find MS Visual Studio ^(%VCVER%^) - echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^) -) - diff --git a/samples/CSharp/env.bat b/samples/CSharp/env.bat deleted file mode 100644 index 94db5b7ee2..0000000000 --- a/samples/CSharp/env.bat +++ /dev/null @@ -1,3 +0,0 @@ -@ECHO OFF - -call "%~dp0..\..\ros\env.bat" \ No newline at end of file diff --git a/samples/CSharp/msvc.bat b/samples/CSharp/msvc.bat new file mode 100644 index 0000000000..6a8707d6bc --- /dev/null +++ b/samples/CSharp/msvc.bat @@ -0,0 +1,3 @@ +call ../../env.bat %1 %2 %3 +if not ["%CASDEB%"] == [""] call ../../msvc.bat %VCVER% win%ARCH% %CASDEB% %~dp0IE\IE.sln +if ["%CASDEB%"] == [""] call ../../msvc.bat %VCVER% win%ARCH% "" %~dp0IE\IE.sln \ No newline at end of file diff --git a/samples/CSharp/run.bat b/samples/CSharp/run.bat new file mode 100644 index 0000000000..104ecef9ea --- /dev/null +++ b/samples/CSharp/run.bat @@ -0,0 +1,4 @@ +call ../../env.bat %1 %2 %3 +if not ["%CASDEB%"] == [""] set "BinDir=Debug" +if ["%CASDEB%"] == [""] set "BinDir=Release" +%~dp0IE\bin\%BinDir%\IE.exe \ No newline at end of file diff --git a/samples/CSharp/shell/shell.vcproj b/samples/CSharp/shell/shell.vcproj index 72bf9d65a3..5df333af48 100755 --- a/samples/CSharp/shell/shell.vcproj +++ b/samples/CSharp/shell/shell.vcproj @@ -1,10 +1,11 @@ @@ -91,9 +94,6 @@ - @@ -124,7 +124,7 @@ /> @@ -172,9 +174,6 @@ - diff --git a/samples/mfc/standard/01_Geometry/adm/win/vc10/Geometry.vcxproj b/samples/mfc/standard/01_Geometry/adm/win/vc10/Geometry.vcxproj index c02faffbf1..2a86767937 100644 --- a/samples/mfc/standard/01_Geometry/adm/win/vc10/Geometry.vcxproj +++ b/samples/mfc/standard/01_Geometry/adm/win/vc10/Geometry.vcxproj @@ -66,17 +66,17 @@ <_ProjectFileVersion>10.0.30319.1 - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true @@ -85,24 +85,24 @@ true true Win32 - .\$(OS_TYPE)\obj/Geometry.tlb + .\win$(ARCH)\obj/Geometry.tlb MaxSpeed OnlyExplicitInline - ..\..\..\src;.;..\..\..\..\Common;$(CASROOT)\inc;..\..\..\src\ISession2d;%(AdditionalIncludeDirectories) + ..\..\..\src;.;..\..\..\..\Common;..\..\..\src\ISession2d;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) NDEBUG;WIN32;_WINDOWS;WNT;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/Geometry.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Geometry.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -113,11 +113,11 @@ TKVrml.lib;TKStl.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;TKMesh.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Geometry.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Geometry.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB32);%(AdditionalLibraryDirectories) $(IntDir)$(TargetFileName).intermediate.manifest - ../../../../$(OS_TYPE)\$(VCVER)\bin/Geometry.pdb + ../../../../win$(ARCH)\$(VCVER)\bin/Geometry.pdb Windows MachineX86 @@ -128,24 +128,24 @@ true true X64 - .\$(OS_TYPE)\obj/Geometry.tlb + .\win$(ARCH)\obj/Geometry.tlb MaxSpeed OnlyExplicitInline - ..\..\..\src;.;..\..\..\..\Common;$(CASROOT)\inc;..\..\..\src\ISession2d;%(AdditionalIncludeDirectories) + ..\..\..\src;.;..\..\..\..\Common;..\..\..\src\ISession2d;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) NDEBUG;WIN64;_WINDOWS;WNT;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/Geometry.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Geometry.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -156,11 +156,11 @@ TKVrml.lib;TKStl.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;TKMesh.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Geometry.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Geometry.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories) $(IntDir)$(TargetFileName).intermediate.manifest - ../../../../$(OS_TYPE)\$(VCVER)\bin/Geometry.pdb + ../../../../win$(ARCH)\$(VCVER)\bin/Geometry.pdb Windows MachineX64 @@ -171,22 +171,22 @@ true true Win32 - .\$(OS_TYPE)\objd/Geometry.tlb + .\win$(ARCH)\objd/Geometry.tlb Disabled - ..\..\..\src;.;..\..\..\..\Common;$(CASROOT)\inc;..\..\..\src\ISession2d;%(AdditionalIncludeDirectories) + ..\..\..\src;.;..\..\..\..\Common;..\..\..\src\ISession2d;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) _DEBUG;WIN32;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/Geometry.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Geometry.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ true Level3 true @@ -199,12 +199,12 @@ TKVrml.lib;TKStl.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;TKMesh.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Geometry.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Geometry.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories) $(IntDir)$(TargetFileName).intermediate.manifest true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Geometry.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Geometry.pdb Windows MachineX86 @@ -215,22 +215,22 @@ true true X64 - .\$(OS_TYPE)\objd/Geometry.tlb + .\win$(ARCH)\objd/Geometry.tlb Disabled - ..\..\..\src;.;..\..\..\..\Common;$(CASROOT)\inc;..\..\..\src\ISession2d;%(AdditionalIncludeDirectories) + ..\..\..\src;.;..\..\..\..\Common;..\..\..\src\ISession2d;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) _DEBUG;WIN64;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/Geometry.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Geometry.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ true Level3 true @@ -243,12 +243,12 @@ TKVrml.lib;TKStl.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;TKMesh.lib;%(AdditionalDependencies) - ../../../..\$(OS_TYPE)\$(VCVER)\bind/Geometry.exe + ../../../..\win$(ARCH)\$(VCVER)\bind/Geometry.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories) $(IntDir)$(TargetFileName).intermediate.manifest true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Geometry.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Geometry.pdb Windows MachineX64 diff --git a/samples/mfc/standard/01_Geometry/adm/win/vc8/Geometry.vcproj b/samples/mfc/standard/01_Geometry/adm/win/vc8/Geometry.vcproj index f9c28dd55d..81706b7dc9 100644 --- a/samples/mfc/standard/01_Geometry/adm/win/vc8/Geometry.vcproj +++ b/samples/mfc/standard/01_Geometry/adm/win/vc8/Geometry.vcproj @@ -20,8 +20,8 @@ @@ -118,8 +118,8 @@ @@ -216,8 +216,8 @@ @@ -315,8 +315,8 @@ diff --git a/samples/mfc/standard/01_Geometry/adm/win/vc9/Geometry.vcproj b/samples/mfc/standard/01_Geometry/adm/win/vc9/Geometry.vcproj index 891f4a11c0..6688448721 100644 --- a/samples/mfc/standard/01_Geometry/adm/win/vc9/Geometry.vcproj +++ b/samples/mfc/standard/01_Geometry/adm/win/vc9/Geometry.vcproj @@ -21,8 +21,8 @@ <_ProjectFileVersion>10.0.30319.1 - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false @@ -85,22 +85,22 @@ true true Win32 - .\$(OS_TYPE)\objd/TopologyTransformations.tlb + .\win$(ARCH)\objd/TopologyTransformations.tlb Disabled - ..\..\..\..\Common;.;$(CASROOT)\inc;..\..\..\src;%(AdditionalIncludeDirectories) + ..\..\..\..\Common;.;..\..\..\src;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) _DEBUG;WIN32;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/TopologyTransformations.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/TopologyTransformations.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true EditAndContinue @@ -112,11 +112,11 @@ TKVrml.lib;TKStl.lib;TKBRep.lib;TKIGES.lib;TKShHealing.lib;TKSTEP.lib;TKSTEP209.lib;TKSTEPAttr.lib;TKSTEPBase.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;TKBO.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Modeling.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Modeling.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Modeling.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Modeling.pdb Windows MachineX86 @@ -127,22 +127,22 @@ true true X64 - .\$(OS_TYPE)\objd/TopologyTransformations.tlb + .\win$(ARCH)\objd/TopologyTransformations.tlb Disabled - ..\..\..\..\Common;.;$(CASROOT)\inc;..\..\..\src;%(AdditionalIncludeDirectories) + ..\..\..\..\Common;.;..\..\..\src;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) _DEBUG;WIN64;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/TopologyTransformations.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/TopologyTransformations.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true ProgramDatabase @@ -154,11 +154,11 @@ TKVrml.lib;TKStl.lib;TKBRep.lib;TKIGES.lib;TKShHealing.lib;TKSTEP.lib;TKSTEP209.lib;TKSTEPAttr.lib;TKSTEPBase.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;TKBO.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Modeling.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Modeling.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Modeling.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Modeling.pdb Windows MachineX64 @@ -169,24 +169,24 @@ true true Win32 - .\$(OS_TYPE)\obj/TopologyTransformations.tlb + .\win$(ARCH)\obj/TopologyTransformations.tlb MaxSpeed OnlyExplicitInline - ..\..\..\..\Common;.;$(CASROOT)\inc;..\..\..\src;%(AdditionalIncludeDirectories) + ..\..\..\..\Common;.;..\..\..\src;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) NDEBUG;WIN32;_WINDOWS;WNT;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/TopologyTransformations.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/TopologyTransformations.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -197,10 +197,10 @@ TKVrml.lib;TKStl.lib;TKBRep.lib;TKIGES.lib;TKShHealing.lib;TKSTEP.lib;TKSTEP209.lib;TKSTEPAttr.lib;TKSTEPBase.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;TKBO.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Modeling.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Modeling.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Modeling.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB32);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/Modeling.pdb Windows MachineX86 @@ -211,24 +211,24 @@ true true X64 - .\$(OS_TYPE)\obj/TopologyTransformations.tlb + .\win$(ARCH)\obj/TopologyTransformations.tlb MaxSpeed OnlyExplicitInline - ..\..\..\..\Common;.;$(CASROOT)\inc;..\..\..\src;%(AdditionalIncludeDirectories) + ..\..\..\..\Common;.;..\..\..\src;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) NDEBUG;WIN64;_WINDOWS;WNT;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/TopologyTransformations.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/TopologyTransformations.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -239,10 +239,10 @@ TKVrml.lib;TKStl.lib;TKBRep.lib;TKIGES.lib;TKShHealing.lib;TKSTEP.lib;TKSTEP209.lib;TKSTEPAttr.lib;TKSTEPBase.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;TKBO.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Modeling.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Modeling.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Modeling.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/Modeling.pdb Windows MachineX64 diff --git a/samples/mfc/standard/02_Modeling/adm/win/vc8/Modeling.vcproj b/samples/mfc/standard/02_Modeling/adm/win/vc8/Modeling.vcproj index 5c2279a2d4..d3c8d7bf37 100644 --- a/samples/mfc/standard/02_Modeling/adm/win/vc8/Modeling.vcproj +++ b/samples/mfc/standard/02_Modeling/adm/win/vc8/Modeling.vcproj @@ -20,8 +20,8 @@ @@ -117,8 +117,8 @@ @@ -214,8 +214,8 @@ @@ -311,8 +311,8 @@ diff --git a/samples/mfc/standard/02_Modeling/adm/win/vc9/Modeling.vcproj b/samples/mfc/standard/02_Modeling/adm/win/vc9/Modeling.vcproj index 5b10c377c4..8389abf841 100644 --- a/samples/mfc/standard/02_Modeling/adm/win/vc9/Modeling.vcproj +++ b/samples/mfc/standard/02_Modeling/adm/win/vc9/Modeling.vcproj @@ -21,8 +21,8 @@ <_ProjectFileVersion>10.0.30319.1 - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true @@ -85,24 +85,24 @@ true true Win32 - .\$(OS_TYPE)\obj/Viewer2d.tlb + .\win$(ARCH)\obj/Viewer2d.tlb MaxSpeed OnlyExplicitInline - ..\..\..\src\Properties;.;..\..\..\src;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\src\Properties;.;..\..\..\src;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) NDEBUG;WIN32;_WINDOWS;WNT;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/Viewer2d.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Viewer2d.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -113,10 +113,10 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Viewer2d.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Viewer2d.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Viewer2d.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB32);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/Viewer2d.pdb Windows MachineX86 @@ -127,24 +127,24 @@ true true X64 - .\$(OS_TYPE)\obj/Viewer2d.tlb + .\win$(ARCH)\obj/Viewer2d.tlb MaxSpeed OnlyExplicitInline - ..\..\..\src\Properties;.;..\..\..\src;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\src\Properties;.;..\..\..\src;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) NDEBUG;WIN64;_WINDOWS;WNT;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/Viewer2d.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Viewer2d.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -155,10 +155,10 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Viewer2d.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Viewer2d.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Viewer2d.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/Viewer2d.pdb Windows MachineX64 @@ -169,22 +169,22 @@ true true Win32 - .\$(OS_TYPE)\objd/Viewer2d.tlb + .\win$(ARCH)\objd/Viewer2d.tlb Disabled - ..\..\..\src\Properties;.;..\..\..\src;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\src\Properties;.;..\..\..\src;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) _DEBUG;WIN32;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/Viewer2d.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Viewer2d.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true EditAndContinue @@ -196,11 +196,11 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Viewer2d.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Viewer2d.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Viewer2d.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Viewer2d.pdb Windows MachineX86 @@ -211,22 +211,22 @@ true true X64 - .\$(OS_TYPE)\objd/Viewer2d.tlb + .\win$(ARCH)\objd/Viewer2d.tlb Disabled - ..\..\..\src\Properties;.;..\..\..\src;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\src\Properties;.;..\..\..\src;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) _DEBUG;WIN64;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/Viewer2d.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Viewer2d.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true ProgramDatabase @@ -238,11 +238,11 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Viewer2d.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Viewer2d.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Viewer2d.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Viewer2d.pdb Windows MachineX64 diff --git a/samples/mfc/standard/03_Viewer2d/adm/win/vc8/Viewer2d.vcproj b/samples/mfc/standard/03_Viewer2d/adm/win/vc8/Viewer2d.vcproj index 02f3004dc0..c16bbd5d0e 100644 --- a/samples/mfc/standard/03_Viewer2d/adm/win/vc8/Viewer2d.vcproj +++ b/samples/mfc/standard/03_Viewer2d/adm/win/vc8/Viewer2d.vcproj @@ -20,8 +20,8 @@ @@ -117,8 +117,8 @@ @@ -214,8 +214,8 @@ @@ -311,8 +311,8 @@ diff --git a/samples/mfc/standard/03_Viewer2d/adm/win/vc9/Viewer2d.vcproj b/samples/mfc/standard/03_Viewer2d/adm/win/vc9/Viewer2d.vcproj index efdfbb5931..f9dbebb894 100644 --- a/samples/mfc/standard/03_Viewer2d/adm/win/vc9/Viewer2d.vcproj +++ b/samples/mfc/standard/03_Viewer2d/adm/win/vc9/Viewer2d.vcproj @@ -21,8 +21,8 @@ <_ProjectFileVersion>10.0.30319.1 - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true @@ -85,24 +85,24 @@ true true Win32 - .\$(OS_TYPE)\obj/Viewer3d.tlb + .\win$(ARCH)\obj/Viewer3d.tlb MaxSpeed OnlyExplicitInline - ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) NDEBUG;WIN32;_WINDOWS;WNT;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/Viewer3d.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Viewer3d.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -113,10 +113,10 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Viewer3d.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Viewer3d.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Viewer3d.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB32);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/Viewer3d.pdb Windows MachineX86 @@ -127,24 +127,24 @@ true true X64 - .\$(OS_TYPE)\obj/Viewer3d.tlb + .\win$(ARCH)\obj/Viewer3d.tlb MaxSpeed OnlyExplicitInline - ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) NDEBUG;WIN64;_WINDOWS;WNT;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/Viewer3d.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Viewer3d.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -155,10 +155,10 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Viewer3d.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Viewer3d.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Viewer3d.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/Viewer3d.pdb Windows MachineX64 @@ -169,22 +169,22 @@ true true Win32 - .\$(OS_TYPE)\objd/Viewer3d.tlb + .\win$(ARCH)\objd/Viewer3d.tlb Disabled - ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) _DEBUG;WIN32;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/Viewer3d.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Viewer3d.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ true Level3 true @@ -197,11 +197,11 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Viewer3d.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Viewer3d.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Viewer3d.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Viewer3d.pdb Windows MachineX86 @@ -212,22 +212,22 @@ true true X64 - .\$(OS_TYPE)\objd/Viewer3d.tlb + .\win$(ARCH)\objd/Viewer3d.tlb Disabled - ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) _DEBUG;WIN64;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/Viewer3d.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Viewer3d.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ true Level3 true @@ -240,11 +240,11 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Viewer3d.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Viewer3d.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Viewer3d.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Viewer3d.pdb Windows MachineX64 diff --git a/samples/mfc/standard/04_Viewer3d/adm/win/vc8/Viewer3d.vcproj b/samples/mfc/standard/04_Viewer3d/adm/win/vc8/Viewer3d.vcproj index eb2c10418f..b3ae647170 100644 --- a/samples/mfc/standard/04_Viewer3d/adm/win/vc8/Viewer3d.vcproj +++ b/samples/mfc/standard/04_Viewer3d/adm/win/vc8/Viewer3d.vcproj @@ -20,8 +20,8 @@ @@ -117,8 +117,8 @@ @@ -214,8 +214,8 @@ @@ -312,8 +312,8 @@ diff --git a/samples/mfc/standard/04_Viewer3d/adm/win/vc9/Viewer3d.vcproj b/samples/mfc/standard/04_Viewer3d/adm/win/vc9/Viewer3d.vcproj index eb014793d1..9312d501b0 100644 --- a/samples/mfc/standard/04_Viewer3d/adm/win/vc9/Viewer3d.vcproj +++ b/samples/mfc/standard/04_Viewer3d/adm/win/vc9/Viewer3d.vcproj @@ -21,8 +21,8 @@ SetDisplayMode(aShapeIO, AIS_Shaded, Standard_False); + // Set increased polygon offset for the main shape to avoid depth collision with textured faces + aShapeIO->SetPolygonOffsets(Aspect_POM_Fill, 1.5, 0.5); DISP(aShapeIO); Handle_AIS_TexturedShape aTFace1 = Texturize(aFaces(16), "carrelage1.gif", 1, 1, 3, 2); - //offset visual shape to avoid overlapping - aTFace1->SetPolygonOffsets(Aspect_POM_Fill, 0.99, -2.0); DISP(aTFace1); Handle_AIS_TexturedShape aTFace2 = Texturize(aFaces(21), "carrelage1.gif", 1, 1, 3, 2); - //offset a visual shape to avoid overlapping - aTFace2->SetPolygonOffsets(Aspect_POM_Fill, 0.99, -2.0); DISP(aTFace2); getViewer()->Update(); diff --git a/samples/mfc/standard/05_ImportExport/adm/win/vc10/ImportExport.vcxproj b/samples/mfc/standard/05_ImportExport/adm/win/vc10/ImportExport.vcxproj index ef6bc35293..3a024e7a1b 100644 --- a/samples/mfc/standard/05_ImportExport/adm/win/vc10/ImportExport.vcxproj +++ b/samples/mfc/standard/05_ImportExport/adm/win/vc10/ImportExport.vcxproj @@ -66,17 +66,17 @@ <_ProjectFileVersion>10.0.30319.1 - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\objd\ false - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true @@ -85,24 +85,24 @@ true true Win32 - .\$(OS_TYPE)\obj/ImportExport.tlb + .\win$(ARCH)\obj/ImportExport.tlb MaxSpeed OnlyExplicitInline - ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) NDEBUG;WIN32;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/ImportExport.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/ImportExport.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -113,10 +113,10 @@ TKVrml.lib;TKStl.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/ImportExport.exe + ../../../../win$(ARCH)\$(VCVER)\bin/ImportExport.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/ImportExport.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB32);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/ImportExport.pdb Windows MachineX86 @@ -127,24 +127,24 @@ true true X64 - .\$(OS_TYPE)\obj/ImportExport.tlb + .\win$(ARCH)\obj/ImportExport.tlb MaxSpeed OnlyExplicitInline - ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) NDEBUG;WIN64;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/ImportExport.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/ImportExport.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -155,10 +155,10 @@ TKVrml.lib;TKStl.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/ImportExport.exe + ../../../../win$(ARCH)\$(VCVER)\bin/ImportExport.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/ImportExport.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/ImportExport.pdb Windows MachineX64 @@ -169,22 +169,22 @@ true true Win32 - .\$(OS_TYPE)\objd/ImportExport.tlb + .\win$(ARCH)\objd/ImportExport.tlb Disabled - ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) _DEBUG;WIN32;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/ImportExport.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/ImportExport.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true EditAndContinue @@ -196,11 +196,11 @@ TKVrml.lib;TKStl.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/ImportExport.exe + ../../../../win$(ARCH)\$(VCVER)\bind/ImportExport.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/ImportExport.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/ImportExport.pdb Windows MachineX86 @@ -211,22 +211,22 @@ true true X64 - .\$(OS_TYPE)\objd/ImportExport.tlb + .\win$(ARCH)\objd/ImportExport.tlb Disabled - ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\src;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) _DEBUG;WIN64;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/ImportExport.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/ImportExport.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true ProgramDatabase @@ -238,11 +238,11 @@ TKVrml.lib;TKStl.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/ImportExport.exe + ../../../../win$(ARCH)\$(VCVER)\bind/ImportExport.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/ImportExport.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/ImportExport.pdb Windows MachineX64 diff --git a/samples/mfc/standard/05_ImportExport/adm/win/vc8/ImportExport.vcproj b/samples/mfc/standard/05_ImportExport/adm/win/vc8/ImportExport.vcproj index 158eb2dd11..819de37b7f 100644 --- a/samples/mfc/standard/05_ImportExport/adm/win/vc8/ImportExport.vcproj +++ b/samples/mfc/standard/05_ImportExport/adm/win/vc8/ImportExport.vcproj @@ -20,8 +20,8 @@ @@ -117,8 +117,8 @@ @@ -214,8 +214,8 @@ @@ -311,8 +311,8 @@ diff --git a/samples/mfc/standard/05_ImportExport/adm/win/vc9/ImportExport.vcproj b/samples/mfc/standard/05_ImportExport/adm/win/vc9/ImportExport.vcproj index d87a911aee..bf51b00bbd 100644 --- a/samples/mfc/standard/05_ImportExport/adm/win/vc9/ImportExport.vcproj +++ b/samples/mfc/standard/05_ImportExport/adm/win/vc9/ImportExport.vcproj @@ -21,8 +21,8 @@ <_ProjectFileVersion>10.0.30319.1 - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true @@ -85,24 +85,24 @@ true true Win32 - .\$(OS_TYPE)\obj/Ocaf.tlb + .\win$(ARCH)\obj/Ocaf.tlb MaxSpeed OnlyExplicitInline - ..\..\..\;..\..\..\src;...\..\..\res;..\..\..\..\Common;$(CASROOT)\inc;$(CASROOT)\..\tools\ocafbrowser\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\src;...\..\..\res;..\..\..\..\Common;$(CSF_OPT_INC);$(CASROOT)\..\tools\ocafbrowser\inc;%(AdditionalIncludeDirectories) NDEBUG;WIN32;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/Ocaf.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Ocaf.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -113,10 +113,10 @@ TKLCAF.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;TKBO.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Ocaf.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Ocaf.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Ocaf.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB32);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/Ocaf.pdb Windows MachineX86 @@ -127,24 +127,24 @@ true true X64 - .\$(OS_TYPE)\obj/Ocaf.tlb + .\win$(ARCH)\obj/Ocaf.tlb MaxSpeed OnlyExplicitInline - ..\..\..\;..\..\..\src;...\..\..\res;..\..\..\..\Common;$(CASROOT)\inc;$(CASROOT)\..\tools\ocafbrowser\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\src;...\..\..\res;..\..\..\..\Common;$(CSF_OPT_INC);$(CASROOT)\..\tools\ocafbrowser\inc;%(AdditionalIncludeDirectories) NDEBUG;WIN64;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/Ocaf.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Ocaf.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -155,10 +155,10 @@ TKLCAF.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;TKBO.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Ocaf.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Ocaf.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Ocaf.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/Ocaf.pdb Windows MachineX64 @@ -169,22 +169,22 @@ true true Win32 - .\$(OS_TYPE)\objd/Ocaf.tlb + .\win$(ARCH)\objd/Ocaf.tlb Disabled - ..\..\..\;..\..\..\src;...\..\..\res;..\..\..\..\Common;$(CASROOT)\inc;$(CASROOT)\..\tools\ocafbrowser\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\src;...\..\..\res;..\..\..\..\Common;$(CSF_OPT_INC);$(CASROOT)\..\tools\ocafbrowser\inc;%(AdditionalIncludeDirectories) _DEBUG;WIN32;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/Ocaf.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Ocaf.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true EditAndContinue @@ -196,11 +196,11 @@ TKLCAF.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;TKBO.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Ocaf.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Ocaf.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Ocaf.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Ocaf.pdb Windows MachineX86 @@ -211,22 +211,22 @@ true true X64 - .\$(OS_TYPE)\objd/Ocaf.tlb + .\win$(ARCH)\objd/Ocaf.tlb Disabled - ..\..\..\;..\..\..\src;...\..\..\res;..\..\..\..\Common;$(CASROOT)\inc;$(CASROOT)\..\tools\ocafbrowser\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\src;...\..\..\res;..\..\..\..\Common;$(CSF_OPT_INC);$(CASROOT)\..\tools\ocafbrowser\inc;%(AdditionalIncludeDirectories) _DEBUG;WIN64;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/Ocaf.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Ocaf.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true ProgramDatabase @@ -238,11 +238,11 @@ TKLCAF.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;TKBO.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Ocaf.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Ocaf.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Ocaf.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Ocaf.pdb Windows MachineX64 diff --git a/samples/mfc/standard/06_Ocaf/adm/win/vc8/Ocaf.vcproj b/samples/mfc/standard/06_Ocaf/adm/win/vc8/Ocaf.vcproj index f3b1ed2b71..c752bde825 100644 --- a/samples/mfc/standard/06_Ocaf/adm/win/vc8/Ocaf.vcproj +++ b/samples/mfc/standard/06_Ocaf/adm/win/vc8/Ocaf.vcproj @@ -20,8 +20,8 @@ @@ -117,8 +117,8 @@ @@ -214,8 +214,8 @@ @@ -311,8 +311,8 @@ diff --git a/samples/mfc/standard/06_Ocaf/adm/win/vc9/Ocaf.vcproj b/samples/mfc/standard/06_Ocaf/adm/win/vc9/Ocaf.vcproj index 25375e47f5..1f6324fe1e 100644 --- a/samples/mfc/standard/06_Ocaf/adm/win/vc9/Ocaf.vcproj +++ b/samples/mfc/standard/06_Ocaf/adm/win/vc9/Ocaf.vcproj @@ -21,8 +21,8 @@ <_ProjectFileVersion>10.0.30319.1 - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true @@ -85,24 +85,24 @@ true true Win32 - .\$(OS_TYPE)\obj/Triangulation.tlb + .\win$(ARCH)\obj/Triangulation.tlb MaxSpeed OnlyExplicitInline - ..\..\..\..\Common;..\..\..\;$(CASROOT)\inc;..\..\..\src;%(AdditionalIncludeDirectories) + ..\..\..\..\Common;..\..\..\;$(CSF_OPT_INC);..\..\..\src;%(AdditionalIncludeDirectories) NDEBUG;WIN32;_WINDOWS;WNT;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/Triangulation.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Triangulation.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -113,10 +113,10 @@ TKVrml.lib;TKStl.lib;TKBRep.lib;TKIGES.lib;TKShHealing.lib;TKSTEP.lib;TKSTEP209.lib;TKSTEPAttr.lib;TKSTEPBase.lib;TKXSBase.lib;TKShapeSchema.lib;TKBO.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKMesh.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Triangulation.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Triangulation.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Triangulation.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB32);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/Triangulation.pdb Windows MachineX86 @@ -127,24 +127,24 @@ true true X64 - .\$(OS_TYPE)\obj/Triangulation.tlb + .\win$(ARCH)\obj/Triangulation.tlb MaxSpeed OnlyExplicitInline - ..\..\..\..\Common;..\..\..\;$(CASROOT)\inc;..\..\..\src;%(AdditionalIncludeDirectories) + ..\..\..\..\Common;..\..\..\;$(CSF_OPT_INC);..\..\..\src;%(AdditionalIncludeDirectories) NDEBUG;WIN64;_WINDOWS;WNT;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/Triangulation.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Triangulation.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -155,10 +155,10 @@ TKVrml.lib;TKStl.lib;TKBRep.lib;TKIGES.lib;TKShHealing.lib;TKSTEP.lib;TKSTEP209.lib;TKSTEPAttr.lib;TKSTEPBase.lib;TKXSBase.lib;TKShapeSchema.lib;TKBO.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKMesh.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Triangulation.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Triangulation.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Triangulation.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/Triangulation.pdb Windows MachineX64 @@ -169,22 +169,22 @@ true true Win32 - .\$(OS_TYPE)\objd/Triangulation.tlb + .\win$(ARCH)\objd/Triangulation.tlb Disabled - ..\..\..\..\Common;..\..\..\;$(CASROOT)\inc;..\..\..\src;%(AdditionalIncludeDirectories) + ..\..\..\..\Common;..\..\..\;$(CSF_OPT_INC);..\..\..\src;%(AdditionalIncludeDirectories) _DEBUG;WIN32;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/Triangulation.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Triangulation.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true EditAndContinue @@ -196,11 +196,11 @@ TKVrml.lib;TKStl.lib;TKBRep.lib;TKIGES.lib;TKShHealing.lib;TKSTEP.lib;TKSTEP209.lib;TKSTEPAttr.lib;TKSTEPBase.lib;TKXSBase.lib;TKShapeSchema.lib;TKBO.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKMesh.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Triangulation.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Triangulation.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Triangulation.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Triangulation.pdb Windows MachineX86 @@ -211,22 +211,22 @@ true true X64 - .\$(OS_TYPE)\objd/Triangulation.tlb + .\win$(ARCH)\objd/Triangulation.tlb Disabled - ..\..\..\..\Common;..\..\..\;$(CASROOT)\inc;..\..\..\src;%(AdditionalIncludeDirectories) + ..\..\..\..\Common;..\..\..\;$(CSF_OPT_INC);..\..\..\src;%(AdditionalIncludeDirectories) _DEBUG;WIN64;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/Triangulation.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Triangulation.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true ProgramDatabase @@ -238,11 +238,11 @@ TKVrml.lib;TKStl.lib;TKBRep.lib;TKIGES.lib;TKShHealing.lib;TKSTEP.lib;TKSTEP209.lib;TKSTEPAttr.lib;TKSTEPBase.lib;TKXSBase.lib;TKShapeSchema.lib;TKBO.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKMesh.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Triangulation.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Triangulation.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Triangulation.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Triangulation.pdb Windows MachineX64 diff --git a/samples/mfc/standard/07_Triangulation/adm/win/vc8/Triangulation.vcproj b/samples/mfc/standard/07_Triangulation/adm/win/vc8/Triangulation.vcproj index 8ff3d9aa3a..33b2632b21 100644 --- a/samples/mfc/standard/07_Triangulation/adm/win/vc8/Triangulation.vcproj +++ b/samples/mfc/standard/07_Triangulation/adm/win/vc8/Triangulation.vcproj @@ -20,8 +20,8 @@ @@ -117,8 +117,8 @@ @@ -214,8 +214,8 @@ @@ -311,8 +311,8 @@ diff --git a/samples/mfc/standard/07_Triangulation/adm/win/vc9/Triangulation.vcproj b/samples/mfc/standard/07_Triangulation/adm/win/vc9/Triangulation.vcproj index 06cf1d8fe7..844ced2ef8 100644 --- a/samples/mfc/standard/07_Triangulation/adm/win/vc9/Triangulation.vcproj +++ b/samples/mfc/standard/07_Triangulation/adm/win/vc9/Triangulation.vcproj @@ -21,8 +21,8 @@ <_ProjectFileVersion>10.0.30319.1 - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true @@ -85,24 +85,24 @@ true true Win32 - .\$(OS_TYPE)\obj/HLR.tlb + .\win$(ARCH)\obj/HLR.tlb MaxSpeed OnlyExplicitInline - ..\..\..\;..\..\..\..\Common;$(CASROOT)\inc;..\..\..\src\ISession2D;..\..\..\res;.\src\Properties;..\..\..\src;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\..\Common;$(CSF_OPT_INC);..\..\..\src\ISession2D;..\..\..\res;.\src\Properties;..\..\..\src;%(AdditionalIncludeDirectories) NDEBUG;WIN32;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/HLR.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/HLR.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -113,10 +113,10 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/HLR.exe + ../../../../win$(ARCH)\$(VCVER)\bin/HLR.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/HLR.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB32);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/HLR.pdb Windows MachineX86 @@ -127,24 +127,24 @@ true true X64 - .\$(OS_TYPE)\obj/HLR.tlb + .\win$(ARCH)\obj/HLR.tlb MaxSpeed OnlyExplicitInline - ..\..\..\;..\..\..\..\Common;$(CASROOT)\inc;..\..\..\src\ISession2D;..\..\..\res;.\src\Properties;..\..\..\src;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\..\Common;$(CSF_OPT_INC);..\..\..\src\ISession2D;..\..\..\res;.\src\Properties;..\..\..\src;%(AdditionalIncludeDirectories) NDEBUG;WIN64;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/HLR.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/HLR.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -155,10 +155,10 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/HLR.exe + ../../../../win$(ARCH)\$(VCVER)\bin/HLR.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/HLR.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/HLR.pdb Windows MachineX64 @@ -169,22 +169,22 @@ true true Win32 - .\$(OS_TYPE)\objd/HLR.tlb + .\win$(ARCH)\objd/HLR.tlb Disabled - ..\..\..\;..\..\..\..\Common;$(CASROOT)\inc;..\..\..\src\ISession2D;..\..\..\res;.\src\Properties;..\..\..\src;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\..\Common;$(CSF_OPT_INC);..\..\..\src\ISession2D;..\..\..\res;.\src\Properties;..\..\..\src;%(AdditionalIncludeDirectories) _DEBUG;WIN32;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/HLR.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/HLR.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true EditAndContinue @@ -196,11 +196,11 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/HLR.exe + ../../../../win$(ARCH)\$(VCVER)\bind/HLR.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/HLR.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/HLR.pdb Windows MachineX86 @@ -211,22 +211,22 @@ true true X64 - .\$(OS_TYPE)\objd/HLR.tlb + .\win$(ARCH)\objd/HLR.tlb Disabled - ..\..\..\;..\..\..\..\Common;$(CASROOT)\inc;..\..\..\src\ISession2D;..\..\..\res;.\src\Properties;..\..\..\src;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\..\Common;$(CSF_OPT_INC);..\..\..\src\ISession2D;..\..\..\res;.\src\Properties;..\..\..\src;%(AdditionalIncludeDirectories) _DEBUG;WIN64;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/HLR.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/HLR.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true ProgramDatabase @@ -238,11 +238,11 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/HLR.exe + ../../../../win$(ARCH)\$(VCVER)\bind/HLR.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/HLR.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/HLR.pdb Windows MachineX64 diff --git a/samples/mfc/standard/08_HLR/adm/win/vc8/HLR.vcproj b/samples/mfc/standard/08_HLR/adm/win/vc8/HLR.vcproj index f54d35661b..38b6bced23 100644 --- a/samples/mfc/standard/08_HLR/adm/win/vc8/HLR.vcproj +++ b/samples/mfc/standard/08_HLR/adm/win/vc8/HLR.vcproj @@ -20,8 +20,8 @@ @@ -117,8 +117,8 @@ @@ -214,8 +214,8 @@ @@ -311,8 +311,8 @@ diff --git a/samples/mfc/standard/08_HLR/adm/win/vc9/HLR.vcproj b/samples/mfc/standard/08_HLR/adm/win/vc9/HLR.vcproj index d8e9a84983..defea11018 100644 --- a/samples/mfc/standard/08_HLR/adm/win/vc9/HLR.vcproj +++ b/samples/mfc/standard/08_HLR/adm/win/vc9/HLR.vcproj @@ -21,8 +21,8 @@ <_ProjectFileVersion>10.0.30319.1 - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false @@ -85,22 +85,22 @@ true true Win32 - .\$(OS_TYPE)\objd/Animation.tlb + .\win$(ARCH)\objd/Animation.tlb Disabled - ..\..\..\;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) _DEBUG;WIN32;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/Animation.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Animation.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true EditAndContinue @@ -112,11 +112,11 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;TKBO.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Animation.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Animation.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Animation.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Animation.pdb Windows MachineX86 @@ -127,22 +127,22 @@ true true X64 - .\$(OS_TYPE)\objd/Animation.tlb + .\win$(ARCH)\objd/Animation.tlb Disabled - ..\..\..\;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) _DEBUG;WIN64;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/Animation.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Animation.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true ProgramDatabase @@ -154,11 +154,11 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;TKBO.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Animation.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Animation.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Animation.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Animation.pdb Windows MachineX64 @@ -169,24 +169,24 @@ true true Win32 - .\$(OS_TYPE)\obj/Animation.tlb + .\win$(ARCH)\obj/Animation.tlb MaxSpeed OnlyExplicitInline - ..\..\..\;..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\;..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) NDEBUG;WIN32;_WINDOWS;WNT;CSFDB;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/Animation.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Animation.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -197,10 +197,10 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;TKBO.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Animation.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Animation.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Animation.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB32);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/Animation.pdb Windows MachineX86 @@ -211,24 +211,24 @@ true true X64 - .\$(OS_TYPE)\obj/Animation.tlb + .\win$(ARCH)\obj/Animation.tlb MaxSpeed OnlyExplicitInline - ..\..\..\..\..\;..\..\..\..\..\..\Common;$(CASROOT)\inc;%(AdditionalIncludeDirectories) + ..\..\..\..\..\;..\..\..\..\..\..\Common;$(CSF_OPT_INC);%(AdditionalIncludeDirectories) NDEBUG;WIN64;_WINDOWS;WNT;CSFDB;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/Animation.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Animation.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -240,10 +240,10 @@ TKBRep.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;mfcsample.lib;TKBO.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Animation.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Animation.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Animation.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\bin/Animation.pdb Windows MachineX64 diff --git a/samples/mfc/standard/09_Animation/adm/win/vc8/Animation.vcproj b/samples/mfc/standard/09_Animation/adm/win/vc8/Animation.vcproj index 78a69784b1..4a8e6cdd72 100644 --- a/samples/mfc/standard/09_Animation/adm/win/vc8/Animation.vcproj +++ b/samples/mfc/standard/09_Animation/adm/win/vc8/Animation.vcproj @@ -20,8 +20,8 @@ @@ -117,8 +117,8 @@ @@ -214,8 +214,8 @@ @@ -311,8 +311,8 @@ diff --git a/samples/mfc/standard/09_Animation/adm/win/vc9/Animation.vcproj b/samples/mfc/standard/09_Animation/adm/win/vc9/Animation.vcproj index 0637469fe1..f1e3ee7974 100644 --- a/samples/mfc/standard/09_Animation/adm/win/vc9/Animation.vcproj +++ b/samples/mfc/standard/09_Animation/adm/win/vc9/Animation.vcproj @@ -21,8 +21,8 @@ <_ProjectFileVersion>10.0.30319.1 - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bin\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\bin\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\bind\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\bind\ + .\win$(ARCH)\objd\ true @@ -85,14 +85,14 @@ true true Win32 - .\$(OS_TYPE)\obj/Convert.tlb + .\win$(ARCH)\obj/Convert.tlb MaxSpeed OnlyExplicitInline - ../../../../;../../../../Common;../../../src/WNT;../../../src;../../../src/ISession;$(CASROOT)\inc;../../../Common;%(AdditionalIncludeDirectories) + ../../../../;../../../../Common;../../../src/WNT;../../../src;../../../src/ISession;$(CSF_OPT_INC);../../../Common;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;WNT;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -100,10 +100,10 @@ StdAfx.h - .\$(OS_TYPE)\obj/Convert.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Convert.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -114,11 +114,11 @@ FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKGeomAlgo.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;TKBRep.lib;TKG2d.lib;TKG3d.lib;TKGeomBase.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Convert.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Convert.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - .\$(OS_TYPE)\obj\$(TargetFileName).intermediate.manifest - ../../../../$(OS_TYPE)\$(VCVER)\bin/Convert.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB32);%(AdditionalLibraryDirectories) + .\win$(ARCH)\obj\$(TargetFileName).intermediate.manifest + ../../../../win$(ARCH)\$(VCVER)\bin/Convert.pdb Windows false MachineX86 @@ -130,14 +130,14 @@ true true X64 - .\$(OS_TYPE)\obj/Convert.tlb + .\win$(ARCH)\obj/Convert.tlb MaxSpeed OnlyExplicitInline - ../../../../;../../../../Common;../../../src/WNT;../../../src;../../../src/ISession;$(CASROOT)\inc;../../../Common;%(AdditionalIncludeDirectories) + ../../../../;../../../../Common;../../../src/WNT;../../../src;../../../src/ISession;$(CSF_OPT_INC);../../../Common;%(AdditionalIncludeDirectories) WIN64;NDEBUG;_WINDOWS;WNT;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -145,10 +145,10 @@ StdAfx.h - .\$(OS_TYPE)\obj/Convert.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/Convert.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -159,11 +159,11 @@ FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKGeomAlgo.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;TKBRep.lib;TKG2d.lib;TKG3d.lib;TKGeomBase.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bin/Convert.exe + ../../../../win$(ARCH)\$(VCVER)\bin/Convert.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;..\..\..\..\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - .\$(OS_TYPE)\obj\$(TargetFileName).intermediate.manifest - ../../../../$(OS_TYPE)\$(VCVER)\bin/Convert.pdb + ..\..\..\..\win$(ARCH)\$(VCVER)\lib;$(CSF_OPT_LIB64);%(AdditionalLibraryDirectories) + .\win$(ARCH)\obj\$(TargetFileName).intermediate.manifest + ../../../../win$(ARCH)\$(VCVER)\bin/Convert.pdb Windows false MachineX64 @@ -175,23 +175,23 @@ true true Win32 - .\$(OS_TYPE)\objd/Convert.tlb + .\win$(ARCH)\objd/Convert.tlb Disabled - ../../../../;../../../../Common;../../../src/WNT;../../../src;../../../src/ISession;$(CASROOT)\inc;../../../Common;%(AdditionalIncludeDirectories) + ../../../../;../../../../Common;../../../src/WNT;../../../src;../../../src/ISession;$(CSF_OPT_INC);../../../Common;%(AdditionalIncludeDirectories) _DEBUG;WIN32;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL StdAfx.h - .\$(OS_TYPE)\objd/Convert.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Convert.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true EditAndContinue @@ -203,12 +203,12 @@ FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKGeomAlgo.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;TKBRep.lib;TKG2d.lib;TKG3d.lib;TKGeomBase.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Convert.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Convert.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) - .\$(OS_TYPE)\objd\$(TargetFileName).intermediate.manifest + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories) + .\win$(ARCH)\objd\$(TargetFileName).intermediate.manifest true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Convert.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Convert.pdb Windows MachineX86 @@ -219,23 +219,23 @@ true true X64 - .\$(OS_TYPE)\objd/Convert.tlb + .\win$(ARCH)\objd/Convert.tlb Disabled - ../../../../;../../../../Common;../../../src/WNT;../../../src;../../../src/ISession;$(CASROOT)\inc;../../../Common;%(AdditionalIncludeDirectories) + ../../../../;../../../../Common;../../../src/WNT;../../../src;../../../src/ISession;$(CSF_OPT_INC);../../../Common;%(AdditionalIncludeDirectories) _DEBUG;WIN64;_WINDOWS;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL StdAfx.h - .\$(OS_TYPE)\objd/Convert.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/Convert.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true ProgramDatabase @@ -247,12 +247,12 @@ FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKGeomAlgo.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKV2d.lib;TKV3d.lib;TKBRep.lib;TKG2d.lib;TKG3d.lib;TKGeomBase.lib;mfcsample.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\bind/Convert.exe + ../../../../win$(ARCH)\$(VCVER)\bind/Convert.exe true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;..\..\..\..\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) - .\$(OS_TYPE)\objd\$(TargetFileName).intermediate.manifest + ..\..\..\..\win$(ARCH)\$(VCVER)\libd;$(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories) + .\win$(ARCH)\objd\$(TargetFileName).intermediate.manifest true - ../../../../$(OS_TYPE)\$(VCVER)\bind/Convert.pdb + ../../../../win$(ARCH)\$(VCVER)\bind/Convert.pdb Windows MachineX64 diff --git a/samples/mfc/standard/10_Convert/adm/win/vc8/Convert.vcproj b/samples/mfc/standard/10_Convert/adm/win/vc8/Convert.vcproj index 8880eb44a0..8bc9fb3b81 100644 --- a/samples/mfc/standard/10_Convert/adm/win/vc8/Convert.vcproj +++ b/samples/mfc/standard/10_Convert/adm/win/vc8/Convert.vcproj @@ -20,8 +20,8 @@ @@ -316,8 +316,8 @@ diff --git a/samples/mfc/standard/10_Convert/adm/win/vc9/Convert.vcproj b/samples/mfc/standard/10_Convert/adm/win/vc9/Convert.vcproj index ac297ccd3b..2922d4f5ce 100644 --- a/samples/mfc/standard/10_Convert/adm/win/vc9/Convert.vcproj +++ b/samples/mfc/standard/10_Convert/adm/win/vc9/Convert.vcproj @@ -21,8 +21,8 @@ <_ProjectFileVersion>10.0.30319.1 - ../../../../$(OS_TYPE)\$(VCVER)\libd\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\libd\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\libd\ - .\$(OS_TYPE)\objd\ + ../../../../win$(ARCH)\$(VCVER)\libd\ + .\win$(ARCH)\objd\ true - ../../../../$(OS_TYPE)\$(VCVER)\lib\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\lib\ + .\win$(ARCH)\obj\ false - ../../../../$(OS_TYPE)\$(VCVER)\lib\ - .\$(OS_TYPE)\obj\ + ../../../../win$(ARCH)\$(VCVER)\lib\ + .\win$(ARCH)\obj\ false @@ -85,22 +85,22 @@ true true Win32 - .\$(OS_TYPE)\objd/mfcsample.tlb + .\win$(ARCH)\objd/mfcsample.tlb Disabled - $(CASROOT)\inc;..\..\..\..\Common;%(AdditionalIncludeDirectories) + $(CSF_OPT_INC);..\..\..\..\Common;%(AdditionalIncludeDirectories) _DEBUG;WIN32;_WINDOWS;WNT;_AFXEXT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/mfcsample.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/mfcsample.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true EditAndContinue @@ -112,11 +112,11 @@ TKVrml.lib;TKStl.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKMesh.lib;TKV2d.lib;TKV3d.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\libd/mfcsample.dll + ../../../../win$(ARCH)\$(VCVER)\libd/mfcsample.dll true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + $(CSF_OPT_LIB32D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\libd/mfcsample.pdb + ../../../../win$(ARCH)\$(VCVER)\libd/mfcsample.pdb Windows @@ -129,22 +129,22 @@ true true X64 - .\$(OS_TYPE)\objd/mfcsample.tlb + .\win$(ARCH)\objd/mfcsample.tlb Disabled - $(CASROOT)\inc;..\..\..\..\Common;%(AdditionalIncludeDirectories) + $(CSF_OPT_INC);..\..\..\..\Common;%(AdditionalIncludeDirectories) _DEBUG;WIN64;_WINDOWS;WNT;_AFXEXT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use stdafx.h - .\$(OS_TYPE)\objd/mfcsample.pch - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ - .\$(OS_TYPE)\objd/ + .\win$(ARCH)\objd/mfcsample.pch + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ + .\win$(ARCH)\objd/ Level3 true ProgramDatabase @@ -156,11 +156,11 @@ TKVrml.lib;TKStl.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;FWOSPlugin.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKMesh.lib;TKV2d.lib;TKV3d.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\libd/mfcsample.dll + ../../../../win$(ARCH)\$(VCVER)\libd/mfcsample.dll true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\libd;%(AdditionalLibraryDirectories) + $(CSF_OPT_LIB64D);%(AdditionalLibraryDirectories) true - ../../../../$(OS_TYPE)\$(VCVER)\libd/mfcsample.pdb + ../../../../win$(ARCH)\$(VCVER)\libd/mfcsample.pdb Windows @@ -173,24 +173,24 @@ true true Win32 - .\$(OS_TYPE)\obj/mfcsample.tlb + .\win$(ARCH)\obj/mfcsample.tlb MaxSpeed OnlyExplicitInline - $(CASROOT)\inc;..\..\..\..\Common;%(AdditionalIncludeDirectories) + $(CSF_OPT_INC);..\..\..\..\Common;%(AdditionalIncludeDirectories) NDEBUG;WIN32;_WINDOWS;_AFXEXT;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/mfcsample.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/mfcsample.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -201,10 +201,10 @@ TKVrml.lib;TKStl.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKMesh.lib;TKV2d.lib;TKV3d.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\lib/mfcsample.dll + ../../../../win$(ARCH)\$(VCVER)\lib/mfcsample.dll true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\lib/mfcsample.pdb + $(CSF_OPT_LIB32);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\lib/mfcsample.pdb Windows @@ -217,24 +217,24 @@ true true X64 - .\$(OS_TYPE)\obj/mfcsample.tlb + .\win$(ARCH)\obj/mfcsample.tlb MaxSpeed OnlyExplicitInline - $(CASROOT)\inc;..\..\..\..\Common;..\..\..\..\..\..\Common;%(AdditionalIncludeDirectories) + $(CSF_OPT_INC);..\..\..\..\Common;..\..\..\..\..\..\Common;%(AdditionalIncludeDirectories) NDEBUG;WIN64;_WINDOWS;_AFXEXT;WNT;CSFDB;WINVER=0x0500;%(PreprocessorDefinitions) true MultiThreadedDLL true Use stdafx.h - .\$(OS_TYPE)\obj/mfcsample.pch - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ - .\$(OS_TYPE)\obj/ + .\win$(ARCH)\obj/mfcsample.pch + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ + .\win$(ARCH)\obj/ Level3 true Default @@ -247,10 +247,10 @@ TKVrml.lib;TKStl.lib;TKBrep.lib;TKIGES.lib;TKShHealing.lib;TKStep.lib;TKXSBase.lib;TKShapeSchema.lib;PTKernel.lib;TKBool.lib;TKCAF.lib;TKCDF.lib;TKernel.lib;TKFeat.lib;TKFillet.lib;TKG2d.lib;TKG3d.lib;TKGeomAlgo.lib;TKGeomBase.lib;TKHLR.lib;TKMath.lib;TKOffset.lib;TKPCAF.lib;TKPrim.lib;TKPShape.lib;TKService.lib;TKTopAlgo.lib;TKMesh.lib;TKV2d.lib;TKV3d.lib;%(AdditionalDependencies) - ../../../../$(OS_TYPE)\$(VCVER)\lib/mfcsample.dll + ../../../../win$(ARCH)\$(VCVER)\lib/mfcsample.dll true - $(CASROOT)\$(OS_TYPE)\$(VCVER)\lib;%(AdditionalLibraryDirectories) - ../../../../$(OS_TYPE)\$(VCVER)\lib/mfcsample.pdb + $(CSF_OPT_LIB64);%(AdditionalLibraryDirectories) + ../../../../win$(ARCH)\$(VCVER)\lib/mfcsample.pdb Windows diff --git a/samples/mfc/standard/mfcsample/adm/win/vc8/mfcsample.vcproj b/samples/mfc/standard/mfcsample/adm/win/vc8/mfcsample.vcproj index f1c9abc07e..be26ba8d67 100644 --- a/samples/mfc/standard/mfcsample/adm/win/vc8/mfcsample.vcproj +++ b/samples/mfc/standard/mfcsample/adm/win/vc8/mfcsample.vcproj @@ -20,8 +20,8 @@ | | - |-- env.bat This file is called from Run_MSVC.bat. + |-- env.bat This file is called from msvc.bat. 2. Launching Open CASCADE Technology samples: @@ -36,22 +36,22 @@ To run the Open CASCADE Technology samples: - > execute Run.bat [vc8|vc9|vc10] [win32|win64] [Release|Debug] [SampleName] + > execute run.bat [vc8|vc9|vc10] [win32|win64] [Release|Debug] [SampleName] To run the Animation sample: - > execute Run.bat vc8 win32 Debug Animation + > execute run.bat vc8 win32 Debug Animation 3. Modifying and rebuilding samples: -------------------------------------------- You can modify, compile and launch all sample projects in MS Visual C++ at once: - > execute Run_MSVC.bat [vc8|vc9|vc10] [win32|win64] [Release|Debug] + > execute msvc.bat [vc8|vc9|vc10] [win32|win64] [Release|Debug] To run all sample projects in MS Visual C++ at once: - > execute Run_MSVC.bat vc8 win32 Debug + > execute msvc.bat vc8 win32 Debug Note: make sure your PATH environment variable contains a directory, diff --git a/samples/mfc/standard/run.bat b/samples/mfc/standard/run.bat new file mode 100644 index 0000000000..8e604df0b9 --- /dev/null +++ b/samples/mfc/standard/run.bat @@ -0,0 +1,23 @@ +echo %4 +if "%4" EQU "" ( + echo Launch selected sample as follows: + echo Run.bat [^vc8^|^vc9^|^vc10^] [^win32^|^win64^] [^Release^|^Debug^] [^SampleName^] + echo Use option -d to run Debug mode + EXIT /B +) + +call ../../../env.bat %1 %2 %3 +call %~dp0env.bat + +IF NOT EXIST %BIN_DIR%\%4.exe goto ERR_EXE + +start %BIN_DIR%\%4.exe + +GOTO END + +:ERR_EXE +ECHO Executable %BIN_DIR%\%~n1.exe not found." +ECHO Probably you didn't compile the application. +EXIT /B + +:END diff --git a/samples/qt/IESample/IESample-vc10.sln b/samples/qt/IESample/IESample-vc10.sln index 435a46503a..f358270ad7 100644 --- a/samples/qt/IESample/IESample-vc10.sln +++ b/samples/qt/IESample/IESample-vc10.sln @@ -1,4 +1,5 @@ Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IESample", "IESample.vcproj", "{7FD0453F-8AC0-3EE3-9C11-DD413EF20A44}" EndProject Global diff --git a/samples/qt/IESample/IESample-vc8.sln b/samples/qt/IESample/IESample-vc8.sln index 16c5b7517f..9c1504153f 100644 --- a/samples/qt/IESample/IESample-vc8.sln +++ b/samples/qt/IESample/IESample-vc8.sln @@ -1,4 +1,5 @@ Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IESample", "IESample.vcproj", "{7FD0453F-8AC0-3EE3-9C11-DD413EF20A44}" EndProject Global diff --git a/samples/qt/IESample/IESample.pro b/samples/qt/IESample/IESample.pro index 67dc66bda4..dc227f85a1 100644 --- a/samples/qt/IESample/IESample.pro +++ b/samples/qt/IESample/IESample.pro @@ -6,8 +6,9 @@ TARGET = IESample HEADERS = src/*.h SOURCES = src/*.cxx -INCLUDEPATH = $(CASROOT) $(CASROOT)/inc $(QTDIR)/include/QtCore \ - $(QTDIR)/include/QtGui $(QTDIR)/include +INCLUDES = $$(CSF_OPT_INC) +PATHS = $$split(INCLUDES,";") +for(path, PATHS):INCLUDEPATH += $${path} TS_FILES = ./src/Common-icon.ts \ ./src/Common-string.ts \ @@ -42,110 +43,99 @@ win32 { CONFIG(debug, debug|release) { DEFINES += _DEBUG !contains(QMAKE_HOST.arch, x86_64) { - contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1310) { + LIBS = -L$(CSF_OPT_LIB32D) + contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1310) { DESTDIR = ./win32/vc7/bind OBJECTS_DIR = ./win32/vc7/objd MOC_DIR = ./win32/vc7/srcd - LIBS = -L$(CASROOT)/win32/vc7/libd } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) { DESTDIR = ./win32/vc8/bind OBJECTS_DIR = ./win32/vc8/objd MOC_DIR = ./win32/vc8/srcd - LIBS = -L$(CASROOT)/win32/vc8/libd } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) { DESTDIR = ./win32/vc9/bind OBJECTS_DIR = ./win32/vc9/objd MOC_DIR = ./win32/vc9/srcd - LIBS = -L$(CASROOT)/win32/vc9/libd } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) { DESTDIR = ./win32/vc10/bind OBJECTS_DIR = ./win32/vc10/objd MOC_DIR = ./win32/vc10/srcd - LIBS = -L$(CASROOT)/win32/vc10/libd } } else { - contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) { + LIBS = -L$(CSF_OPT_LIB64D) + contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) { DESTDIR = ./win64/vc8/bind OBJECTS_DIR = ./win64/vc8/objd MOC_DIR = ./win64/vc8/srcd - LIBS = -L$(CASROOT)/win64/vc8/libd } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) { DESTDIR = ./win64/vc9/bind OBJECTS_DIR = ./win64/vc9/objd MOC_DIR = ./win64/vc9/srcd - LIBS = -L$(CASROOT)/win64/vc9/libd } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) { DESTDIR = ./win64/vc10/bind OBJECTS_DIR = ./win64/vc10/objd MOC_DIR = ./win64/vc10/srcd - LIBS = -L$(CASROOT)/win64/vc10/libd } } } else { DEFINES += NDEBUG !contains(QMAKE_HOST.arch, x86_64) { - contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1310) { + LIBS = -L$(CSF_OPT_LIB32) + contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1310) { DESTDIR = ./win32/vc7/bin OBJECTS_DIR = ./win32/vc7/obj MOC_DIR = ./win32/vc7/src - LIBS = -L$(CASROOT)/win32/vc7/lib } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) { DESTDIR = ./win32/vc8/bin OBJECTS_DIR = ./win32/vc8/obj MOC_DIR = ./win32/vc8/src - LIBS = -L$(CASROOT)/win32/vc8/lib } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) { DESTDIR = ./win32/vc9/bin OBJECTS_DIR = ./win32/vc9/obj MOC_DIR = ./win32/vc9/src - LIBS = -L$(CASROOT)/win32/vc9/lib } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) { DESTDIR = ./win32/vc10/bin OBJECTS_DIR = ./win32/vc10/obj MOC_DIR = ./win32/vc10/src - LIBS = -L$(CASROOT)/win32/vc10/lib } } else { - contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) { + LIBS = -L$(CSF_OPT_LIB64) + contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) { DESTDIR = ./win64/vc8/bin OBJECTS_DIR = ./win64/vc8/obj MOC_DIR = ./win64/vc8/src - LIBS = -L$(CASROOT)/win64/vc8/lib } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) { DESTDIR = ./win64/vc9/bin OBJECTS_DIR = ./win64/vc9/obj MOC_DIR = ./win64/vc9/src - LIBS = -L$(CASROOT)/win64/vc9/lib } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) { DESTDIR = ./win64/vc10/bin OBJECTS_DIR = ./win64/vc10/obj MOC_DIR = ./win64/vc10/src - LIBS = -L$(CASROOT)/win64/vc10/lib } } } DEFINES +=WNT WIN32 NO_COMMONSAMPLE_EXPORTS NO_IESAMPLE_EXPORTS } -LIBS += -lTKernel -lPTKernel -lTKMath -lTKService -lTKV3d -lTKV2d \ - -lTKBRep -lTKIGES -lTKSTL -lTKVRML -lTKSTEP -lTKSTEPAttr -lTKSTEP209 \ - -lTKSTEPBase -lTKShapeSchema -lTKGeomBase -lTKGeomAlgo -lTKG3d -lTKG2d \ - -lTKXSBase -lTKPShape -lTKShHealing -lTKHLR -lTKTopAlgo -lTKMesh -lTKPrim \ - -lTKCDF -lTKBool -lTKBO -lTKFillet -lTKOffset \ - -L$(QTDIR)/lib -lQtCore -lQtGui +LIBS += TKernel.lib PTKernel.lib TKMath.lib TKService.lib TKV3d.lib TKV2d.lib \ + TKBRep.lib TKIGES.lib TKSTL.lib TKVRML.lib TKSTEP.lib TKSTEPAttr.lib TKSTEP209.lib \ + TKSTEPBase.lib TKShapeSchema.lib TKGeomBase.lib TKGeomAlgo.lib TKG3d.lib TKG2d.lib \ + TKXSBase.lib TKPShape.lib TKShHealing.lib TKHLR.lib TKTopAlgo.lib TKMesh.lib TKPrim.lib \ + TKCDF.lib TKBool.lib TKBO.lib TKFillet.lib TKOffset.lib \ lrelease.name = LRELASE ${QMAKE_FILE_IN} -lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_IN} -qm ./res/${QMAKE_FILE_BASE}.qm +lrelease.commands = lrelease ${QMAKE_FILE_IN} -qm ./res/${QMAKE_FILE_BASE}.qm lrelease.output = ./res/${QMAKE_FILE_BASE}.qm lrelease.input = TS_FILES lrelease.clean = ./res/${QMAKE_FILE_BASE}.qm diff --git a/samples/qt/IESample/Run_MSVC.bat b/samples/qt/IESample/Run_MSVC.bat deleted file mode 100755 index 4daacb50ef..0000000000 --- a/samples/qt/IESample/Run_MSVC.bat +++ /dev/null @@ -1,24 +0,0 @@ -@echo off -rem Launch MS VC with environment prepared for building OCCT qt tutorial - -rem Set build environment - -call %~dp0env.bat - -call %~dp0..\..\..\ros\env_build.bat vc8 win32 - -rem Define path to project file -set PRJFILE=%~dp0IESample-vc8.sln - -rem Launch Visual Studio - either professional (devenv) or Express, as available -if exist "%DevEnvDir%\devenv.exe" ( - start devenv.exe "%PRJFILE%" /useenv -) else if exist "%DevEnvDir%\VCExpress.exe" ( - start VCExpress.exe "%PRJFILE%" /useenv -) else ( - echo Error: Could not find MS Visual Studio ^(%VCVER%^) - echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^) -) - -) - diff --git a/samples/qt/IESample/env.bat b/samples/qt/IESample/env.bat index 77e99ff830..d42ee2c7ef 100755 --- a/samples/qt/IESample/env.bat +++ b/samples/qt/IESample/env.bat @@ -1,32 +1,3 @@ -@ECHO OFF - -call "%~dp0..\..\..\ros\env.bat" - -IF NOT DEFINED CASROOT GOTO ERR_CASROOT - -IF NOT EXIST "%CASROOT%\win32\vc8\bin\TKernel.dll" GOTO ERR_CASCADE - -SET CASLIBS=%CASROOT%\win32\vc8\bin - -SET ROOT=%CASROOT%\.. - -set RES_DIR=%~dp0res -set BIN_DIR=%~dp0win32\vc8\bin +SET RES_DIR=%~dp0res SET CSF_ResourcesDefaults=%RES_DIR% SET CSF_IEResourcesDefaults=%RES_DIR% - -SET PATH=%CASLIBS%;%QTDIR%\bin;%PATH% - -GOTO END - -:ERR_CASROOT -ECHO Environment variable "CASROOT" has not been defined. Abort. -pause -exit /B - -:ERR_CASCADE -ECHO Environment variable "CASROOT" defined incorrectly. Abort. -pause -exit /B - -:END diff --git a/samples/qt/IESample/generation-vc-projects.bat b/samples/qt/IESample/generation-vc-projects.bat index 3bb98b3bdb..2d5385c168 100644 --- a/samples/qt/IESample/generation-vc-projects.bat +++ b/samples/qt/IESample/generation-vc-projects.bat @@ -3,17 +3,8 @@ REM Variable QTDIR and PATH to qmake executable must be defined without fail REM Use first argument to specify version of Visual Studio (vc8, vc9, or vc10), REM second argument specifies architecture) (win32 or win64) +REM third argument specifies Debug or Release mode -call "%~dp0..\..\..\ros\env_build.bat" %1 %2 +call ..\..\..\env.bat %1 %2 %3 -IF NOT DEFINED QTDIR GOTO ERR_QTDIR - -SET PATH=%QTDIR%\bin;%PATH% - -qmake -tp vc -r Tutorial.pro - -GOTO END -:ERR_QTDIR -ECHO Environment variable "QTDIR" has not been defined. Abort. - -:END +qmake -tp vc -r IESample.pro diff --git a/samples/qt/IESample/msvc.bat b/samples/qt/IESample/msvc.bat new file mode 100644 index 0000000000..075afd778f --- /dev/null +++ b/samples/qt/IESample/msvc.bat @@ -0,0 +1,4 @@ +call ../../../env.bat %1 %2 %3 +call %~dp0env.bat +if not ["%CASDEB%"] == [""] call ../../../msvc.bat %VCVER% win%ARCH% %CASDEB% IESample-%VCVER%.sln +if ["%CASDEB%"] == [""] call ../../../msvc.bat %VCVER% win%ARCH% "" IESample-%VCVER%.sln \ No newline at end of file diff --git a/samples/qt/IESample/Run.bat b/samples/qt/IESample/run.bat old mode 100755 new mode 100644 similarity index 56% rename from samples/qt/IESample/Run.bat rename to samples/qt/IESample/run.bat index d06fa5541e..754c2eb145 --- a/samples/qt/IESample/Run.bat +++ b/samples/qt/IESample/run.bat @@ -1,19 +1,11 @@ -@echo off +call ../../../env.bat %1 %2 %3 +call %~dp0env.bat -call "%~dp0env.bat" - -if not exist win32\vc8\obj goto QTSET - -if not exist "%QTDIR%" goto QTSET - -goto QT - -:QTSET - -set QTDIR=%ROOT%\3rdparty\win32\qt -set PATH=%QTDIR%;%PATH% - -:QT +IF not "%CASDEB%" EQU "" ( +SET BIN_DIR=win%ARCH%\%VCVER%\bind +) ELSE ( +SET BIN_DIR=win%ARCH%\%VCVER%\bin +) if not exist "%BIN_DIR%\IESample.exe" goto ERR_EXE @@ -28,4 +20,4 @@ echo Probably you didn't compile the application. pause goto END -:END +:END \ No newline at end of file diff --git a/samples/qt/Tutorial/Run.bat b/samples/qt/Tutorial/Run.bat deleted file mode 100755 index 41bcbc807b..0000000000 --- a/samples/qt/Tutorial/Run.bat +++ /dev/null @@ -1,35 +0,0 @@ -@ECHO OFF - -call "%~dp0env.bat" - -IF NOT EXIST win32\vc8\obj goto QTSET - -IF NOT EXIST "%QTDIR%" goto QTSET - -goto QT - -:QTSET - -SET QTDIR=%ROOT%\3rdparty\win32\qt -SET PATH=%QTDIR%;%PATH% - -:QT - -if not exist "%BIN_DIR%\Tutorial.exe" goto ERR_EXE - -echo %QTDIR% -echo Starting IESample ..... -start /D "%BIN_DIR%" Tutorial.exe - - - -GOTO END - -:ERR_EXE -ECHO Executable %BIN_DIR%\Tutorial.exe not found." -ECHO Probably you didn't compile the application. -pause -GOTO END - -:END - diff --git a/samples/qt/Tutorial/Run_MSVC.bat b/samples/qt/Tutorial/Run_MSVC.bat deleted file mode 100755 index 42e5a0099e..0000000000 --- a/samples/qt/Tutorial/Run_MSVC.bat +++ /dev/null @@ -1,23 +0,0 @@ -@echo off -rem Launch MS VC with environment prepared for building OCCT qt tutorial - -rem Set build environment - -call %~dp0env.bat - -call %~dp0..\..\..\ros\env_build.bat vc8 win32 - -rem Define path to project file -set PRJFILE=%~dp0Tutorial-vc8.sln - -rem Launch Visual Studio - either professional (devenv) or Express, as available -if exist "%DevEnvDir%\devenv.exe" ( - start devenv.exe "%PRJFILE%" /useenv -) else if exist "%DevEnvDir%\VCExpress.exe" ( - start VCExpress.exe "%PRJFILE%" /useenv -) else ( - echo Error: Could not find MS Visual Studio ^(%VCVER%^) - echo Check relevant environment variable ^(e.g. VS80COMNTOOLS for vc8^) -) - - diff --git a/samples/qt/Tutorial/Tutorial-vc10.sln b/samples/qt/Tutorial/Tutorial-vc10.sln index 70099ec9ad..ba41beef9b 100644 --- a/samples/qt/Tutorial/Tutorial-vc10.sln +++ b/samples/qt/Tutorial/Tutorial-vc10.sln @@ -1,4 +1,5 @@ Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tutorial", "Tutorial.vcproj", "{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}" EndProject Global diff --git a/samples/qt/Tutorial/Tutorial-vc8.sln b/samples/qt/Tutorial/Tutorial-vc8.sln index 0f4e2bf9ef..efd0859e9a 100644 --- a/samples/qt/Tutorial/Tutorial-vc8.sln +++ b/samples/qt/Tutorial/Tutorial-vc8.sln @@ -1,4 +1,5 @@ Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tutorial", "Tutorial.vcproj", "{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}" EndProject Global diff --git a/samples/qt/Tutorial/Tutorial-vc9.sln b/samples/qt/Tutorial/Tutorial-vc9.sln index 6acedaf9d7..f1ef1ba3ef 100644 --- a/samples/qt/Tutorial/Tutorial-vc9.sln +++ b/samples/qt/Tutorial/Tutorial-vc9.sln @@ -1,4 +1,5 @@ Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Tutorial", "Tutorial.vcproj", "{59DEDC8A-A5ED-31E8-8F2B-8D996E3A41D6}" EndProject Global diff --git a/samples/qt/Tutorial/Tutorial.pro b/samples/qt/Tutorial/Tutorial.pro index 4ca59ea83a..92c5ce172c 100755 --- a/samples/qt/Tutorial/Tutorial.pro +++ b/samples/qt/Tutorial/Tutorial.pro @@ -6,8 +6,9 @@ TARGET = Tutorial HEADERS = src/*.h SOURCES = src/*.cxx -INCLUDEPATH = $(CASROOT) $(CASROOT)/inc $(CASROOT)/src/WOKTclLib $(QTDIR)/include/QtCore \ - $(QTDIR)/include/QtGui $(QTDIR)/include +INCLUDES = $$(CSF_OPT_INC) +PATHS = $$split(INCLUDES,";") +for(path, PATHS):INCLUDEPATH += $${path} TS_FILES = ./src/Common-icon.ts \ ./src/Common-string.ts \ @@ -43,110 +44,99 @@ win32 { CONFIG(debug, debug|release) { DEFINES += _DEBUG !contains(QMAKE_HOST.arch, x86_64) { + LIBS = -L$(CSF_OPT_LIB32D) contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1310) { DESTDIR = ./win32/vc7/bind OBJECTS_DIR = ./win32/vc7/objd MOC_DIR = ./win32/vc7/srcd - LIBS = -L$(CASROOT)/win32/vc7/libd } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) { DESTDIR = ./win32/vc8/bind OBJECTS_DIR = ./win32/vc8/objd MOC_DIR = ./win32/vc8/srcd - LIBS = -L$(CASROOT)/win32/vc8/libd } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) { DESTDIR = ./win32/vc9/bind OBJECTS_DIR = ./win32/vc9/objd MOC_DIR = ./win32/vc9/srcd - LIBS = -L$(CASROOT)/win32/vc9/libd } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) { DESTDIR = ./win32/vc10/bind OBJECTS_DIR = ./win32/vc10/objd MOC_DIR = ./win32/vc10/srcd - LIBS = -L$(CASROOT)/win32/vc10/libd } } else { + LIBS = -L$(CSF_OPT_LIB64D) contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) { DESTDIR = ./win64/vc8/bind OBJECTS_DIR = ./win64/vc8/objd MOC_DIR = ./win64/vc8/srcd - LIBS = -L$(CASROOT)/win64/vc8/libd } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) { DESTDIR = ./win64/vc9/bind OBJECTS_DIR = ./win64/vc9/objd MOC_DIR = ./win64/vc9/srcd - LIBS = -L$(CASROOT)/win64/vc9/libd } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) { DESTDIR = ./win64/vc10/bind OBJECTS_DIR = ./win64/vc10/objd MOC_DIR = ./win64/vc10/srcd - LIBS = -L$(CASROOT)/win64/vc10/libd } } } else { DEFINES += NDEBUG !contains(QMAKE_HOST.arch, x86_64) { + LIBS = -L$(CSF_OPT_LIB32) contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1310) { DESTDIR = ./win32/vc7/bin OBJECTS_DIR = ./win32/vc7/obj MOC_DIR = ./win32/vc7/src - LIBS = -L$(CASROOT)/win32/vc7/lib } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) { DESTDIR = ./win32/vc8/bin OBJECTS_DIR = ./win32/vc8/obj MOC_DIR = ./win32/vc8/src - LIBS = -L$(CASROOT)/win32/vc8/lib } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) { DESTDIR = ./win32/vc9/bin OBJECTS_DIR = ./win32/vc9/obj MOC_DIR = ./win32/vc9/src - LIBS = -L$(CASROOT)/win32/vc9/lib } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) { DESTDIR = ./win32/vc10/bin OBJECTS_DIR = ./win32/vc10/obj MOC_DIR = ./win32/vc10/src - LIBS = -L$(CASROOT)/win32/vc10/lib } } else { + LIBS = -L$(CSF_OPT_LIB64) contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1400) { DESTDIR = ./win64/vc8/bin OBJECTS_DIR = ./win64/vc8/obj MOC_DIR = ./win64/vc8/src - LIBS = -L$(CASROOT)/win64/vc8/lib } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1500) { DESTDIR = ./win64/vc9/bin OBJECTS_DIR = ./win64/vc9/obj MOC_DIR = ./win64/vc9/src - LIBS = -L$(CASROOT)/win64/vc9/lib } contains(QMAKE_COMPILER_DEFINES, _MSC_VER=1600) { DESTDIR = ./win64/vc10/bin OBJECTS_DIR = ./win64/vc10/obj MOC_DIR = ./win64/vc10/src - LIBS = -L$(CASROOT)/win64/vc10/lib } } } DEFINES +=WNT WIN32 NO_COMMONSAMPLE_EXPORTS NO_IESAMPLE_EXPORTS } -LIBS += -lTKernel -lPTKernel -lTKMath -lTKService -lTKV3d -lTKV2d \ - -lTKBRep -lTKIGES -lTKSTL -lTKVRML -lTKSTEP -lTKSTEPAttr -lTKSTEP209 \ - -lTKSTEPBase -lTKShapeSchema -lTKGeomBase -lTKGeomAlgo -lTKG3d -lTKG2d \ - -lTKXSBase -lTKPShape -lTKShHealing -lTKHLR -lTKTopAlgo -lTKMesh -lTKPrim \ - -lTKCDF -lTKBool -lTKBO -lTKFillet -lTKOffset \ - -L$(QTDIR)/lib -lQtCore -lQtGui +LIBS += TKernel.lib PTKernel.lib TKMath.lib TKService.lib TKV3d.lib TKV2d.lib \ + TKBRep.lib TKIGES.lib TKSTL.lib TKVRML.lib TKSTEP.lib TKSTEPAttr.lib TKSTEP209.lib \ + TKSTEPBase.lib TKShapeSchema.lib TKGeomBase.lib TKGeomAlgo.lib TKG3d.lib TKG2d.lib \ + TKXSBase.lib TKPShape.lib TKShHealing.lib TKHLR.lib TKTopAlgo.lib TKMesh.lib TKPrim.lib \ + TKCDF.lib TKBool.lib TKBO.lib TKFillet.lib TKOffset.lib \ lrelease.name = LRELASE ${QMAKE_FILE_IN} -lrelease.commands = $(QTDIR)/bin/lrelease ${QMAKE_FILE_IN} -qm ./res/${QMAKE_FILE_BASE}.qm +lrelease.commands = lrelease ${QMAKE_FILE_IN} -qm ./res/${QMAKE_FILE_BASE}.qm lrelease.output = ./res/${QMAKE_FILE_BASE}.qm lrelease.input = TS_FILES lrelease.clean = ./res/${QMAKE_FILE_BASE}.qm diff --git a/samples/qt/Tutorial/env.bat b/samples/qt/Tutorial/env.bat index 5b152a9b56..d42ee2c7ef 100755 --- a/samples/qt/Tutorial/env.bat +++ b/samples/qt/Tutorial/env.bat @@ -1,33 +1,3 @@ -@ECHO OFF - -call "%~dp0..\..\..\ros\env.bat" - -IF NOT DEFINED CASROOT GOTO ERR_CASROOT - -IF NOT EXIST "%CASROOT%\win32\vc8\bin\TKernel.dll" GOTO ERR_CASCADE - -SET CASLIBS=%CASROOT%\win32\vc8\bin - -SET ROOT=%CASROOT%\.. - -set RES_DIR=%~dp0res -set BIN_DIR=%~dp0win32\vc8\bin - +SET RES_DIR=%~dp0res SET CSF_ResourcesDefaults=%RES_DIR% -SET CSF_TuturialResourcesDefaults=%RES_DIR% - -SET PATH=%CASLIBS%;%QTDIR%\bin;%PATH% - -GOTO END - -:ERR_CASROOT -ECHO Environment variable "CASROOT" has not been defined. Abort. -pause -exit /B - -:ERR_CASCADE -ECHO Environment variable "CASROOT" defined incorrectly. Abort. -pause -exit /B - -:END +SET CSF_IEResourcesDefaults=%RES_DIR% diff --git a/samples/qt/Tutorial/generation-vc-projects.bat b/samples/qt/Tutorial/generation-vc-projects.bat index 3bb98b3bdb..b306354459 100644 --- a/samples/qt/Tutorial/generation-vc-projects.bat +++ b/samples/qt/Tutorial/generation-vc-projects.bat @@ -3,17 +3,8 @@ REM Variable QTDIR and PATH to qmake executable must be defined without fail REM Use first argument to specify version of Visual Studio (vc8, vc9, or vc10), REM second argument specifies architecture) (win32 or win64) +REM third argument specifies Debug or Release mode -call "%~dp0..\..\..\ros\env_build.bat" %1 %2 - -IF NOT DEFINED QTDIR GOTO ERR_QTDIR - -SET PATH=%QTDIR%\bin;%PATH% +call ..\..\..\env.bat %1 %2 %3 qmake -tp vc -r Tutorial.pro - -GOTO END -:ERR_QTDIR -ECHO Environment variable "QTDIR" has not been defined. Abort. - -:END diff --git a/samples/qt/Tutorial/msvc.bat b/samples/qt/Tutorial/msvc.bat new file mode 100644 index 0000000000..d67dfad306 --- /dev/null +++ b/samples/qt/Tutorial/msvc.bat @@ -0,0 +1,4 @@ +call ../../../env.bat %1 %2 %3 +call %~dp0env.bat +if not ["%CASDEB%"] == [""] call ../../../msvc.bat %VCVER% win%ARCH% %CASDEB% Tutorial-%VCVER%.sln +if ["%CASDEB%"] == [""] call ../../../msvc.bat %VCVER% win%ARCH% "" Tutorial-%VCVER%.sln \ No newline at end of file diff --git a/samples/qt/Tutorial/run.bat b/samples/qt/Tutorial/run.bat new file mode 100644 index 0000000000..77e423a187 --- /dev/null +++ b/samples/qt/Tutorial/run.bat @@ -0,0 +1,23 @@ +call ../../../env.bat %1 %2 %3 +call %~dp0env.bat + +IF not "%CASDEB%" EQU "" ( +SET BIN_DIR=win%ARCH%\%VCVER%\bind +) ELSE ( +SET BIN_DIR=win%ARCH%\%VCVER%\bin +) + +if not exist "%BIN_DIR%\Tutorial.exe" goto ERR_EXE + +echo Starting Tutorial ..... +start /D "%BIN_DIR%" Tutorial.exe + +goto END + +:ERR_EXE +echo Executable %BIN_DIR%\Tutorial.exe not found." +echo Probably you didn't compile the application. +pause +goto END + +:END \ No newline at end of file diff --git a/samples/qt/Tutorial/src/MakeBottle.cxx b/samples/qt/Tutorial/src/MakeBottle.cxx index 1542d286a0..ebe45b9f01 100755 --- a/samples/qt/Tutorial/src/MakeBottle.cxx +++ b/samples/qt/Tutorial/src/MakeBottle.cxx @@ -166,21 +166,21 @@ MakeBottle(const Standard_Real myWidth , const Standard_Real myHeight , Handle(Geom_CylindricalSurface) aCyl2 = new Geom_CylindricalSurface(neckAx2 , myNeckRadius * 1.05); //Threading : Define 2D Curves - gp_Pnt2d aPnt(2. * PI , myNeckHeight / 2.); - gp_Dir2d aDir(2. * PI , myNeckHeight / 4.); + gp_Pnt2d aPnt(2. * M_PI , myNeckHeight / 2.); + gp_Dir2d aDir(2. * M_PI , myNeckHeight / 4.); gp_Ax2d aAx2d(aPnt , aDir); - Standard_Real aMajor = 2. * PI; + Standard_Real aMajor = 2. * M_PI; Standard_Real aMinor = myNeckHeight / 10; Handle(Geom2d_Ellipse) anEllipse1 = new Geom2d_Ellipse(aAx2d , aMajor , aMinor); Handle(Geom2d_Ellipse) anEllipse2 = new Geom2d_Ellipse(aAx2d , aMajor , aMinor / 4); - Handle(Geom2d_TrimmedCurve) aArc1 = new Geom2d_TrimmedCurve(anEllipse1 , 0 , PI); - Handle(Geom2d_TrimmedCurve) aArc2 = new Geom2d_TrimmedCurve(anEllipse2 , 0 , PI); + Handle(Geom2d_TrimmedCurve) aArc1 = new Geom2d_TrimmedCurve(anEllipse1 , 0 , M_PI); + Handle(Geom2d_TrimmedCurve) aArc2 = new Geom2d_TrimmedCurve(anEllipse2 , 0 , M_PI); gp_Pnt2d anEllipsePnt1 = anEllipse1->Value(0); - gp_Pnt2d anEllipsePnt2 = anEllipse1->Value(PI); + gp_Pnt2d anEllipsePnt2 = anEllipse1->Value(M_PI); Handle(Geom2d_TrimmedCurve) aSegment = GCE2d_MakeSegment(anEllipsePnt1 , anEllipsePnt2); diff --git a/samples/qt/voxeldemo/OpenGl/OpenGl.vcproj b/samples/qt/voxeldemo/OpenGl/OpenGl.vcproj index a408fe2c8a..7bda01bb53 100755 --- a/samples/qt/voxeldemo/OpenGl/OpenGl.vcproj +++ b/samples/qt/voxeldemo/OpenGl/OpenGl.vcproj @@ -1,9 +1,11 @@ @@ -103,9 +107,6 @@ - @@ -145,7 +146,7 @@ Name="VCCLCompilerTool" Optimization="2" InlineFunctionExpansion="1" - AdditionalIncludeDirectories="$(CASROOT)\inc,$(CASROOT)\drv\OpenGl" + AdditionalIncludeDirectories="$(CSF_OPT_INC)" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;OPENGL_EXPORTS;WNT" StringPooling="true" RuntimeLibrary="0" @@ -174,8 +175,10 @@ OutputFile="Release/VoxelOpenGl.dll" LinkIncremental="1" SuppressStartupBanner="true" - AdditionalLibraryDirectories="$(CASROOT)\win32\vc8\lib" + AdditionalLibraryDirectories="$(CSF_OPT_LIB32)" ProgramDatabaseFile=".\Release/VoxelOpenGl.pdb" + RandomizedBaseAddress="1" + DataExecutionPrevention="0" ImportLibrary=".\Release/VoxelOpenGl.lib" TargetMachine="1" /> @@ -199,9 +202,6 @@ - @@ -215,103 +215,115 @@ Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" > + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - @@ -135,7 +135,7 @@ - @@ -331,7 +330,7 @@ @@ -341,7 +340,7 @@ @@ -363,7 +362,7 @@ @@ -373,7 +372,7 @@ diff --git a/samples/qt/voxeldemo/env.bat b/samples/qt/voxeldemo/env.bat index 278519a09c..b07d52967e 100755 --- a/samples/qt/voxeldemo/env.bat +++ b/samples/qt/voxeldemo/env.bat @@ -1,11 +1,16 @@ @ECHO OFF -call %~dp0..\..\..\ros\env.bat - +IF not "%CASDEB%" EQU "" ( +SET BIN_DIR=Debug +) ELSE ( SET BIN_DIR=Release -SET CSF_GraphicShr=OpenGl\Release\VoxelOpenGl.dll +) -SET PATH=OpenGl\Release;%QTDIR%\bin;%QTDIR%;%PATH% +SET PATH=%~dp0%BIN_DIR%;%PATH% + +SET CSF_GraphicShr=OpenGl\%BIN_DIR%\VoxelOpenGl.dll + +SET PATH=%~dp0OpenGl\%BIN_DIR%;%PATH% SET CSF_TEX_FONT=2 SET MMGT_REENTRANT=1 diff --git a/samples/qt/voxeldemo/msvc.bat b/samples/qt/voxeldemo/msvc.bat new file mode 100644 index 0000000000..f0e56be8cd --- /dev/null +++ b/samples/qt/voxeldemo/msvc.bat @@ -0,0 +1,4 @@ +call ../../../env.bat %1 %2 %3 +call %~dp0env.bat +if not ["%CASDEB%"] == [""] call ../../../msvc.bat %VCVER% win%ARCH% %CASDEB% VoxelDemo-%VCVER%.sln +if ["%CASDEB%"] == [""] call ../../../msvc.bat %VCVER% win%ARCH% "" VoxelDemo-%VCVER%.sln \ No newline at end of file diff --git a/samples/qt/voxeldemo/run.bat b/samples/qt/voxeldemo/run.bat new file mode 100644 index 0000000000..d6571cce86 --- /dev/null +++ b/samples/qt/voxeldemo/run.bat @@ -0,0 +1,18 @@ +call ../../../env.bat %1 %2 %3 + +call %~dp0env.bat + +if not exist "%BIN_DIR%\VoxelDemo.exe" goto ERR_EXE + +echo Starting VoxelDemo ..... +start /D "%BIN_DIR%" VoxelDemo.exe + +goto END + +:ERR_EXE +echo Executable %BIN_DIR%\VoxelDemo.exe not found." +echo Probably you didn't compile the application. +pause +goto END + +:END \ No newline at end of file diff --git a/samples/qt/voxeldemo/src/Application.cpp b/samples/qt/voxeldemo/src/Application.cpp index 25fffb2f98..c4379b042f 100755 --- a/samples/qt/voxeldemo/src/Application.cpp +++ b/samples/qt/voxeldemo/src/Application.cpp @@ -1810,7 +1810,7 @@ void Application::displayWaves() di *= -1; i += di; } - double rad = -PI / 2.0 + double(i) / (double) nbx * PI; + double rad = -M_PI / 2.0 + double(i) / (double) nbx * M_PI; double c = cos(rad); xvalues[ix] = 15.0 * c; if (xvalues[ix] == 0)