turanszkij / WickedEngine

3D engine with modern graphics
https://wickedengine.net
Other
5.86k stars 617 forks source link

CMake win32 fix #837

Closed matpx closed 7 months ago

matpx commented 7 months ago

Building with CMake on windows currently produces errors when trying to build Example_ImGui, Example_ImGui_Docking and Template_Linux.

This PR tries to fix this by compiling imgui_impl_sdl.cpp only on linux and by making WICKED_LINUX_TEMPLATE a dependent option that is turned ON only on unix.

Also it might be a good idea to include the cmake windows build into the github build workflow?