Support externally provided compilation flags
Useful in case raylib compilation want to be automated and compilation config flags provided by command line.
This commit is contained in:
parent
fe346fa8d8
commit
f822650a3b
6 changed files with 29 additions and 6 deletions
|
@ -33,9 +33,13 @@
|
|||
*
|
||||
**********************************************************************************************/
|
||||
|
||||
#include "config.h" // Defines module configuration flags
|
||||
#include "raylib.h" // Declares module functions
|
||||
|
||||
// Check if config flags have been externally provided on compilation line
|
||||
#if !defined(EXTERNAL_CONFIG_FLAGS)
|
||||
#include "config.h" // Defines module configuration flags
|
||||
#endif
|
||||
|
||||
#include "rlgl.h" // raylib OpenGL abstraction layer to OpenGL 1.1, 2.1, 3.3+ or ES2
|
||||
|
||||
#include <stdlib.h> // Required for: abs(), fabs()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue