Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Help/guide/tutorial/Step4/MathFunctions/CMakeLists.txt
5018 views
1
add_library(MathFunctions)
2
3
target_sources(MathFunctions
4
PRIVATE
5
MathFunctions.cxx
6
7
PUBLIC
8
FILE_SET HEADERS
9
FILES
10
MathFunctions.h
11
)
12
13
# TODO2: Add a compile feature for C++20 support to MathFunctions
14
15
# TODO3: Add a conditional which checks TUTORIAL_USE_STD_SQRT and if
16
# ON, set a compile definition on MathFunctions of the same name
17
18