Small fixes - a few that were benign, and two that were required to successfully build on CLion.
Most of the diff is the Readme I put together to help the next person that tries this on CLion. The readme can obviously be excluded if y'all would prefer not to have it on the official repo.
The necessary fixes:
Added the find_package, include_directories, and target_link_libraries calls for GLEW which were previously omitted.
Add language standard flags for the CMake release and debug builds
The cosmetic improvements:
Added a readme for building on CLion
Added a Jetbrains project directory line to the gitignore.
The not-completely-necessary-but-prudent fixes
Fixed a missing dollar sign on the environment variable reference for GAME_ENABLED.
Changed INCLUDE(FindZLIB) to find_package(ZLIB QUIET REQUIRED) on the advice of CMake warnings. Functionally it is identical except the Quiet and Required bits are bonus perks for using the more powerful find_package.
Changed RAPID_JSON lib variable name to RapidJson to match the casing of the FindRapidJson filename as recommended by the compiler.
But after these changes everything compiles just fine with zero warnings. Tested with debug / release builds on x64 windows.
Happy to re-submit with only the necessary fixes if this is too much.
Small fixes - a few that were benign, and two that were required to successfully build on CLion.
Most of the diff is the Readme I put together to help the next person that tries this on CLion. The readme can obviously be excluded if y'all would prefer not to have it on the official repo.
The necessary fixes:
find_package
,include_directories
, andtarget_link_libraries
calls for GLEW which were previously omitted.The cosmetic improvements:
The not-completely-necessary-but-prudent fixes
Quiet
andRequired
bits are bonus perks for using the more powerfulfind_package
.RAPID_JSON
lib variable name toRapidJson
to match the casing of theFindRapidJson
filename as recommended by the compiler.But after these changes everything compiles just fine with zero warnings. Tested with debug / release builds on x64 windows.
Happy to re-submit with only the necessary fixes if this is too much.