This is a raylib project template for people who love to compile their C programs using the MSVC compiler.
Warning
This template is optimized for an unity build workflow, though you can add your source files to the SOURCES
variable in the build.bat
.
Important
For faster compilation, raylib sources aren't compiled in this build process, so you won't be able to debug into raylib functions.
Tip
To update raylib, you can download the latest version directly here by selecting the appropriate raylib-X.X_winXX_msvc16.zip
file.
Before you start building, you need to obtain the devenv.bat
script from PortableBuildTools.
PortableBuildTools provides a collection of pre-built, portable tools that ensure a consistent build environment across different Windows machines, making it easier to get started with development without worrying about complex installations or dependencies.
It downloads standalone MSVC compiler, linker & other tools, also headers/libraries from Windows SDK, into a portable folder, without installing Visual Studio.
Make sure it generate the C:\BuildTools\devcmd.bat
script and add C:\BuildTools
to your PATH
environment varible then execute the build.bat
script.
You can edit the build.bat
to set the name of your game and select the build mode.
Enjoy programming!