Skip to content

Commit

Permalink
Generate import library for macOS and iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Sep 6, 2024
1 parent cc4a92f commit 616d406
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ jobs:
if: ${{ matrix.platform == 'linux' || matrix.platform == 'android' || matrix.platform == 'darwin' || matrix.platform == 'ios' }}
with:
name: ${{ matrix.platform }}-${{ matrix.arch }}${{ matrix.tags }}
path: build/bin/bare
path: |
build/bin/bare
build/libbare.tdb
- uses: actions/upload-artifact@v4
if: ${{ matrix.platform == 'win32' }}
with:
Expand Down
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ set_target_properties(
PROPERTIES
OUTPUT_NAME bare

# Export an import library for supported platforms, namely macOS and iOS.
ENABLE_EXPORTS ON

# Automatically export all available symbols on Windows.
WINDOWS_EXPORT_ALL_SYMBOLS ON
)
Expand Down

0 comments on commit 616d406

Please sign in to comment.