Skip to content

Commit

Permalink
tool/build: be explicit about cmake options, support libs in artifact…
Browse files Browse the repository at this point in the history
… lists
  • Loading branch information
Will committed Oct 26, 2024
1 parent 78471f0 commit 5d4a0d9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tool/build
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ existing-targets-of-platform() {
# find has no equivalent of -x
all-buildcfgs \
| while read -r buildcfg
do find "$(opo "$buildcfg")" -maxdepth 1 -name 'wtr*' -or -name 'tw*' \
do find "$(opo "$buildcfg")" -maxdepth 1 -name 'wtr*' -or -name 'tw*' -or -name 'libw*' \
| while read -r target
do if [[ -x "$target" && -f "$target" ]]
then echo "$target"
Expand Down Expand Up @@ -361,6 +361,11 @@ show-buildcmd-of() {
-S '$PWD'
-B '$(out-path-of "$platform" "$buildcfg")'
-G 'Unix Makefiles'
-DBUILD_LIB=ON
-DBUILD_BIN=ON
-DBUILD_HDR=ON
-DBUILD_TESTING=ON
-DBUILD_SAN=ON
-DCMAKE_BUILD_TYPE='$buildcfg' $(
[ "$platform" = android ] \
&& echo "-DCMAKE_ANDROID_NDK='$ANDROID_NDK_HOME'")
Expand Down

0 comments on commit 5d4a0d9

Please sign in to comment.