This repository has been archived by the owner on Sep 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
binding.gyp
103 lines (103 loc) · 2.42 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
'variables' : {
"conditions": [
["OS == 'linux' ", {
'Rose_lib': '$(ROSE)/lib/linux_x86_64_gcc_3.4_pic/lib',
'lib_ext': '.a'
}],
["OS == 'mac' ", {
'Rose_lib':'$(ROSE)/lib/macosx_all_clang/lib',
'lib_ext':'.a'
}],
["OS =='win' ", {
'Rose_lib':'$(ROSE)/lib/x64_win64_vc14_md/',
'lib_ext':'.lib'
}]
]
},
"targets": [
{
"target_name": "StepNode",
"sources": [
"./src/nodeStepNC.cpp",
"./src/nodeUtils.h",
"./src/nodeUtils.cpp",
"./src/nodeMachineState.h",
"./src/nodeMachineState.cpp",
"./src/nodeFinder.h",
"./src/nodeFinder.cpp",
"./src/nodeAptStepMaker.h",
"./src/nodeAptStepMaker.cpp",
"./src/nodeTolerance.h",
"./src/nodeTolerance.cpp",
"./src/nodeAdaptive.h",
"./src/nodeAdaptive.cpp",
"./src/nodeGenerate.h",
"./src/nodeGenerate.cpp",
"./src/nodeGenerateState.h",
"./src/nodeGenerateState.cpp",
"./src/nodeProcess.h",
"./src/nodeProcess.cpp",
],
"include_dirs": [
"<!(node -e \"require('nan')\")",
"$(ROSE_INCLUDE)",
"$(ROSE_INCLUDE)/stp_aim",
"$(ROSE_INCLUDE)/stp_arm",
"$(ROSE_INCLUDE)/stmodule",
"$(ROSE_INCLUDE)/stix",
"$(ROSE_INCLUDE)/stgl",
"$(ROSE_INCLUDE)/stixmesh",
"$(ROSE_INCLUDE)/stixsim",
"$(ROSE_INCLUDE)/stixctl"
],
"libraries": [
'<(Rose_lib)'+"stncapt"+'<(lib_ext)',
'<(Rose_lib)'+"stixctl"+'<(lib_ext)',
'<(Rose_lib)'+"stp_arm"+'<(lib_ext)',
'<(Rose_lib)'+"stmodule"+'<(lib_ext)',
'<(Rose_lib)'+"stixsim"+'<(lib_ext)',
'<(Rose_lib)'+"stixmesh"+'<(lib_ext)',
'<(Rose_lib)'+"stix"+'<(lib_ext)',
'<(Rose_lib)'+"stp_aim"+'<(lib_ext)',
'<(Rose_lib)'+"p28e2"+'<(lib_ext)',
'<(Rose_lib)'+"rosemath"+'<(lib_ext)',
'<(Rose_lib)'+"rose"+'<(lib_ext)',
'<(Rose_lib)'+"dtnurbsc"+'<(lib_ext)',
],
"conditions": [
['OS=="win"', {
"libraries": [
'<(Rose_lib)'+"vcf2c"+'<(lib_ext)',
"opengl32.lib",
"glu32.lib",
"msvcrt.lib"
],
'configurations':{
'Release': {
'msvs_settings': {
'VCCLCompilerTool':{
'RuntimeLibrary': '2' # /MD
}
}
}
}
}],
["OS==\"mac\"",
{
"xcode_settings": {
"OTHER_CPLUSPLUSFLAGS": [
"-std=c++11"
]}}],
['OS!="win"', {
"libraries": ['<(Rose_lib)'+"f2c"+'<(lib_ext)'],
"cflags":["-std=c++11"]
}],
['OS=="linux"', {
"libraries": [
"-luuid"
]
}]
]
}]
}