Skip to content

Commit c58ebfc

Browse files
committed
Actually fix pdbs
1 parent b0d80a3 commit c58ebfc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

libsdl.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ types.each { type ->
6161
args "-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=${buildDir}/lib"
6262
args "-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=${buildDir}/lib"
6363
args "-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=${buildDir}/lib"
64-
args "-DCMAKE_PDB_OUTPUT_DIRECTORY=${buildDir}/lib"
6564
}
6665
}
6766

publish.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ types.each { type ->
117117
include "**/SDL3-static.pdb"
118118
}
119119

120+
def pdb_file = file("${project.sdl_build_dir}/${type.toLowerCase()}/CMakeFiles/SDL3-static.dir/SDL3-static.pdb")
121+
from(pdb_file) {
122+
into "${project.platform_path}/${sharedFolder}"
123+
}
124+
120125
// Add task to copy all outputs.
121126
project.addTaskToCopyAllOutputs(it)
122127
}

0 commit comments

Comments
 (0)