CMakeLists.txt 360 B

123456789101112131415
  1. cmake_minimum_required(VERSION 3.23)
  2. project(Tutorial)
  3. option(TUTORIAL_BUILD_UTILITIES "Build the Tutorial executable" ON)
  4. # TODO1: Add a default-OFF option named TUTORIAL_USE_STD_SQRT, with a doc
  5. # string of "Use std::sqrt"
  6. if(TUTORIAL_BUILD_UTILITIES)
  7. add_subdirectory(Tutorial)
  8. endif()
  9. add_subdirectory(MathFunctions)
  10. add_subdirectory(Vendor)