forked from desktop-app/lib_qr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lib_qr.gyp
51 lines (49 loc) · 1.22 KB
/
lib_qr.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
48
49
50
51
# This file is part of Desktop App Toolkit,
# a set of libraries for developing nice desktop applications.
#
# For license and copyright information please follow this link:
# https://github.com/desktop-app/legal/blob/master/LEGAL
{
'includes': [
'../gyp/helpers/common/common.gypi',
],
'targets': [{
'target_name': 'lib_qr',
'includes': [
'../gyp/helpers/common/library.gypi',
'../gyp/helpers/modules/qt.gypi',
],
'variables': {
'src_loc': '.',
'qr_loc': '<(third_party_loc)/QR',
'qr_src': '<(qr_loc)/cpp',
},
'dependencies': [
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
],
'export_dependent_settings': [
'<(submodules_loc)/lib_base/lib_base.gyp:lib_base',
],
'defines': [
],
'include_dirs': [
'<(src_loc)',
'<(qr_src)',
],
'direct_dependent_settings': {
'include_dirs': [
'<(src_loc)',
],
},
'sources': [
'<(src_loc)/qr/qr_generate.cpp',
'<(src_loc)/qr/qr_generate.h',
'<(qr_src)/BitBuffer.cpp',
'<(qr_src)/BitBuffer.hpp',
'<(qr_src)/QrCode.cpp',
'<(qr_src)/QrCode.hpp',
'<(qr_src)/QrSegment.cpp',
'<(qr_src)/QrSegment.hpp',
],
}],
}