Skip to content

Commit b25f4f3

Browse files
committed
add Anime4kcpp
1 parent 1675e96 commit b25f4f3

File tree

99 files changed

+32102
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+32102
-2
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion 24
5+
6+
defaultConfig {
7+
applicationId "com.tumuyan.ncnn.realsr"
8+
archivesBaseName = "$applicationId"
9+
10+
ndk {
11+
moduleName "ncnn"
12+
abiFilters "arm64-v8a" //, "armeabi-v7a", "x86"
13+
}
14+
minSdkVersion 24
15+
}
16+
17+
externalNativeBuild {
18+
cmake {
19+
version "3.22.1"
20+
path file('src/main/jni/CMakeLists.txt')
21+
}
22+
}
23+
ndkVersion '25.2.9519653'
24+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.tumuyan.ncnn.realsr">
4+
</manifest>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
if(Build_AviSynthPlus_Plugin)
2+
project(Anime4KCPP_AviSynthPlus LANGUAGES CXX)
3+
4+
aux_source_directory(src SOURCE)
5+
6+
add_library(${PROJECT_NAME} SHARED ${SOURCE})
7+
8+
if(Other_Optimization_For_Other)
9+
if(MSVC)
10+
if(CMAKE_CXX_COMPILER_ID MATCHES "IntelLLVM")
11+
target_compile_options(${PROJECT_NAME} PRIVATE /O3)
12+
endif()
13+
else()
14+
target_compile_options(${PROJECT_NAME} PRIVATE -Ofast)
15+
target_link_options(${PROJECT_NAME} PRIVATE -Ofast)
16+
endif()
17+
endif()
18+
19+
include(${TOP_DIR}/cmake/ThirdPartyForASP.cmake)
20+
21+
install(
22+
TARGETS ${PROJECT_NAME}
23+
RUNTIME DESTINATION bin
24+
LIBRARY DESTINATION bin
25+
)
26+
27+
endif()

0 commit comments

Comments
 (0)