0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-26 08:01:51 +08:00
easy_profiler/sample/CMakeLists.txt
2017-06-12 10:36:42 +03:00

17 lines
429 B
CMake

set(CPP_FILES
main.cpp
)
set(SOURCES
${CPP_FILES}
)
link_directories(${CMAKE_SOURCE_DIR}/../bin)
add_executable(profiler_sample ${SOURCES})
target_link_libraries(profiler_sample easy_profiler)
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)