Changeset View
Changeset View
Standalone View
Standalone View
build/premake/premake5.lua
Show First 20 Lines • Show All 1,081 Lines • ▼ Show 20 Lines | function setup_atlas_project(project_name, target_type, rel_source_dirs, rel_include_dirs, extern_libs, extra_params) | ||||
end | end | ||||
project_add_contents(source_root, rel_source_dirs, rel_include_dirs, extra_params) | project_add_contents(source_root, rel_source_dirs, rel_include_dirs, extra_params) | ||||
project_add_extern_libs(extern_libs, target_type) | project_add_extern_libs(extern_libs, target_type) | ||||
-- Platform Specifics | -- Platform Specifics | ||||
if os.istarget("windows") then | if os.istarget("windows") then | ||||
-- Link to required libraries | -- Link to required libraries | ||||
links { "winmm", "comctl32", "rpcrt4", "delayimp", "ws2_32" } | links { "winmm", "delayimp" } | ||||
elseif os.istarget("linux") or os.istarget("bsd") then | elseif os.istarget("linux") or os.istarget("bsd") then | ||||
buildoptions { "-rdynamic", "-fPIC" } | buildoptions { "-rdynamic", "-fPIC" } | ||||
linkoptions { "-fPIC", "-rdynamic" } | linkoptions { "-fPIC", "-rdynamic" } | ||||
-- warnings triggered by wxWidgets | -- warnings triggered by wxWidgets | ||||
buildoptions { "-Wno-unused-local-typedefs" } | buildoptions { "-Wno-unused-local-typedefs" } | ||||
▲ Show 20 Lines • Show All 380 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator