Fix external parameters
This commit is contained in:
parent
8776d1c051
commit
b52285d056
1 changed files with 12 additions and 0 deletions
|
@ -32,10 +32,22 @@
|
|||
} while(0)
|
||||
|
||||
// build info
|
||||
// If macro is not defined (passed via Xcode), set the corresponding variable as defined via external variable.
|
||||
#ifndef LLAMA_BUILD_NUMBER
|
||||
extern int LLAMA_BUILD_NUMBER;
|
||||
#endif
|
||||
|
||||
#ifndef LLAMA_COMMIT
|
||||
extern char const *LLAMA_COMMIT;
|
||||
#endif
|
||||
|
||||
#ifndef LLAMA_COMPILER
|
||||
extern char const *LLAMA_COMPILER;
|
||||
#endif
|
||||
|
||||
#ifndef LLAMA_BUILD_TARGET
|
||||
extern char const *LLAMA_BUILD_TARGET;
|
||||
#endif
|
||||
|
||||
//
|
||||
// CLI argument parsing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue