5 lines
210 B
CMake
5 lines
210 B
CMake
add_executable(subject main.c)
|
|
add_dependencies(subject selfpatch-slr)
|
|
target_compile_options(subject PRIVATE -fplugin=$<TARGET_FILE:selfpatch-slr>
|
|
-include ${CMAKE_CURRENT_SOURCE_DIR}/offsetof_passthrough.h)
|