Skip to content

Commit 8a23436

Browse files
committed
update cmake
1 parent 3e74dfd commit 8a23436

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

app/src/main/jni/CMakeLists.txt

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,11 @@ set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -Wl,--gc-s
99
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} -Wl,--gc-sections -Wl,--strip-all")
1010

1111
# Output binary executable dari aexon.cpp yang diberi nama libaexon.so
12-
add_executable(aexon
13-
aexon.cpp
14-
ax_loging.cpp
15-
ax_memory.cpp
16-
)
12+
add_executable(aexon aexon.cpp ax_loging.cpp ax_memory.cpp)
1713
set_target_properties(aexon PROPERTIES OUTPUT_NAME "libaexon.so")
1814

1915
# Target library shared native (.so)
20-
add_library(native SHARED
21-
native.cpp
22-
ax_deamon_info.cpp
23-
ax_loging.cpp
24-
ax_memory.cpp
25-
)
16+
add_library(native SHARED native.cpp ax_deamon_info.cpp ax_loging.cpp ax_memory.cpp)
2617

2718
# Link library log untuk modul native
2819
find_library(log-lib log)

0 commit comments

Comments
 (0)