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
|
|
|
)
|
|
|
|
|
2017-02-07 17:07:25 +01: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-02-08 21:47:20 +03:00
|
|
|
|
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)
|