diff --git a/Boilerplate/project.lua b/Boilerplate/project.lua index f273493..616a857 100644 --- a/Boilerplate/project.lua +++ b/Boilerplate/project.lua @@ -62,7 +62,7 @@ local boilerplateProject = function(name, projectType, src, inc, dest, root) cppdialect("C++20") if (usingMSVC) then - filter {"files:**.cpp or files:**.cc"} + filter {"files:**.cpp or files:**.cc or files:**.cxx"} buildoptions {"/experimental:module-", "/Zc:__cplusplus"} filter {} end @@ -79,6 +79,8 @@ local boilerplateProject = function(name, projectType, src, inc, dest, root) kind(projectType) + defines("_AU_BUILDING_" .. string.upper(projectType)) + if (usingMSVC) then buildoptions {"-utf-8"} end