Skip to content
Snippets Groups Projects
Commit 4859e9c4 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

meson: support building with push notification support

parent c82c3931
No related branches found
No related tags found
No related merge requests found
...@@ -67,6 +67,9 @@ if get_option('proxy_server').enabled() ...@@ -67,6 +67,9 @@ if get_option('proxy_server').enabled()
opendht_src += 'src/dht_proxy_server.cpp' opendht_src += 'src/dht_proxy_server.cpp'
add_project_arguments('-DOPENDHT_PROXY_SERVER', language : 'cpp') add_project_arguments('-DOPENDHT_PROXY_SERVER', language : 'cpp')
endif endif
if get_option('push_notifications').enabled()
add_project_arguments('-DOPENDHT_PUSH_NOTIFICATIONS', language : 'cpp')
endif
if get_option('peer_discovery').enabled() if get_option('peer_discovery').enabled()
opendht_src += 'src/peer_discovery.cpp' opendht_src += 'src/peer_discovery.cpp'
add_project_arguments('-DOPENDHT_PEER_DISCOVERY', language : 'cpp') add_project_arguments('-DOPENDHT_PEER_DISCOVERY', language : 'cpp')
......
option('proxy_client', type : 'feature', value : 'disabled') option('proxy_client', type : 'feature', value : 'disabled')
option('proxy_server', type : 'feature', value : 'disabled') option('proxy_server', type : 'feature', value : 'disabled')
option('push_notifications', type : 'feature', value : 'disabled')
option('peer_discovery', type : 'feature', value : 'enabled') option('peer_discovery', type : 'feature', value : 'enabled')
option('tools', type : 'feature', value : 'enabled') option('tools', type : 'feature', value : 'enabled')
option('c', type : 'feature', value : 'enabled') option('c', type : 'feature', value : 'enabled')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment