For testing purposes, drop tointeger and pushint since Lua uses ptrdiff causing inconsistent behaviour if we try to get a longword value from tointeger on 64 bit vs 32bit. This should improve script reliability a bit
foreach(dir
Fonts
Forts
Graphics
Locale
Maps
Missions
Music
Names
Scripts
Sounds
Themes
misc
)
add_subdirectory(${dir})
endforeach(dir)
if(${GL2})
add_subdirectory(Shaders)
endif(${GL2})