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 binaryCONFIG+=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 defaultCONFIG+=PENCIL2D_NIGHTLY
: Marks the build as a nightly buildCONFIG+=PENCIL2D_RELEASE
: Marks the build as a released version of Pencil2DCONFIG+=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 testsPlease 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.
CONFIG+=debug
CONFIG+=release CONFIG+=PENCIL2D_NIGHTLY CONFIG+=GIT
CONFIG+=release CONFIG+=PENCIL2D_RELEASE CONFIG+=GIT
CONFIG+=release CONFIG+=PENCIL2D_RELEASE CONFIG+=WIN_LEGACY CONFIG+=NO_TESTS