CMakeLists.txt 412 B

1234567891011121314151617181920212223
  1. if(NOT MSVC)
  2. set(CMAKE_CXX_STANDARD 20)
  3. set(CMAKE_CXX_STANDARD_REQUIRED ON)
  4. set(CMAKE_CXX_EXTENSIONS OFF)
  5. endif()
  6. set(SRCS
  7. implot/implot.cpp
  8. implot/implot_items.cpp
  9. )
  10. add_library(implot STATIC ${SRCS})
  11. dolphin_disable_warnings(implot)
  12. target_include_directories(implot
  13. PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/implot"
  14. PRIVATE imgui
  15. )
  16. target_link_libraries(implot
  17. PRIVATE imgui
  18. PRIVATE fmt::fmt
  19. )