Skip to content

Commit d63505d

Browse files
authored
Some backend changes (#155)
kill me
1 parent e95ef0e commit d63505d

File tree

18 files changed

+134
-926
lines changed

18 files changed

+134
-926
lines changed

build.gradle.kts

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -211,37 +211,6 @@ tasks {
211211
// Forces the task to always run
212212
outputs.upToDateWhen { false }
213213
}
214-
215-
// Visual debugger for OpenGL
216-
register<Exec>("renderDoc") {
217-
// You need renderdoc installed on your system and available in your environment variables in order
218-
// to use this task.
219-
// You can download it from their official website at https://renderdoc.org/
220-
221-
val javaHome = Jvm.current().javaHome
222-
val gradle = rootProject.tasks.wrapper.get().jarFile.absolutePath
223-
224-
val seperator =
225-
if (Os.isFamily(Os.FAMILY_WINDOWS)) ";" else ":"
226-
227-
commandLine = listOf(
228-
"renderdoccmd", "capture", "--opt-api-validation", "--opt-api-validation-unmute", "--opt-hook-children", "--wait-for-exit", "--working-dir", ".",
229-
"$javaHome/bin/java",
230-
//"-javaagent:${projectDir.resolve("lwjglx-debug-1.0.0.jar")}=t",
231-
//"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005",
232-
"-Dorg.gradle.appname=gradlew",
233-
"-Dorg.gradle.java.home=$javaHome",
234-
"-Dorg.lwjgl.util.Debug=true",
235-
"-Dorg.lwjgl.util.DebugLoader=true",
236-
"-Dorg.lwjgl.util.DebugAllocator=true",
237-
"-Dorg.lwjgl.util.DebugStack=true",
238-
"-Dorg.lwjgl.util.DebugFunctions=true",
239-
"-cp", listOf(projectDir.resolve("lwjgl.jar"), gradle, projectDir.resolve("lwjglx-debug-1.0.0.jar"))
240-
.joinToString(seperator),
241-
"org.gradle.wrapper.GradleWrapperMain",
242-
"runClient",
243-
)
244-
}
245214
}
246215

247216
kotlin {

0 commit comments

Comments
 (0)