CMakeLists.txt 570 B

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