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
|
@ -36,9 +36,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 "utils.h" // Required for: fopen() Android mapping
|
||||
|
||||
#include <stdio.h> // Required for: FILE, fopen(), fclose(), fscanf(), feof(), rewind(), fgets()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue