1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-26 10:19:45 +03:00
occt/samples/mfc/standard/ReadMe.md
ibs 5c573e69d3 0024355: Compiler Warning level 4 for MFC samples
Some warnings were removed from MFC samples
All warnings of sample projects with warning level 4 were fixed on VC9
Warnings level increased to -W4 in projects of MFC samples; sample ReadMe files added to documentation
Changes in Viewer2dDoc.cpp and OcafDoc.cpp were restored.
Minor corrections in documentation
2013-11-21 13:45:42 +04:00

61 lines
1.8 KiB
Markdown

MFC samples {#samples_mfc_standard}
==========
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.
2. 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
3. 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.