kopia lustrzana https://github.com/sh123/codec2_talkie
Make cmake execution more generic
rodzic
72df8a52ad
commit
2a0ef8f481
|
@ -87,7 +87,7 @@ task compileCodec2 {
|
||||||
System.out.println("Handle abi " + abi)
|
System.out.println("Handle abi " + abi)
|
||||||
exec {
|
exec {
|
||||||
workingDir "$projectDir/build/codec2_build_android_" + abi
|
workingDir "$projectDir/build/codec2_build_android_" + abi
|
||||||
commandLine "/usr/bin/cmake", "$projectDir/src/codec2",
|
commandLine "cmake", "$projectDir/src/codec2",
|
||||||
"-DCMAKE_TOOLCHAIN_FILE=" + android.ndkDirectory + "/build/cmake/android.toolchain.cmake",
|
"-DCMAKE_TOOLCHAIN_FILE=" + android.ndkDirectory + "/build/cmake/android.toolchain.cmake",
|
||||||
"-DUNITTEST=FALSE",
|
"-DUNITTEST=FALSE",
|
||||||
"-DGENERATE_CODEBOOK=$projectDir/build/codec2_build_linux/src/generate_codebook",
|
"-DGENERATE_CODEBOOK=$projectDir/build/codec2_build_linux/src/generate_codebook",
|
||||||
|
|
Ładowanie…
Reference in New Issue