Skip to content

Commit 0374230

Browse files
committed
Use RelWithDebInfo when building examples
1 parent 5897fc2 commit 0374230

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

packages/node-addon-examples/scripts/build-examples.mts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,9 @@ const projectDirectories = findCMakeProjects();
66

77
for (const projectDirectory of projectDirectories) {
88
console.log(`Running "cmake-rn" in ${projectDirectory}`);
9-
execSync(
10-
"cmake-rn",
11-
// "cmake-rn --android --apple",
12-
// "cmake-rn --triplet aarch64-linux-android --triplet arm64-apple-ios-sim",
13-
{
14-
cwd: projectDirectory,
15-
stdio: "inherit",
16-
},
17-
);
9+
execSync("cmake-rn --configuration RelWithDebInfo", {
10+
cwd: projectDirectory,
11+
stdio: "inherit",
12+
});
1813
console.log();
1914
}

0 commit comments

Comments
 (0)