1cmake_minimum_required(VERSION 3.0) 2project(usdt_sample_app1) 3 4include_directories( 5 ${USDT_SAMPLE_LIB1_INCLUDE_DIR} 6) 7 8link_directories( 9 ${USDT_SAMPLE_LIB1_LINK_DIR} 10) 11 12add_executable( ${PROJECT_NAME} 13 ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp 14) 15 16target_link_libraries( ${PROJECT_NAME} 17 ${USDT_SAMPLE_LIB1_LIB} 18 pthread 19) 20