CMakeLists.txt 540 B

123456789101112131415161718
  1. cmake_minimum_required(VERSION 3.23)
  2. project(Tutorial)
  3. # TODO1: Add a default ON option for a cache variable named:
  4. # TUTORIAL_BUILD_UTILITIES.
  5. # option() requires a doc string as its second argument, set this to
  6. # something like:
  7. # "Build the Tutorial executable"
  8. # TODO2: Add a conditional statement around add_subdirectory(Tutorial). Only
  9. # build the Tutorial target if TUTORIAL_BUILD_UTILITIES is ON (or
  10. # otherwise truthy).
  11. add_subdirectory(Tutorial)
  12. add_subdirectory(MathFunctions)