Make compilation process compatible to linux on gcc

This commit is contained in:
Jan committed 2021-03-03 06:21:25 -08:00
1 parent 1cd06668e0
commit b4d8e9c17b
23 files changed
+210 -23

No files matched your search

+9
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
-- ==================