r5sdk/r5dev/thirdparty/detours/CMakeLists.txt
Kawe Mazidjatari 7762c4b2ce Light refactor of the IDetour interface
- Use std::map for mapping vtables to interface objects, previously done with a set and a vector.
- Objects are no longer inline, which significantly reduced output code size as all redundant dynamic initializers (created for each translation unit) have been pruned.
2023-07-03 13:37:41 +02:00

22 lines
416 B
CMake

cmake_minimum_required( VERSION 3.16 )
add_module( "lib" "libdetours" "" ${FOLDER_CONTEXT} TRUE TRUE )
start_sources()
add_sources( SOURCE_GROUP "Source"
"src/creatwth.cpp"
"src/detours.cpp"
"src/disasm.cpp"
"src/idetour.cpp"
"src/modules.cpp"
)
add_sources( SOURCE_GROUP "Include"
"include/detours.h"
"include/detver.h"
"include/idetour.h"
"include/syelog.h"
)
end_sources()