-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathbinding.gyp
47 lines (42 loc) · 1005 Bytes
/
binding.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
'targets': [
{
'target_name': 'sundown',
'type': 'static_library',
'include_dirs': ['src'],
'sources': [
'src/autolink.c',
'src/buffer.c',
'src/houdini_href_e.c',
'src/houdini_html_e.c',
'src/houdini_html_u.c',
'src/houdini_js_e.c',
'src/houdini_js_u.c',
'src/houdini_uri_e.c',
'src/houdini_uri_u.c',
'src/houdini_xml_e.c',
'src/html.c',
'src/html_smartypants.c',
'src/markdown.c',
'src/stack.c',
]
},
{
'target_name': 'robotskirt',
'sources': ['src/robotskirt.cc'],
'dependencies': ['sundown'],
# Flags and defines
'cflags': ['-Wall'],
# Enable exceptions
'cflags!': [ '-fno-exceptions' ],
'cflags_cc!': [ '-fno-exceptions' ],
'conditions': [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
}
}]
]
}
]
}