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

17 lines
429 B
CMake
Raw Normal View History

2016-02-16 23:21:12 +03:00
set(CPP_FILES
2016-09-06 22:23:55 +03:00
main.cpp
2016-02-16 23:21:12 +03:00
)
set(SOURCES
2016-09-06 22:23:55 +03:00
${CPP_FILES}
2016-02-16 23:21:12 +03:00
)
link_directories(${CMAKE_SOURCE_DIR}/../bin)
2017-06-08 17:13:32 +03:00
add_executable(profiler_sample ${SOURCES})
target_link_libraries(profiler_sample easy_profiler)
2017-06-08 17:13:32 +03:00
add_executable(profiler_sample_disabled_profiler ${SOURCES})
target_link_libraries(profiler_sample_disabled_profiler easy_profiler)
target_compile_definitions(profiler_sample_disabled_profiler PRIVATE DISABLE_EASY_PROFILER)