update cmakelists-ithsys no longer a library

This commit is contained in:
Akash Mozumdar 2018-06-17 20:49:25 -04:00
parent 4456e1c35c
commit 6a199a8246
3 changed files with 1 additions and 30 deletions

View File

@ -25,5 +25,4 @@ include_directories(
add_subdirectory(vnrhook) add_subdirectory(vnrhook)
add_subdirectory(texthook/host) add_subdirectory(texthook/host)
add_subdirectory(ithsys)
add_subdirectory(profile) add_subdirectory(profile)

View File

@ -1,28 +0,0 @@
# # ithsys.pro
# CONFIG += noqt staticlib
# include(../../../config.pri)
# # jichi 7/12/2015: Always enable SEH
# DEFINES += ITH_HAS_SEH
# DEFINES += _CRT_NON_CONFORMING_SWPRINTFS
set(ithsys_src
ithsys.h
ithsys.cc
)
add_library(ithsys STATIC ${ithsys_src})
target_compile_options(ithsys PRIVATE
$<$<CONFIG:Release>:>
$<$<CONFIG:Debug>:>
)
target_link_libraries(ithsys comctl32.lib)
target_compile_definitions(ithsys
PRIVATE
ITH_HAS_SEH
_CRT_NON_CONFORMING_SWPRINTFS
)

View File

@ -43,6 +43,7 @@ set(vnrhook_src
src/util/growl.h src/util/growl.h
src/util/util.cc src/util/util.cc
src/util/util.h src/util/util.h
${PROJECT_SOURCE_DIR}/ithsys/ithsys.cc
${PROJECT_SOURCE_DIR}/disasm/disasm.cc ${PROJECT_SOURCE_DIR}/disasm/disasm.cc
${PROJECT_SOURCE_DIR}/memdbg/memdbg.h ${PROJECT_SOURCE_DIR}/memdbg/memdbg.h
${PROJECT_SOURCE_DIR}/memdbg/memsearch.cc ${PROJECT_SOURCE_DIR}/memdbg/memsearch.cc
@ -73,7 +74,6 @@ target_compile_options(vnrhook PRIVATE
) )
set(vnrhook_libs set(vnrhook_libs
ithsys
${WDK_HOME}/lib/wxp/i386/ntdll.lib ${WDK_HOME}/lib/wxp/i386/ntdll.lib
Version.lib Version.lib
) )