Created
November 8, 2017 08:13
-
-
Save genotrance/bb5787c79f6cd2bf7043e4e36e9ed964 to your computer and use it in GitHub Desktop.
Nimgen config file for libvirt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[n.global] | |
output = libvirt | |
filter = libvirt | |
[n.include] | |
libvirt/include | |
[n.exclude] | |
libvirt-common.h | |
[libvirt/include/libvirt/libvirt-common.h] | |
create = "" | |
[libvirt/libvirt-host.h] | |
search = VIR_EXPORT_VAR | |
replace = extern | |
noprocess = true | |
[libvirt/libvirt.h] | |
preprocess = true | |
defines = true | |
recurse = true | |
ppflags = "-D__VIR_LIBVIRT_H_INCLUDES__" | |
search = "# define __VIR_LIBVIRT_H_INCLUDES__" | |
replace = """ | |
# ifndef __VIR_LIBVIRT_H_INCLUDES__ | |
# #define __VIR_LIBVIRT_H_INCLUDES__ | |
# endif | |
""" | |
dynlib.win = libvirt.dll | |
dynlib.lin = libvirt.so | |
dynlib.mac = libvirt.dylib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment