mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-03 02:25:36 +08:00
19 lines
343 B
CMake
19 lines
343 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 pch)
|
||
|
|