Translations:Compile on Windows/80/it: Difference between revisions

From FreeCAD Documentation
(Created page with "{| class="wikitable" style="text-align:left" |+ Link table |- ! Nome variabile !! Descrizione !! Predefinito |- | FREECAD_LIBPACK_USE || Attivare o disat...")
 
mNo edit summary
Line 4: Line 4:
! Nome variabile !! Descrizione !! Predefinito
! Nome variabile !! Descrizione !! Predefinito
|-
|-
| BUILD_XXX || Crea FreeCAD con il componente XXX. Se non si desidera / è necessario compilare ad es. il workbench ''OpenSCAD'', disabilita la variabile ''BUILD_OPENSCAD''. FreeCAD non avrà quindi questo banco di lavoro.
| FREECAD_LIBPACK_USE || Attivare o disattivare l'uso di FreeCAD LibPack || Su Win32 acceso, altrimenti spento
|-
| FREECAD_LIBPACK_DIR || Directory in cui si trova LibPack || FreeCAD SOURCE dir
|-
| FREECAD_BUILD_GUI || Costruisci FreeCAD con tutti i moduli relativi a Gui || ON
|-
| FREECAD_BUILD_CAM || Costruisci il modulo CAM, sperimentale! || OFF
|-
| FREECAD_BUILD_INSTALLER || Creare i file di progetto per il programma di installazione di Windows. || OFF
|-
| FREECAD_BUILD_DOXYGEN_DOCU || Creare i file di progetto per la documentazione del codice sorgente. || OFF
|-
| FREECAD_MAINTAINERS_BUILD || Attivare le cose necessarie solo quando si esegue una build di rilascio. || OFF
|}

Revision as of 09:53, 22 October 2019

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Compile on Windows)
{| class="wikitable" style="text-align:left"
|-
! Variable name      !! Description  !! Default
|-
| BUILD_XXX || Build FreeCAD with the component XXX. If you don't want/need to compile e.g. the workbench ''OpenSCAD'', disable the variable ''BUILD_OPENSCAD''. FreeCAD will then not have this workbench.
'''Note:''' Some components are required for other components. If you for example uncheck ''BUILD_ROBOT'' CMake will inform you that then the component ''Path'' cannot be compiled correctly. Therefore check the CMake output after you changed a BUILD_XXX option!
|| depends
|-
| BUILD_ENABLE_CXX_STD || The version of the C++ language standard. '''C++14''' is the highest possible for FreeCAD 0.19 while at least '''C++17''' is required for FreeCAD 0.20. See also the note in the section [[#Release_Build|Building with Visual Studio 15 (2017) and 16 (2019)]]
|| depends
|-
| BUILD_DESIGNER_PLUGIN|| To build the Qt Designer plugin, see [[Compile_on_Windows#Qt_Designer_plugin|this section below]] || OFF
|-
| BUILD_FLAT_MESH|| Necessary to have a build that includes the [[MeshPart_CreateFlatMesh|CreateFlatMesh feature]] || OFF
|-
| CMAKE_INSTALL_PREFIX  || The output folder when building the target ''INSTALL'', see also the section [[#Running and installing FreeCAD|Running and installing FreeCAD]] || Windows default program installation folder
|-
| FREECAD_COPY_DEPEND_DIRS_TO_BUILD || Copies depending libraries needed to execute the FreeCAD.exe to the build folder. See also the section [[#Running and installing FreeCAD|Running and installing FreeCAD]].</br> '''Note:''' the options FREECAD_COPY_XXX only appear if the libraries were not already copied. If you only need to upgrade/change to another LibPack version, see the section [[#Updating_the_LibPack|Updating the LibPack]]. If you want to bring back the options for some reason, you need to delete all folders in your build folder, except for the LibPack folder. In CMake delete the cache and start as if you compile for the first time. || OFF
|-
| FREECAD_COPY_LIBPACK_BIN_TO_BUILD || Copies the LibPack binaries needed to execute the FreeCAD.exe to the build folder. See also the section [[#Running and installing FreeCAD|Running and installing FreeCAD]]. || OFF
|-
| FREECAD_COPY_PLUGINS_BIN_TO_BUILD|| Copies Qt's plugin files needed to execute the FreeCAD.exe to the build folder. See also the section [[#Running and installing FreeCAD|Running and installing FreeCAD]]. || OFF
|-
| FREECAD_LIBPACK_USE || Switch the usage of the FreeCAD LibPack on or off  || ON
|-
| FREECAD_LIBPACK_DIR || Directory where the LibPack is || FreeCAD's source code folder
|-
| FREECAD_RELEASE_PDB || Create debug libraries (*.pdb) also for release builds. It doesn't affect the speed (like a real debug build would do) and can be very useful to locate crashes in FreeCAD code. In case FreeCAD crashes a ''crash.dmp'' file will be created that can be loaded with MSVC and if you have the corresponding PDB files plus the source code of that version you can debug through the code. Without the PDB files it's not possible to debug the code and all what the debugger shows is the name of the DLL where the crash has occurred. || ON
|-
| FREECAD_USE_MP_COMPILE_FLAG || Adds the /MP (multiprocessor) option to the Visual Studio projects, enabling speedups on multi-core CPUs. This can greatly accelerate builds on modern processors.</br>'''Note:''' If you turn off '''FREECAD_USE_PCH''', the compilation can quickly overload your heap space, even if you have 16 GB RAM. || ON
|-
| FREECAD_USE_PCH || [https://en.wikipedia.org/wiki/Precompiled_header Precompiles the headers] in order to save compilation time. || ON
|-
| FREECAD_USE_PYBIND11|| Includes the [https://github.com/pybind/pybind11 PyBind11] library. Necessary to have a build that includes the [[MeshPart_CreateFlatMesh|CreateFlatMesh feature]].</br>'''Note:''' after turning it on you might get a configuration error. Just configure again and the problem should go away. || OFF
|}
Link table
Nome variabile Descrizione Predefinito
BUILD_XXX Crea FreeCAD con il componente XXX. Se non si desidera / è necessario compilare ad es. il workbench OpenSCAD, disabilita la variabile BUILD_OPENSCAD. FreeCAD non avrà quindi questo banco di lavoro.