1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
bugmster 480bf81e37 0024428: Implementation of LGPL license
Update of OCCT samples source code due to moving to LGPL license
2013-12-17 12:43:15 +04:00
..
2012-03-06 10:17:06 +04:00

MFC samples

  1. Description of the tree structure:

|
|-- 01_Geometry                
|-- 02_Modeling
|-- 03_Viewer2d
|-- 04_Viewer3d                          	Projects and sources of samples
|-- 05_ImportExport 			   
|-- 06_Ocaf
|-- 07_Triangulation
|-- 08_HLR
|-- 09_Animation
|-- 10_Convert                        
|    
|-- All-vc"number".sln            			Auxilary utility project. It depends on all other sample
|                  			   projects, so when rebuilded it rebuilds all samples and 
|                   			   mfcsample library.
|
|-- Common 			Common source and header files for samples and
|    				   dynamic-link library mfcsample.dll.
| 
|-- Data            			Data files.
|
|-- mfcsample			Project for mfcsample.dll. This library is used by all 
|			 	   samples. It contains basic funcionality that commonly 
|				   needed in every OCC sample.
|
|
|-- env.bat       		This file is called from msvc.bat.
  1. Launching Open CASCADE Technology samples:

To run the Open CASCADE Technology samples:

execute run.bat [vc8|vc9|vc10] [win32|win64] [Release|Debug] [SampleName]

To run the Animation sample:

execute run.bat vc8 win32 Debug Animation

  1. Modifying and rebuilding samples:

You can modify, compile and launch all sample projects in MS Visual C++ at once:

execute msvc.bat [vc8|vc9|vc10] [win32|win64] [Release|Debug]

To run all sample projects in MS Visual C++ at once:

execute msvc.bat vc8 win32 Debug

Note: make sure your PATH environment variable contains a directory, msdev.exe is located in.