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:
parent
f22dfba717
commit
0ce7a7f5c8
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user