forked from nidium/Nidium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinterface.gypi
53 lines (51 loc) · 1.63 KB
/
interface.gypi
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
48
49
50
51
52
# Copyright 2016 Nidium Inc. All rights reserved.
# Use of this source code is governed by a MIT license
# that can be found in the LICENSE file.
{
'include_dirs': [
'../src/',
'<(nidium_network_path)',
'<(nidium_interface_path)/',
'<(third_party_path)/libzip/lib/',
'<(third_party_path)/SDL2/include/',
'<(third_party_path)/c-ares/',
'<(third_party_path)/angle/include/',
'<(third_party_path)/rapidxml/',
'<(third_party_path)/libnotify/',
],
'sources': [
'<(nidium_interface_path)/UIInterface.cpp',
],
'conditions': [
['OS=="mac"', {
'sources': [
'<(nidium_interface_path)/osx/CocoaUIInterface.mm',
'<(nidium_interface_path)/osx/UIConsole.mm',
'<(nidium_interface_path)/osx/System.mm',
'<(nidium_interface_path)/osx/DragNSView.mm',
],
}],
['OS=="linux"', {
'sources': [
'<(nidium_interface_path)/linux/X11UIInterface.cpp',
'<(nidium_interface_path)/linux/System.cpp',
],
'include_dirs': [
'<(nidium_interface_path)/linux/',
],
'defines': ['NIDIUM_USE_GTK'],
'cflags': [
'<!@(pkg-config --cflags gtk+-3.0)',
],
'libraries': [
'-lX11',
'<!@(pkg-config --libs gtk+-3.0)',
'-lnotify',
'-lfontconfig',
],
}],
['nidium_ui_console==0', {
'defines': ['NIDIUM_DISABLE_UI_CONSOLE']
}]
],
}