Skip to content

Commit

Permalink
Attempt to use the new dependencies.
Browse files Browse the repository at this point in the history
Correct include paths to be new dependencies download.
  • Loading branch information
rmtew committed Aug 27, 2024
1 parent 0b37e9f commit 800ebad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
- name: Obtain external dependencies
run: |
pushd dependencies
curl -L -O https://github.com/libtcod/libtcod/releases/download/1.7.0/libtcod-1.7.0-${{ matrix.platform == 'Win32' && 'x86' || 'x86_64' }}-msvc.zip
7z x libtcod-*.zip
curl -L -O https://github.com/rmtew/incursion-roguelike/releases/download/v0.6.9Y19/dependencies-20240827.zip
7z x dependencies-20240827.zip
popd
- name: Build
Expand All @@ -47,7 +47,7 @@ jobs:

- name: Copy binaries to project root
shell: bash
run: cp -v build/*/*/exe_libtcod/Incursion.exe dependencies/libtcod-*/libtcod.dll dependencies/libtcod-*/SDL2.dll .
run: cp -v build/*/*/exe_libtcod/Incursion.exe dependencies/${{matrix.platform}}/${{matrix.configuration}}/*.dll .

- name: Compile mod
if: matrix.configuration == 'Debug'
Expand Down
8 changes: 4 additions & 4 deletions build/exe_libtcod.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ $(LocalDebuggerEnvironment)</LocalDebuggerEnvironment>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<AdditionalDependencies>libtcod.lib</AdditionalDependencies>
<ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
<AdditionalLibraryDirectories>..\dependencies\libtcod-1.7.0-x86-msvc;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>..\dependencies\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<CustomBuildStep>
<Command>
Expand All @@ -172,7 +172,7 @@ $(LocalDebuggerEnvironment)</LocalDebuggerEnvironment>
<AdditionalDependencies>libtcod.lib</AdditionalDependencies>
<ProgramDatabaseFile>$(OutDir)$(TargetName).pdb</ProgramDatabaseFile>
<TargetMachine>MachineX64</TargetMachine>
<AdditionalLibraryDirectories>..\dependencies\libtcod-1.7.0-x86_64-msvc;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>..\dependencies\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<CustomBuildStep>
<Command>
Expand All @@ -198,7 +198,7 @@ $(LocalDebuggerEnvironment)</LocalDebuggerEnvironment>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<AdditionalDependencies>libtcod.lib</AdditionalDependencies>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalLibraryDirectories>..\dependencies\libtcod-1.7.0-x86-msvc;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>..\dependencies\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<CustomBuildStep>
<Command>
Expand All @@ -225,7 +225,7 @@ $(LocalDebuggerEnvironment)</LocalDebuggerEnvironment>
<AdditionalDependencies>libtcod.lib</AdditionalDependencies>
<OptimizeReferences>true</OptimizeReferences>
<TargetMachine>MachineX64</TargetMachine>
<AdditionalLibraryDirectories>..\dependencies\libtcod-1.7.0-x86_64-msvc;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>..\dependencies\$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<CustomBuildStep>
<Command>
Expand Down

0 comments on commit 800ebad

Please sign in to comment.