File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
app/src/main/jni/librime_jni Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -13,29 +13,26 @@ target_include_directories(rime_jni PRIVATE
13
13
"${Opencc_INCLUDE_PATH} "
14
14
)
15
15
16
- string ( TIMESTAMP TODAY "%Y%m%d" )
16
+
17
17
execute_process (
18
18
COMMAND git --git-dir ${CMAKE_SOURCE_DIR} /../../../../.git describe --tags
19
19
OUTPUT_VARIABLE TRIME_VERSION
20
20
)
21
21
string (STRIP ${TRIME_VERSION} TRIME_VERSION )
22
- set (TRIME_VERSION "${TRIME_VERSION} -${TODAY} " )
23
22
24
23
execute_process (
25
24
COMMAND git --git-dir ${CMAKE_SOURCE_DIR} /OpenCC/.git describe --tags
26
25
OUTPUT_VARIABLE OPENCC_VERSION
27
26
)
28
-
29
27
string (STRIP ${OPENCC_VERSION} OPENCC_VERSION )
28
+
30
29
execute_process (
31
30
COMMAND git --git-dir ${CMAKE_SOURCE_DIR} /librime/.git describe --tags
32
31
OUTPUT_VARIABLE LIBRIME_VERSION
33
32
)
34
33
string (STRIP ${LIBRIME_VERSION} LIBRIME_VERSION )
35
- set (LIBRIME_VERSION "${LIBRIME_VERSION} -${ANDROID_ABI} " )
36
34
37
35
target_compile_definitions (rime_jni PRIVATE
38
- CLASSNAME= "com/osfans/trime/core/Rime"
39
36
TRIME_VERSION= "${TRIME_VERSION} "
40
37
OPENCC_VERSION= "${OPENCC_VERSION} "
41
38
LIBRIME_VERSION= "${LIBRIME_VERSION} "
You can’t perform that action at this time.
0 commit comments