mirror of
https://github.com/yse/easy_profiler.git
synced 2024-12-26 16:11:02 +08:00
18 lines
245 B
CMake
18 lines
245 B
CMake
project(profiler_reader)
|
|
|
|
set(CPP_FILES
|
|
main.cpp
|
|
)
|
|
|
|
set(SOURCES
|
|
${CPP_FILES}
|
|
)
|
|
|
|
add_executable(${PROJECT_NAME} ${SOURCES})
|
|
|
|
if(UNIX)
|
|
set(SPEC_LIB pthread)
|
|
endif(UNIX)
|
|
|
|
target_link_libraries(${PROJECT_NAME} easy_profiler ${SPEC_LIB})
|