moai / moai-dev

This is the development repo of Moai SDK.
http://getmoai.com
943 stars 313 forks source link

Fixes to make windows build work again #1216

Closed sshukul closed 5 years ago

sshukul commented 5 years ago
  1. Migrated sln and vcxproj files to Visual Studio 2019 to keep everything up to date. Changed directory name accordingly and added its build dirs to gitignore.
  2. Fixed some compilation errors specific to the visual studio c++ compiler such as ambiguous casts, unused variables with duplicate names, typos and missed headers.
  3. Modified the sdl, zlib and expat vcxproj projects to point to the new versions that have been updated in the 3rdparty directory. Add / remove new file references into the respective projects from within the new version directories as required for compilation and linking.
  4. Flipped "treat warning as error" flags in some projects since there are some more warnings since moai 2.0 upgrade that were failing windows build otherwise.
  5. Removed LuaJIT project references since it is currently unused in moai 2.0.
  6. Added the necessary ZLIB_DEBUG flag in the new zlib project to get the debug builds to compile correctly. This is not added in the release builds.