LunaHook-mirror/LunaHook/util/CMakeLists.txt
恍兮惚兮 6a43cd5b86 pch
2024-05-06 23:31:54 +08:00

19 lines
347 B
CMake

set(utils_src_common
dyncodec/dynsjiscodec.cc
dyncodec/dynsjis.cc
ithsys/ithsys.cc
memdbg/memsearch.cc
stringfilters.cpp
util.cc
)
if(${CMAKE_SIZEOF_VOID_P} EQUAL 8)
add_library(utils ${utils_src_common} )
else()
add_library(utils ${utils_src_common} disasm/disasm.cc)
endif()
target_precompile_headers(utils REUSE_FROM pchhook)