Add lib name to config header
This commit is contained in:
parent
4c65807d93
commit
719a57d3e8
2 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,7 @@ endif
|
|||
|
||||
conf.set('POINTER_SIZE', ptr_size)
|
||||
conf.set('FUNC_POINTER_SIZE', func_ptr_size)
|
||||
conf.set('WRENPP_NAME', meson.project_name())
|
||||
|
||||
project_config_file = configure_file(
|
||||
input: 'src/config.h.in',
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
#define ASM_PTR_SIZE @POINTER_SIZE@
|
||||
#define ASM_FUNC_PTR_SIZE @FUNC_POINTER_SIZE@
|
||||
|
||||
#define WRENPP_NAME "@WRENPP_NAME@"
|
||||
|
||||
#if defined(__cplusplus)
|
||||
static_assert(sizeof(void*) == ASM_PTR_SIZE, "Build system reports an unexpected pointer size, please ensure assembly code is correct");
|
||||
|
||||
|
|
Loading…
Reference in a new issue