CMake Buildsystem & MSVC Support

Reporter: RobertBColton  |  Status: open  |  Last Modified: March 02, 2019, 11:09:00 AM

This is a recreation of #1481 that includes my Windows fixes. The basic idea here is to allow building games with CMake which has advantages (one being that it can handle spaces in paths) and disadvantages. The other motivation here is to also facilitate building games with MSVC since we now support building all of the frontend tools with MSVC. This will actually make it easier for GMS users to switch to ENIGMA because MSVC is already a requirement for them, so they will probably already have it installed and won't need to download MSYS2 then. Further, it's a generally good idea to use the native build tools of any given platform rather than MinGW hacks.

Download CMake Find Modules: cmakemodules.zip

codecov[bot]  
>Codecov Report

Merging #1490 into master will increase coverage by <.01%.
The diff coverage is 25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1490      +/-   ##
==========================================
+ Coverage    17.6%   17.61%   +<.01%     
==========================================
  Files         165      165              
  Lines       17127    17126       -1     
==========================================
+ Hits         3015     3016       +1     
+ Misses      14112    14110       -2
Impacted Files Coverage Δ
...Asystem/SHELL/Graphics_Systems/General/GSmodel.cpp 48.13% <ø> (ø) ⬆️
ENIGMAsystem/SHELL/Universal_System/mathnc.h 98.3% <ø> (ø) ⬆️
ENIGMAsystem/SHELL/Universal_System/var4.h 50% <ø> (ø) ⬆️
...system/SHELL/Graphics_Systems/General/GScurves.cpp 0.85% <ø> (ø) ⬆️
ENIGMAsystem/SHELL/Universal_System/mathnc.cpp 10.14% <ø> (ø) ⬆️
...IGMAsystem/SHELL/Universal_System/shaderstruct.cpp 75% <ø> (ø) ⬆️
...IGMAsystem/SHELL/Universal_System/fonts_internal.h 40% <ø> (ø) ⬆️
ENIGMAsystem/SHELL/Platforms/General/PFmain.cpp 81.81% <0%> (ø) ⬆️
ENIGMAsystem/SHELL/Universal_System/fontstruct.cpp 1.17% <0%> (ø) ⬆️
...IGMAsystem/SHELL/Universal_System/bufferstruct.cpp 0.4% <0%> (ø) ⬆️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a1aa34d...d1cfcc6. Read the comment docs.

Please sign in to post comments, or you can view this issue on GitHub.