1
0
forked from 0ad/0ad

Go back to the legacy syntax for detecting premake actions.

The filter command does only filter out premake commands, and does not
act on Lua instructions like this one. Some code refactoring would be
needed in order to take advantage of the powerful filter syntax.

Refs #3439.

This was SVN commit r20563.
This commit is contained in:
Nicolas Auvray 2017-11-29 22:37:09 +00:00
parent f22dfba717
commit 0ce7a7f5c8

View File

@ -852,11 +852,11 @@ function setup_all_libs ()
end
-- runtime-library-specific
filter "action:vs*"
if _ACTION == "vs2013" or _ACTION == "vs2015" then
table.insert(source_dirs, "lib/sysdep/rtl/msc");
filter "action:not vs*"
else
table.insert(source_dirs, "lib/sysdep/rtl/gcc");
filter {}
end
setup_static_lib_project("lowlevel", source_dirs, extern_libs, extra_params)