forked from kautilyadevaraj/SchedulingAlgorithmSimulator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbinding.gyp
More file actions
37 lines (37 loc) · 946 Bytes
/
binding.gyp
File metadata and controls
37 lines (37 loc) · 946 Bytes
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
{
'targets': [
{
'target_name': 'scheduling_algorithms',
'sources': [
'cpp/src/binding.cc',
'cpp/src/FirstComeFirstServe.cpp',
'cpp/src/RoundRobin.cpp',
'cpp/src/ShortestJobFirst.cpp',
'cpp/src/ShortestRemainingTimeFirst.cpp',
'cpp/src/PriorityNonPreemptive.cpp',
'cpp/src/PriorityPreemptive.cpp'
],
'include_dirs': [
'cpp/include',
'<!(node -p "require(\'node-addon-api\').include_dir")'
],
'conditions': [
['OS=="win"', {
'msbuild_toolset': 'v143',
'msvs_settings': {
'VCCLCompilerTool': {
'RuntimeLibrary': '1',
'AdditionalOptions': [
'/std:c++20'
]
}
}
}],
['OS=="unix"', {
'cflags': ['-Wall', '-Wextra', '-O2'],
'cflags_cc': ['-std=c++20']
}]
]
}
]
}