mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-24 22:35:36 +08:00
19 lines
347 B
CMake
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)
|
|
|