Make compilation process compatible to linux on gcc

This commit is contained in:
Jan
2021-03-03 06:21:25 -08:00
parent 1cd06668e0
commit b4d8e9c17b
23 changed files with 210 additions and 23 deletions

View File

@ -55,6 +55,15 @@ TargetDirectoryBin = "%{wks.location}/bin/%{cfg.buildcfg}_%{cfg.platform}"
TargetDirectoryLib = "%{wks.location}/lib/%{cfg.buildcfg}_%{cfg.platform}"
TargetDirectoryTest = "%{wks.location}/lib/%{cfg.buildcfg}_%{cfg.platform}/tests"
-- Platform functions
function ExecutableByOs(name)
if os.host() == "windows" then
return name .. ".exe"
else
return name
end
end
-- ==================
-- Workspace
-- ==================