Skip to content

Building the Engine

Viktor Kovacs edited this page Jan 1, 2021 · 42 revisions

Building on Windows

Visual Studio 2017/2019

  • Generate project files with cmake to the Build directory.
    • Command for Visual Studio 2017: cmake -G "Visual Studio 15 2017 Win64" ..
    • Command for Visual Studio 2019: cmake -G "Visual Studio 16 2019" -A "x64"
  • Open the solution Build\VisualScriptEngine.sln.
  • Build the solution.

Example for generating a Visual Studio project:

mkdir Build
cd Build
cmake -G "Visual Studio 16 2019" -A "x64"
cd ..

Xcode

  • Generate project files with cmake to the Build directory.
    • Command: cmake -G Xcode ..
  • Open the project Build/VisualScriptEngine.xcodeproj.
  • Build the project.

Example for generating an XCode project:

mkdir Build
cd Build
cmake -G Xcode ..
cd ..

Other compilers

The following compilers are tested for the core modules.

  • Windows
    • Visual Studio 2017
    • Visual Studio 2019
  • Linux
    • gcc-7
    • gcc-8
    • gcc-9
    • clang-7
    • clang-8
    • clang-9
    • clang-10
  • OSX
    • XCode 10
    • XCode 11
    • XCode 12

Warning Level

All codes are compiling with the maximum warning level on every compilers.