-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conan: Override node.js via conan profile
- Loading branch information
1 parent
942d410
commit 73c7d4d
Showing
5 changed files
with
19 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
#!/usr/bin/env bash | ||
set -eu | ||
rm -rf build | ||
mkdir -p build/deps | ||
mkdir -p build/assets | ||
|
||
conan install . -pr:b default -pr:h conan-profiles/emscripten.profile \ | ||
BUILD_DIR="./build" | ||
PROFILE_DIR="./conan-profiles" | ||
|
||
rm -rf "$BUILD_DIR" | ||
mkdir -p "$BUILD_DIR/deps" | ||
mkdir -p "$BUILD_DIR/assets" | ||
|
||
conan install . \ | ||
-pr:b "$PROFILE_DIR/build.profile" \ | ||
-pr:h "$PROFILE_DIR/emscripten.profile" \ | ||
-s build_type=Release -s compiler.cppstd=20 -b missing -b editable \ | ||
-of build | ||
-of "$BUILD_DIR" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
include(default) | ||
|
||
[settings] | ||
compiler.cppstd=20 | ||
|
||
[replace_requires] | ||
nodejs/*: nodejs/18.15.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters