Warning, /sdk/heaptrack/tests/manual/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(CMAKE_BUILD_TYPE Debug) 0002 0003 add_executable(test_c test.c) 0004 add_executable(test_cpp test.cpp) 0005 set_target_properties(test_cpp PROPERTIES 0006 INCLUDE_DIRECTORIES ${CMAKE_CURRENT_BINARY_DIR}/../../src/ 0007 ) 0008 0009 add_executable(threaded threaded.cpp) 0010 target_link_libraries(threaded ${CMAKE_THREAD_LIBS_INIT}) 0011 0012 add_executable(callgraph callgraph.cpp) 0013 0014 add_library(testlib SHARED lib.cpp) 0015 add_executable(test_lib test_lib.cpp) 0016 target_link_libraries(test_lib testlib) 0017 0018 add_executable(test_aggregation test_aggregation.cpp) 0019 0020 add_executable(signals signals.cpp) 0021 target_link_libraries(signals ${CMAKE_THREAD_LIBS_INIT}) 0022 0023 add_executable(libc_leaks libc_leaks.c) 0024 0025 add_executable(peak peak.c) 0026 set_target_properties(peak PROPERTIES 0027 COMPILE_FLAGS "-g3 -O0" 0028 ) 0029 0030 set(CMAKE_BUILD_TYPE RelWithDebInfo) 0031 0032 add_executable(inlining inlining.cpp) 0033 0034 add_executable(embedded_lsan_suppressions embedded_lsan_suppressions.c) 0035 0036 add_library(testlib_indirect SHARED libindirect.cpp) 0037 target_link_libraries(testlib_indirect ${CMAKE_DL_LIBS}) 0038 0039 add_executable(dlopen dlopen.cpp) 0040 target_compile_definitions(dlopen PRIVATE -DLIB_PATH="$<TARGET_FILE:testlib_indirect>") 0041 target_link_libraries(dlopen ${CMAKE_DL_LIBS}) 0042 0043 if (NOT CMAKE_GENERATOR STREQUAL "Unix Makefiles") 0044 add_subdirectory("with space") 0045 endif()