add_executable(LeakTracer main.cpp # LeakTracer.h LeakTracer.cpp MemoryAllocationStackTracer.h MemoryAllocationStackTracer.cpp ) target_include_directories(LeakTracer PRIVATE ${Libraries_ROOT}/LeakTracer/include ) target_link_directories(LeakTracer PRIVATE ${Libraries_ROOT}/LeakTracer ) target_link_libraries(LeakTracer PUBLIC Universal -Wl,--wrap=malloc -Wl,--wrap=free )