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 <stdlib.h> // Required for: malloc(), free()
|
||||
#include <string.h> // Required for: strlen()
|
||||
#include <stdarg.h> // Required for: va_list, va_start(), vfprintf(), va_end()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue