[Build] Add FreeType support for CI
This commit is contained in:
1 parent
39a86991f2
commit
37bc815a06
4 files changed
+58
-24
No files matched your search
@@ -3,5 +3,5 @@
|
||||
BASEDIR=$(dirname "$0")
|
||||
cd $BASEDIR/../../imgui-binding || exit
|
||||
|
||||
../gradlew clean generateLibs -Denvs=$* -Dlocal -Dfreetype
|
||||
../gradlew clean generateLibs -Denvs=$* -Dlocal -Dfreetype=true
|
||||
rm -frd libsNative
|
||||
@@ -4,4 +4,4 @@ BASEDIR=$(dirname "$0")
|
||||
cd $BASEDIR/../../imgui-binding || exit
|
||||
|
||||
rm -frd /tmp/imgui
|
||||
../gradlew clean generateLibs -Denvs=$* -Dfreetype
|
||||
../gradlew clean generateLibs -Denvs=$* -Dfreetype=true
|
||||
@@ -19,8 +19,8 @@ class GenerateLibs extends DefaultTask {
|
||||
private final boolean forLinux = buildEnvs?.contains('linux')
|
||||
private final boolean forMac = buildEnvs?.contains('mac')
|
||||
|
||||
private final boolean isLocal = System.properties.containsKey("local")
|
||||
private final boolean withFreeType = System.properties.containsKey("freetype")
|
||||
private final boolean isLocal = System.properties.containsKey('local')
|
||||
private final boolean withFreeType = Boolean.valueOf(System.properties.getProperty('freetype', 'false'))
|
||||
|
||||
private final String sourceDir = project.file('src/main/java')
|
||||
private final String classpath = project.file('build/classes/java/main')
|
||||
|
||||
Reference in new issue
Block a user