LunaHook-mirror/LunaHook/util/CMakeLists.txt

19 lines
343 B
CMake
Raw Normal View History

2024-02-07 20:59:24 +08:00
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 pch)