CMake Configuration Options - pharo-project/pharo-vm GitHub Wiki
This Page describes the different configuration options of the CMake configuration.
Such configuration options can be modified from CMake-aware IDEs (e.g., Visual studio) or by the command line at configure time (e.g., cmake . -DOPTION=VALUE).
Features
- FLAVOUR: The kind of VM to generate. Possible values:
StackVM,CoInterpreter. Default:CoInterpreter - ALWAYS_INTERACTIVE: Configure the VM to be interactive by default. Default
FALSE. Note that a non-interactive VM still contains the UI that can be activated using a Pharo image parameter./pharo Pharo.image --interactive - FEATURE_FFI: Configure and compile support for FFI in the VM. Default
TRUE - FEATURE_SOCKETS: Configure and compile support for sockets in the VM. Default
TRUE
Build Options
- GENERATE_SOURCES: Generates the sources from Slang. Default
TRUE - GENERATED_SOURCE_DIR: Directory for the generated Slang sources. If GENERATE_SOURCES is
FALSEthen pre-generated sources should be set at this location. - FEATURE_COMPILE_GNUISATION Use gcc gnu extensions to compile the VM. Default
TRUE - FEATURE_COMPILE_INLINE_MEMORY_ACCESSORS: Use inline memory accessors instead of macros. Required for MSVC compilation.
TRUE - WITHOUT_DEPENDENCIES: Do not download nor build dependencies at build time. Default FALSE.