0029589: Configuration - allow MFC samples to be built when OCCT is linked statically
[occt.git] / samples / mfc / standard / ReadMe.md
CommitLineData
5c573e69 1MFC samples {#samples_mfc_standard}
2==========
7fd59977 3
f3fb84ce 41. Contents
5-----------------------
6
7The directory <i> samples/mfc/standard </i> contains the following packages and files:
8
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
11projects. 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.*
16
17
7fd59977 182. Launching Open CASCADE Technology samples:
19---------------------------------
20
f3fb84ce 21To run the Open CASCADE Technology samples, use command:
7fd59977 22
f3fb84ce 23~~~~
693c4bbe 24execute run.bat [vc10|vc11|vc12|vc14] [win32|win64] [Release|Debug] [SampleName]
f3fb84ce 25~~~~
26
27To run the **Animation** sample, use command:
28
29~~~~
693c4bbe 30execute run.bat vc10 win64 Debug Animation
f3fb84ce 31~~~~
7fd59977 32
7fd59977 33
343. Modifying and rebuilding samples:
35--------------------------------------------
36
f3fb84ce 37You can modify, compile and launch all sample projects in MS Visual C++ at once with command:
38
39~~~~
693c4bbe 40execute msvc.bat [vc10|vc11|vc12|vc14] [win32|win64] [Release|Debug]
f3fb84ce 41~~~~
7fd59977 42
f3fb84ce 43To run all sample projects in MS Visual C++ at once, use command:
7fd59977 44
f3fb84ce 45~~~~
693c4bbe 46execute msvc.bat vc10 win64 Debug
f3fb84ce 47~~~~
7fd59977 48
f3fb84ce 49Note: make sure that your *PATH* environment variable contains a directory, where *msdev.exe* is located.