From f3ce3a6f741fdf02eb602e2d7df7b14951f4aa65 Mon Sep 17 00:00:00 2001 From: hristo Date: Mon, 25 Jan 2021 11:47:53 +0200 Subject: Removing config.h.in file (#1546) CMake relied on this file for configurations and also was interfering in the regular config.h by having a separate definition if building with CMake. This was not entirely correct so instead we will define compile time definitions separately through CMake (CompileDefinitions.cmake) and also will use the provided EXTERNAL_CONFIG_FLAGS that I found that will not use config.h in through the build process. I also introduced a new compiler option (CUSTOMIZE_BUILD) that when OFF will use the default config.h and when ON will show other options for redefining your own options. Fixed an error in rlgl.h where if you have both RLGL_STANDALONE and SUPPORT_VR_SIMULATOR you get a compile time error. --- src/config.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index dbe77cd9..f7380422 100644 --- a/src/config.h +++ b/src/config.h @@ -27,12 +27,6 @@ #define RAYLIB_VERSION "3.5" -// Edit to control what features Makefile'd raylib is compiled with -#if defined(RAYLIB_CMAKE) - // Edit cmake/RaylibOptions.cmake for CMake instead - #include "cmake/config.h" -#else - //------------------------------------------------------------------------------------ // Module: core - Configuration Flags //------------------------------------------------------------------------------------ @@ -217,6 +211,3 @@ //------------------------------------------------------------------------------------ #define MAX_TRACELOG_MSG_LENGTH 128 // Max length of one trace-log message #define MAX_UWP_MESSAGES 512 // Max UWP messages to process - - -#endif //defined(RAYLIB_CMAKE) -- cgit v1.2.3