18 lines
404 B
CMake
18 lines
404 B
CMake
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
|
|
) |