/
niceSOFT
/
cmake
Обзор
Документация
Войти
/
niceSOFT
/
cmake
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Help/guide/tutorial/Step3/CMakeLists.txt
18 строк
540 B
Vito Gamberini
Tutorial: Rewrite using conventions enabled by CMake 3.23
17 сен 2025, 18:57
17 сен 2025, 18:57
b2e3e3e
Код
Авторство
О чём код?
cmake_minimum_required(VERSION 3.23) project(Tutorial) # TODO1: Add a default ON option for a cache variable named: # TUTORIAL_BUILD_UTILITIES. # option() requires a doc string as its second argument, set this to # something like: # "Build the Tutorial executable" # TODO2: Add a conditional statement around add_subdirectory(Tutorial). Only # build the Tutorial target if TUTORIAL_BUILD_UTILITIES is ON (or # otherwise truthy). add_subdirectory(Tutorial) add_subdirectory(MathFunctions)