-- Here's a sample file to show how to use prelude. You can directly copy it to -- premake5.lua to get ready to work with some libraries or tweak it. local prelude = require "prelude" local portaudio = require "prelude.libraries.portaudio" local physfs = require "prelude.libraries.physfs" local glm = require "prelude.libraries.glm" workspace "Your Project here" prelude.base_workspace_settings() startproject "Main" -- TODO: Decide about whether keeping the group usage here or include it in -- use's call. group "External" glm:use "None" portaudio:use "SharedLib" physfs:use "SharedLib" group "" -- I'll also try to have a common core system to factorize some programming -- elements together. project "Core" kind "StaticLib" files {"include/core/**.hpp", "src/core/**.cpp"} includedirs {"include"} project "Main" cppdialect "C++17" kind "ConsoleApp" files {"include/main/**.hpp", "src/main/**.cpp"} includedirs {"include"} links {"Core"} -- TODO : issues at link on VS2015. Does it happen at home? -- Need to manually check "Link Library Dependencies" every time. prelude.link_against_modules {portaudio, physfs, glm}