/
niceSOFT
/
cmake
Обзор
Документация
Войти
/
niceSOFT
/
cmake
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Help/guide/tutorial/Step7/MathFunctions/MakeTable/CMakeLists.txt
15 строк
566 B
Vito Gamberini
Tutorial: Rewrite using conventions enabled by CMake 3.23
17 сен 2025, 18:57
17 сен 2025, 18:57
b2e3e3e
Код
Авторство
О чём код?
# TODO1: Add a MakeTable executable # TODO2: Add MakeTable.cxx to the MakeTable executable # TODO3: Add a custom command which invokes MakeTable to generate SqrtTable.h # TODO4: Add a custom target which depends on SqrtTable.h # TODO5: Add an INTERFACE library to describe the SqrtTable header # TODO6: Add the current binary directory (and optionally the SqrtTable.h FILE) # to a header file set of the interface library # TODO7: Use add_dependencies to ensure the custom target always runs before # targets that depend on the interface library