mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
- 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.
22 lines
416 B
CMake
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()
|