Intro to Premake and Build Systems | C++ For Java Devs Ep. 6

Channel:
Subscribers:
59,400
Published on ● Video Link: https://www.youtube.com/watch?v=5aB16i12YdA



Duration: 26:20
5,545 views
134


Join the Discord: https://discord.gg/4tHeAkxNg7

In this episode I go over a quick introduction to what a build system is and why we need it, then I describe how to create a premake file and generate a Visual Studio solution using the premake file.

Premake: https://premake.github.io/

Source Code/Build Files for this Episode: https://gist.github.com/codingminecraft/d5f3d01b33498a2c77014e263ed06eb8

0:00 In This Episode
2:56 Premake Installation & Docs
3:23 Setting up the File Structure
5:33 Creating the First Premake File
14:11 Generating Build Files using Premake
15:41 Exploring Generated VS Project
16:55 Updating Build.bat
22:04 Adding a "Clean" Action
24:35 Fixing a Bug
25:20 Challenge

---------------------------------------------------------------------
Website: https://ambrosiogabe.github.io/
Github: https://github.com/ambrosiogabe

Here are some books I recommend if you want to learn about game engine development more thoroughly. I do not profit off any of these sales, these are just some books that have helped me out :)

My Recommended Game Engine Books:
Game Engine Architecture: https://www.gameenginebook.com/
Game Physics Cookbook (Read this before the next physics book): https://www.amazon.com/Game-Physics-Cookbook-Gabor-Szauer/dp/1787123669
Game Physics (Ian Millington): https://www.amazon.com/Game-Physics-Engine-Development-Commercial-Grade/dp/0123819768
Game Programming Patterns (Free): https://gameprogrammingpatterns.com/

My Recommended Beginning Game Programming Books:
JavaScript Game Design: https://www.apress.com/gp/book/9781430247166

My Recommended Java Books:
Data Structures/Algorithms: https://www.amazon.com/Data-Structures-Algorithms-Java-6th-ebook/dp/B00JDRQF8C
LWJGL (Free, but I haven't read this thoroughly): https://lwjglgamedev.gitbooks.io/3d-game-development-with-lwjgl/content/







Tags:
gameswithgabe
games with gabe
c++
how to code in c++ for java developer
premake
how to use premake
intro to premake
build systems
how to use premake to compile
compiler options
msvc compiler options
linker options
msvc linker options
visual studio
setting up visual studio
c++ quickstart
c++ basics