mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-22 07:25:02 +08:00

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
22 lines
748 B
CMake
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
|