Pencil2D Animation
Download Community News Docs Contribute
  • Overview
  • Articles
  • Code
  •  
Loading...
Searching...
No Matches
Build Options

Commonly Used Options

These are options you might want to pass to QMake when configuring your build.

  • -spec …: Used to specify the platform and compiler of the build. There is no comprehensive list of available options, but usually you will only need the ones mentioned in our build guides (macOS, Linux, Windows)
  • QMAKE_CXX=…: Used to overwrite the C++ compiler binary
  • CONFIG+=release / CONFIG+=debug: Indicates that the build is meant for release or development, respectively. On non-Windows systems CONFIG+=release is the default, while on Windows, both a release and a development build are generated by default
  • CONFIG+=PENCIL2D_NIGHTLY: Marks the build as a nightly build
  • CONFIG+=PENCIL2D_RELEASE: Marks the build as a released version of Pencil2D
  • CONFIG+=GIT: Signifies that the git command line program is available and causes information about the current state of the repository to be included in the build. Currently this does nothing without CONFIG+=PENCIL2D_NIGHTLY
  • CONFIG+=NO_TESTS: Disables unit tests

Please note that there is little benefit in using CONFIG+=NIGHTLY or CONFIG+=GIT in development builds; in fact these options might prevent build acceleration tools such as ccache from working properly.

Common Build Configurations

  • Development builds: CONFIG+=debug
  • Nightly builds: CONFIG+=release CONFIG+=PENCIL2D_NIGHTLY CONFIG+=GIT
  • Release builds: CONFIG+=release CONFIG+=PENCIL2D_RELEASE CONFIG+=GIT
  • Windows legacy build: CONFIG+=release CONFIG+=PENCIL2D_RELEASE CONFIG+=WIN_LEGACY CONFIG+=NO_TESTS
    • This build should use Visual Studio 2013 Community and Qt 5.6.3 (VS2013 32bit)
Generated on Thu May 8 2025 04:47:53 for Pencil2D by doxygen 1.9.6 based on revision 4513250b1d5b1a3676ec0e67b06b7a885ceaae39