5c573e69 |
1 | MFC samples {#samples_mfc_standard} |
2 | ========== |
7fd59977 |
3 | |
4 | 1. Description of the tree structure: |
5 | --------------------------------------------- |
6 | |
7 | | |
8 | |-- 01_Geometry |
9 | |-- 02_Modeling |
10 | |-- 03_Viewer2d |
5c573e69 |
11 | |-- 04_Viewer3d Projects and sources of samples |
7fd59977 |
12 | |-- 05_ImportExport |
13 | |-- 06_Ocaf |
14 | |-- 07_Triangulation |
15 | |-- 08_HLR |
16 | |-- 09_Animation |
17 | |-- 10_Convert |
18 | | |
5c573e69 |
19 | |-- All-vc"number".sln Auxilary utility project. It depends on all other sample |
7fd59977 |
20 | | projects, so when rebuilded it rebuilds all samples and |
5c573e69 |
21 | | mfcsample library. |
7fd59977 |
22 | | |
5c573e69 |
23 | |-- Common Common source and header files for samples and |
24 | | dynamic-link library mfcsample.dll. |
7fd59977 |
25 | | |
5c573e69 |
26 | |-- Data Data files. |
7fd59977 |
27 | | |
5c573e69 |
28 | |-- mfcsample Project for mfcsample.dll. This library is used by all |
7fd59977 |
29 | | samples. It contains basic funcionality that commonly |
5c573e69 |
30 | | needed in every OCC sample. |
7fd59977 |
31 | | |
32 | | |
cc5ac00d |
33 | |-- env.bat This file is called from msvc.bat. |
7fd59977 |
34 | |
35 | |
36 | 2. Launching Open CASCADE Technology samples: |
37 | --------------------------------- |
38 | |
39 | To run the Open CASCADE Technology samples: |
40 | |
576f8b11 |
41 | execute run.bat [vc8|vc9|vc10|vc11|vc12] [win32|win64] [Release|Debug] [SampleName] |
7fd59977 |
42 | |
43 | To run the Animation sample: |
44 | |
5c573e69 |
45 | execute run.bat vc8 win32 Debug Animation |
7fd59977 |
46 | |
47 | 3. Modifying and rebuilding samples: |
48 | -------------------------------------------- |
49 | |
50 | You can modify, compile and launch all sample projects in MS Visual C++ at once: |
51 | |
576f8b11 |
52 | execute msvc.bat [vc8|vc9|vc10|vc11|vc12] [win32|win64] [Release|Debug] |
7fd59977 |
53 | |
54 | To run all sample projects in MS Visual C++ at once: |
55 | |
5c573e69 |
56 | execute msvc.bat vc8 win32 Debug |
7fd59977 |
57 | |
58 | |
59 | Note: make sure your PATH environment variable contains a directory, |
60 | msdev.exe is located in. |