Компиляция (Ускорение)
При разработке FreeCAD требуется сборка из исходного кода, и фаза компиляции / сборки может отнимать драгоценное время на разработку. Вот несколько советов, чтобы сократить этот процесс и сделать время сборки более эффективным.
CCache
Install ccache to cache builds
Disable Modules
Use cmake-curses-gui, cmake-qt-gui, or cmake flags to disable modules you aren't working on
make -j
Use make -j # to specify the number of jobs. A suggested value is your number of computer cores, e.g.
make -j $(nproc)
distcc
Distcc can be used for distributed compilation on a network.
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub