Template
29 lines
526 B
Lua
29 lines
526 B
Lua
require("premake", ">=5.0.0-beta8")
|
|
|
|
workspace "cpp-template"
|
|
do
|
|
platforms {"x64"}
|
|
configurations {"Debug", "Release"}
|
|
startproject "cpp-application"
|
|
|
|
-- Default fields for all projects
|
|
targetdir "bin/%{cfg.buildcfg:lower()}"
|
|
objdir ".obj/%{cfg.buildcfg:lower()}"
|
|
cppdialect "C++23"
|
|
multiprocessorcompile "On"
|
|
optimize "Full"
|
|
symbols "On"
|
|
warnings "High"
|
|
|
|
filter "configurations:Debug"
|
|
do
|
|
optimize "Off"
|
|
symbols "Full"
|
|
end
|
|
|
|
filter ""
|
|
|
|
include "core-library"
|
|
include "application"
|
|
end
|