<ClCompile Include="$(LuaDir)lauxlib.c" />\r
<ClCompile Include="$(LuaDir)lbaselib.c" />\r
<ClCompile Include="$(LuaDir)lbitlib.c">\r
- <ExcludedFromBuild Condition="'$(LUA_VERSION)'=='5.4.2'">true</ExcludedFromBuild>\r
- <ExcludedFromBuild Condition="'$(LUA_VERSION)'=='5.4.1'">true</ExcludedFromBuild>\r
- <ExcludedFromBuild Condition="'$(LUA_VERSION)'=='5.4.0'">true</ExcludedFromBuild>\r
- <ExcludedFromBuild Condition="'$(LUA_VERSION)'=='5.3.5'">false</ExcludedFromBuild>\r
+ <ExcludedFromBuild Condition="'$(LUA_VERSION.Substring(0,3))'=='5.4'">true</ExcludedFromBuild>\r
+ <ExcludedFromBuild Condition="'$(LUA_VERSION.Substring(0,3))'=='5.3'">false</ExcludedFromBuild>\r
</ClCompile>\r
<ClCompile Include="$(LuaDir)lcode.c" />\r
<ClCompile Include="$(LuaDir)lcorolib.c" />\r
<ClCompile Include="$(LuaDir)lauxlib.c" />\r
<ClCompile Include="$(LuaDir)lbaselib.c" />\r
<ClCompile Include="$(LuaDir)lbitlib.c">\r
- <ExcludedFromBuild Condition="'$(LUA_VERSION)'=='5.4.0'">true</ExcludedFromBuild>\r
- <ExcludedFromBuild Condition="'$(LUA_VERSION)'=='5.4.1'">true</ExcludedFromBuild>\r
- <ExcludedFromBuild Condition="'$(LUA_VERSION)'=='5.4.2'">true</ExcludedFromBuild>\r
- <ExcludedFromBuild Condition="'$(LUA_VERSION)'=='5.3.5'">false</ExcludedFromBuild>\r
+ <ExcludedFromBuild Condition="'$(LUA_VERSION.Substring(0,3))'=='5.4'">true</ExcludedFromBuild>\r
+ <ExcludedFromBuild Condition="'$(LUA_VERSION.Substring(0,3))'=='5.3'">false</ExcludedFromBuild>\r
</ClCompile>\r
<ClCompile Include="$(LuaDir)lcode.c" />\r
<ClCompile Include="$(LuaDir)lcorolib.c" />\r