[+] Added: _AU_BUILD_[subsystem/link type] build macro

[*] BUG: Added case for .cxx
This commit is contained in:
Reece Wilson 2021-10-24 12:27:06 +01:00
parent a293a8dd95
commit 09eabe64ee

View File

@ -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