mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 19:36:24 +02:00
Make dotnet executable path configurable
This commit is contained in:
parent
9d8e02dd0e
commit
03ec861e03
1 changed files with 5 additions and 1 deletions
|
@ -7,6 +7,9 @@ plugins {
|
|||
// Path to the LLVM toolchain to use. This should be configured in your global gradle.properties
|
||||
// See: https://docs.gradle.org/current/userguide/directory_layout.html#dir:gradle_user_home
|
||||
def toolchainPath = providers.gradleProperty("org.ryujinx.llvm.toolchain.path").getOrNull()
|
||||
// Path to the dotnet executable This should be configured in your global gradle.properties
|
||||
// See: https://docs.gradle.org/current/userguide/directory_layout.html#dir:gradle_user_home
|
||||
def dotnetExecutable = providers.gradleProperty("org.ryujinx.dotnet.bin").getOrElse("dotnet")
|
||||
// Build configuration
|
||||
def configuration = providers.gradleProperty("org.ryujinx.config").getOrElse("debug").toLowerCase()
|
||||
// Publish directory
|
||||
|
@ -71,11 +74,12 @@ tasks.register('compileLibRyujinx', Exec) {
|
|||
doFirst {
|
||||
println "Building LibRyujinx in ${configuration} mode."
|
||||
println "Configuration:"
|
||||
println "\tusing: ${dotnetExecutable}"
|
||||
println "\tStripSymbols: ${stripSymbols}"
|
||||
println "\tadditional args: ${additionalArgs.split(" ")}"
|
||||
}
|
||||
|
||||
executable 'dotnet'
|
||||
executable dotnetExecutable
|
||||
args 'publish',
|
||||
'-r', 'linux-bionic-arm64',
|
||||
'-c', configuration,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue