CMakeLists.txt 429 B

12345678910111213141516
  1. set(CPP_FILES
  2. main.cpp
  3. )
  4. set(SOURCES
  5. ${CPP_FILES}
  6. )
  7. link_directories(${CMAKE_SOURCE_DIR}/../bin)
  8. add_executable(profiler_sample ${SOURCES})
  9. target_link_libraries(profiler_sample easy_profiler)
  10. add_executable(profiler_sample_disabled_profiler ${SOURCES})
  11. target_link_libraries(profiler_sample_disabled_profiler easy_profiler)
  12. target_compile_definitions(profiler_sample_disabled_profiler PRIVATE DISABLE_EASY_PROFILER)