[+] Added: _AU_BUILD_[subsystem/link type] build macro
[*] BUG: Added case for .cxx
This commit is contained in:
parent
a293a8dd95
commit
09eabe64ee
@ -62,7 +62,7 @@ local boilerplateProject = function(name, projectType, src, inc, dest, root)
|
|||||||
cppdialect("C++20")
|
cppdialect("C++20")
|
||||||
|
|
||||||
if (usingMSVC) then
|
if (usingMSVC) then
|
||||||
filter {"files:**.cpp or files:**.cc"}
|
filter {"files:**.cpp or files:**.cc or files:**.cxx"}
|
||||||
buildoptions {"/experimental:module-", "/Zc:__cplusplus"}
|
buildoptions {"/experimental:module-", "/Zc:__cplusplus"}
|
||||||
filter {}
|
filter {}
|
||||||
end
|
end
|
||||||
@ -79,6 +79,8 @@ local boilerplateProject = function(name, projectType, src, inc, dest, root)
|
|||||||
|
|
||||||
kind(projectType)
|
kind(projectType)
|
||||||
|
|
||||||
|
defines("_AU_BUILDING_" .. string.upper(projectType))
|
||||||
|
|
||||||
if (usingMSVC) then
|
if (usingMSVC) then
|
||||||
buildoptions {"-utf-8"}
|
buildoptions {"-utf-8"}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user