Skip to content

Commit

Permalink
some other stuffs
Browse files Browse the repository at this point in the history
  • Loading branch information
hiimjustin000 authored Nov 8, 2024
1 parent 6c0cb31 commit 98a2d42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,8 @@ runs:
CMAKE_EXTRA_ARGS="$CMAKE_EXTRA_ARGS -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON"
fi
if [ "${{ inputs.bundle-pdb }}" = "true" ]; then
CMAKE_EXTRA_ARGS="$CMAKE_EXTRA_ARGS -DGEODE_BUNDLE_PDB=ON"
MOD_ID=$(jq -r '.id' mod.json)
CMAKE_EXTRA_ARGS="$CMAKE_EXTRA_ARGS -DGEODE_BUNDLE_PDB=ON -DCMAKE_LINK_OPTIONS=\"/PDBALTPATH:geode/unzipped/$MOD_ID/$MOD_ID.pdb\""
fi
cmake -B build -DCMAKE_BUILD_TYPE=${{ inputs.build-config }} -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DGEODE_CODEGEN_CMAKE_ARGS="-DCMAKE_C_COMPILER=clang;-DCMAKE_CXX_COMPILER=clang++;-G Ninja" -G Ninja $CMAKE_EXTRA_ARGS -DGEODE_DONT_INSTALL_MODS=ON -DGEODE_TARGET_PLATFORM=${{ steps.platform.outputs.target }} ${{ inputs.configure-args }}
cmake --build build --config ${{ inputs.build-config }} ${{ inputs.build-args }}
Expand Down

0 comments on commit 98a2d42

Please sign in to comment.