/
niceSOFT
/
cmake
Обзор
Документация
Войти
/
niceSOFT
/
cmake
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Help/guide/tutorial/Step4/MathFunctions/CMakeLists.txt
16 строк
363 B
Vito Gamberini
Tutorial: Rewrite using conventions enabled by CMake 3.23
17 сен 2025, 18:57
17 сен 2025, 18:57
b2e3e3e
Код
Авторство
О чём код?
add_library(MathFunctions) target_sources(MathFunctions PRIVATE MathFunctions.cxx PUBLIC FILE_SET HEADERS FILES MathFunctions.h ) # TODO2: Add a compile feature for C++20 support to MathFunctions # TODO3: Add a conditional which checks TUTORIAL_USE_STD_SQRT and if # ON, set a compile definition on MathFunctions of the same name