Merge branch 'master' of http://git.mcxa.cn:88/LiXiaoqi/docs
This commit is contained in:
commit
9bd250ebdf
@ -31,10 +31,8 @@ flutter config --help
|
|||||||
}
|
}
|
||||||
|
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
// 依赖的自定义cmake路径
|
|
||||||
cmake {
|
cmake {
|
||||||
arguments "-DANDROID_ARM_NEON=TRUE", "-DANDROID_STL=c++_shared"
|
arguments "-DANDROID_ARM_NEON=TRUE", "-DANDROID_STL=c++_shared"
|
||||||
path "../src/CMakeLists.txt"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
consumerProguardFiles "consumer-rules.pro"
|
consumerProguardFiles "consumer-rules.pro"
|
||||||
@ -46,6 +44,13 @@ flutter config --help
|
|||||||
jniLibs.srcDirs = ['../src/bin/']
|
jniLibs.srcDirs = ['../src/bin/']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 想尝试过把这个和default中的进行合并,但是合并后,有问题,所以cmake路径写到外面
|
||||||
|
externalNativeBuild {
|
||||||
|
// 依赖的自定义cmake路径
|
||||||
|
cmake {
|
||||||
|
path "../src/CMakeLists.txt"
|
||||||
|
}
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
2. cmake 文件
|
2. cmake 文件
|
||||||
|
Loading…
Reference in New Issue
Block a user