rclnodejs 0.32.4 → 0.32.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/binding.gyp +31 -4
- package/package.json +1 -1
- package/scripts/npmjs-readme.md +1 -1
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ npm i rclnodejs@x.y.z
|
|
|
45
45
|
|
|
46
46
|
| RCLNODEJS Version | Compatible ROS 2 LTS |
|
|
47
47
|
| :------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
48
|
-
| latest version (currently [v0.32.
|
|
48
|
+
| latest version (currently [v0.32.5](https://github.com/RobotWebTools/rclnodejs/tree/0.32.5)) | [Humble](https://github.com/RobotWebTools/rclnodejs/tree/humble-hawksbill)<br>[Jazzy](https://github.com/RobotWebTools/rclnodejs/tree/jazzy) |
|
|
49
49
|
|
|
50
50
|
## Documentation
|
|
51
51
|
|
package/binding.gyp
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
'runtime%': 'node',
|
|
13
13
|
'ros_lib_dir': "<!(node -p \"require('./scripts/config.js').getROSLibPath()\")",
|
|
14
14
|
'ros_include_root': "<!(node -p \"require('./scripts/config.js').getROSIncludeRootPath()\")",
|
|
15
|
+
'node_major_version': '<!(node -p \"process.versions.node.split(\'.\')[0]\")',
|
|
15
16
|
},
|
|
16
17
|
'targets': [
|
|
17
18
|
{
|
|
@@ -62,8 +63,21 @@
|
|
|
62
63
|
'defines': [
|
|
63
64
|
'OS_LINUX'
|
|
64
65
|
],
|
|
65
|
-
'
|
|
66
|
-
|
|
66
|
+
'conditions': [
|
|
67
|
+
[
|
|
68
|
+
'node_major_version >= 23', {
|
|
69
|
+
'cflags_cc': [
|
|
70
|
+
'-std=c++20'
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
[
|
|
75
|
+
'node_major_version < 23', {
|
|
76
|
+
'cflags_cc': [
|
|
77
|
+
'-std=c++17'
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
]
|
|
67
81
|
]
|
|
68
82
|
}
|
|
69
83
|
],
|
|
@@ -72,8 +86,21 @@
|
|
|
72
86
|
'defines': [
|
|
73
87
|
'OS_WINDOWS'
|
|
74
88
|
],
|
|
75
|
-
'
|
|
76
|
-
|
|
89
|
+
'conditions': [
|
|
90
|
+
[
|
|
91
|
+
'node_major_version >= 23', {
|
|
92
|
+
'cflags_cc': [
|
|
93
|
+
'-std=c++20'
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
[
|
|
98
|
+
'node_major_version < 23', {
|
|
99
|
+
'cflags_cc': [
|
|
100
|
+
'-std=c++17'
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
]
|
|
77
104
|
],
|
|
78
105
|
'include_dirs': [
|
|
79
106
|
'./src/third_party/dlfcn-win32/',
|
package/package.json
CHANGED
package/scripts/npmjs-readme.md
CHANGED
|
@@ -45,7 +45,7 @@ npm i rclnodejs@x.y.z
|
|
|
45
45
|
|
|
46
46
|
| RCLNODEJS Version | Compatible ROS 2 LTS |
|
|
47
47
|
| :------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
48
|
-
| latest version (currently [v0.32.
|
|
48
|
+
| latest version (currently [v0.32.5](https://github.com/RobotWebTools/rclnodejs/tree/0.32.5)) | [Humble](https://github.com/RobotWebTools/rclnodejs/tree/humble-hawksbill)<br>[Jazzy](https://github.com/RobotWebTools/rclnodejs/tree/jazzy) |
|
|
49
49
|
|
|
50
50
|
## Documentation
|
|
51
51
|
|