projects
/
sdk
/
tools
/
heaptrack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bffb9bc
)
Directly link malloctrace into test executables.
author
Milian Wolff
<mail@milianw.de>
Wed, 4 Jun 2014 17:43:08 +0000
(19:43 +0200)
committer
Milian Wolff
<mail@milianw.de>
Wed, 4 Jun 2014 17:43:08 +0000
(19:43 +0200)
tests/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/tests/CMakeLists.txt
b/tests/CMakeLists.txt
index
d0cdb50
..
20801f3
100644
(file)
--- a/
tests/CMakeLists.txt
+++ b/
tests/CMakeLists.txt
@@
-1,6
+1,8
@@
set(CMAKE_BUILD_TYPE Debug)
add_executable(test_c test.c)
+target_link_libraries(test_c malloctrace)
add_executable(test_cpp test.cpp)
+target_link_libraries(test_cpp malloctrace)
add_executable(threaded threaded.cpp)
-target_link_libraries(threaded -lpthread)
+target_link_libraries(threaded -lpthread
malloctrace
)