Open the command-line build prompt. e.g. VS2015 x64 Native Tools Command Prompt
or VS2015 x86 Native Tools Command Prompt.
Change into the JFBuild source code folder, then compile the engine and test game
with: nmake /f Makefile.msvc
Assuming success, run the test game with: kenbuild-data\game
Compilation options
Some engine features may be enabled or disabled at compile time. These can be passed
to the MAKE tool, or written to a Makefile.user (Makefile.msvcuser for MSVC) file in
the source directory.
These options are available:
RELEASE=1 – build with optimisations for release.
RELEASE=0 – build for debugging.
USE_POLYMOST=1 – enable the true 3D renderer.
USE_POLYMOST=0 – disable the true 3D renderer.
USE_OPENGL=1 – enable use of OpenGL 2.0 acceleration.
USE_OPENGL=USE_GL2 – enable use of OpenGL 2.0 acceleration. (GCC/clang syntax.)
USE_OPENGL=USE_GLES2 – enable use of OpenGL ES 2.0 acceleration. (GCC/clang syntax.)
USE_OPENGL=0 – disable use of OpenGL acceleration.
WITHOUT_GTK=1 – disable use of GTK+ to provide launch windows and load/save file choosers.
Test game configuration
Settings for the KenBuild test game and its editor can be found in these locations
depending on your operating system:
Windows 7, 8/10: C:\Users\xxx\AppData\Local\KenBuild
请发表评论