1 MFC samples {#samples_mfc_standard}
5 -----------------------
7 The directory <i> samples/mfc/standard </i> contains the following packages and files:
9 * Numbered packages: **01_Geometry**, **02_Modeling**, etc. provide projects and sources of samples;
10 * Files **All-vc(number).sln** are auxiliary utility projects depending on all other sample
11 projects. When such project is rebuilt, all samples and *mfcsample* library are also rebuilt.
12 * **Common** directory provides common source and header files for samples and dynamic-link library *mfcsample.dll.*
13 * **Data** directory stores data files.
14 * **mfcsample** directory contains project for *mfcsample.dll* library providing basic functionality used by all OCC samples.
15 * File **env.bat** is called from *msvc.bat.*
18 2. Launching Open CASCADE Technology samples:
19 ---------------------------------
21 To run the Open CASCADE Technology samples, use command:
24 execute run.bat [vc10|vc11|vc12|vc14] [win32|win64] [Release|Debug] [SampleName]
27 To run the **Animation** sample, use command:
30 execute run.bat vc10 win64 Debug Animation
34 3. Modifying and rebuilding samples:
35 --------------------------------------------
37 You can modify, compile and launch all sample projects in MS Visual C++ at once with command:
40 execute msvc.bat [vc10|vc11|vc12|vc14] [win32|win64] [Release|Debug]
43 To run all sample projects in MS Visual C++ at once, use command:
46 execute msvc.bat vc10 win64 Debug
49 Note: make sure that your *PATH* environment variable contains a directory, where *msdev.exe* is located.