mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
unrelated changes: Unused unit OpenCL removed from UDLIST All articles revised README revised comments are allowed in FILES.txt Add gendoc.sh for Linux Added option -s to set search engine of the HTML documents Added 3rdparty_building docs for different platforms help message removed from bat&sh scripts (left within tcl script) tableofcontents added for all huge articles; gendoc.bat doesn't change PATH variable jpgs converted to pngs and unused pngs removed logo displaying of pdf files fixed Automatic detection of OCCT version number added to occtdoc.tcl OCCT version within pdfs is got from Standard_Version.hxx; copyright changed pdf generation process removes latex dir now GIF images converted to PNG in technical_overview; references fixed (incorrect reference to wok and cdl didn't touch; redundant latex option removed Tutorial moved from Overview and made top level page LICENSE.md moved from dox/overview to dox folder Section related to OCCT building refactored and simplified. WOK and CDL explicitly declared as deprecated.
32 lines
1.2 KiB
Markdown
32 lines
1.2 KiB
Markdown
Building with MS Visual C++ {#dev_guides__building__msvc}
|
|
===========================
|
|
|
|
This file describes steps to build OCCT libraries from complete source
|
|
archive on Windows with MS Visual C++.
|
|
|
|
If you are building OCCT from bare sources (as in Git repository), or do some
|
|
changes affecting CDL files, you need to use WOK to re-generate header files
|
|
and build scripts / projects. See \ref dev_guides__building__wok for instructions.
|
|
|
|
Before building OCCT, you need to install required third-party libraries; see
|
|
OCCT_Build3rdParty_Windows.pdf for instructions.
|
|
|
|
1. Edit file custom.bat to define environment:
|
|
|
|
- VCVER - version of Visual Studio (vc8, vc9, vc10 or vc11),
|
|
and relevant VCVARS path
|
|
- ARCH - architecture (32 or 64), affects only PATH variable for execution
|
|
- HAVE_* - flags to enable or disable use of optional third-party products
|
|
- CSF_OPT_* - paths to search for includes and binaries of all used
|
|
third-party products
|
|
|
|
2. Launch msvc.bat to start Visual Studio with all necessary environment
|
|
variables defined.
|
|
|
|
Note: the MSVC project files are located in folders adm\\msvc\\vc[9-11].
|
|
Binaries are produced in win32 or win64 folders.
|
|
|
|
3. Build with Visual Studio
|
|
|
|
To start DRAW, launch draw.bat.
|