0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-28 01:04:41 +08:00
easy_profiler/sample/CMakeLists.txt

20 lines
280 B
CMake
Raw Normal View History

2016-02-16 23:21:12 +03:00
project(profiler_sample)
set(CPP_FILES
main.cpp
)
set(SOURCES
${CPP_FILES}
)
2016-02-18 23:50:10 +03:00
add_definitions(
#-DFULL_DISABLE_PROFILER
)
2016-02-16 23:21:12 +03:00
add_executable(${PROJECT_NAME} ${SOURCES})
2016-02-18 23:50:10 +03:00
if(UNIX)
set(SPEC_LIB pthread)
endif(UNIX)
target_link_libraries(${PROJECT_NAME} easy_profiler ${SPEC_LIB})