1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-22 07:25:02 +08:00
Files
CMake/Help/guide/tutorial/Step1/CMakeLists.txt
Vito Gamberini b2e3e3e30e Tutorial: Rewrite using conventions enabled by CMake 3.23
This is a full re-write of the CMake Tutorial for CMake 3.23, both
the functionality it provides, as well as the modern workflows that
developers use when interfacing with CMake.

Issue: #22663, #23086, #23799, #26053, #26105, #26153, #26914
2025-09-17 11:57:23 -04:00

22 lines
748 B
CMake

# TODO1: Set the minimum required version of CMake to be 3.23
# TODO2: Create a project named Tutorial
# TODO3: Add an executable target called Tutorial to the project
# TODO4: Add the Tutorial/Tutorial.cxx source file to the Tutorial target
# TODO7: Add the MathFunctions library as a linked dependency
# to the Tutorial target
# TODO11: Add the Tutorial subdirectory to the project
# TODO5: Add a library target called MathFunctions to the project
# TODO6: Add the source and header file located in Step1/MathFunctions to the
# MathFunctions target, note that the intended way to include the
# MathFunctions header is:
# #include <MathFunctions.h>
# TODO13: Add the MathFunctions subdirectory to the project