Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Help/guide/tutorial/Step4/CMakeLists.txt
5017 views
1
cmake_minimum_required(VERSION 3.23)
2
3
project(Tutorial)
4
5
option(TUTORIAL_BUILD_UTILITIES "Build the Tutorial executable" ON)
6
7
# TODO1: Add a default-OFF option named TUTORIAL_USE_STD_SQRT, with a doc
8
# string of "Use std::sqrt"
9
10
if(TUTORIAL_BUILD_UTILITIES)
11
add_subdirectory(Tutorial)
12
endif()
13
14
add_subdirectory(MathFunctions)
15
add_subdirectory(Vendor)
16
17