CMakeLists.txt 602 B

12345678910111213141516171819202122232425
  1. cmake_minimum_required(VERSION 3.13)
  2. project(
  3. flameshot
  4. VERSION 0.8.0
  5. LANGUAGES CXX)
  6. include(cmake/StandardProjectSettings.cmake)
  7. add_library(project_options INTERFACE)
  8. target_compile_features(project_options INTERFACE cxx_std_17)
  9. add_library(project_warnings INTERFACE)
  10. # standard compiler warnings
  11. include(cmake/CompilerWarnings.cmake)
  12. # set_project_warnings(project_warnings)
  13. # sanitizer options if supported by compiler
  14. include(cmake/Sanitizers.cmake)
  15. # enable_sanitizers(project_options)
  16. # allow for static analysis options include(cmake/StaticAnalyzers.cmake)
  17. add_subdirectory(src)