Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyesiqiu committed Jan 13, 2024
1 parent fe962cc commit 1aec48d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions shell/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ project("dpt")
set(DPT_NATIVE_SOURCE
dpt.cpp
dpt_hook.cpp
dex/MultiDexCode.cpp
dex/CodeItem.cpp
dpt_jni.cpp
dpt_util.cpp
dex/dex_file.cpp
dex/MultiDexCode.cpp
dex/CodeItem.cpp
reflect/dalvik_system_BaseDexClassLoader.cpp
reflect/dalvik_system_DexPathList.cpp
reflect/java_io_File.cpp
Expand All @@ -21,12 +21,13 @@ set(DPT_NATIVE_SOURCE
reflect/android_app_LoadedApk.cpp
reflect/android_app_ContextImpl.cpp
)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror")


if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
add_definitions(-DDEBUG)
message("WARNNING:opened log")
message(WARNING "!!!WARNNING:opened log!!!")
else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
Expand Down

0 comments on commit 1aec48d

Please sign in to comment.