Path: blob/master/Help/guide/tutorial/Step5/MathFunctions/CMakeLists.txt
5018 views
add_library(MathFunctions)12target_sources(MathFunctions3PRIVATE4MathFunctions.cxx56PUBLIC7FILE_SET HEADERS8FILES9MathFunctions.h10)1112# TODO3: Add a link to MathLogger for the MathFunctions library. Note that13# MathLogger will only be used in the MathFunctions implementation,14# not the headers1516# TODO8: Add links to OpAdd, OpMul, and OpSub libraries for the17# MathFunctions library. Note that their headers will be18# exposed in the MathFunctions.h header, and must be available19# to consumers.2021target_compile_features(MathFunctions PRIVATE cxx_std_20)2223if(TUTORIAL_USE_STD_SQRT)24target_compile_definitions(MathFunctions PRIVATE TUTORIAL_USE_STD_SQRT)25endif()2627# TODO4: Add the MathLogger subdirectory2829# TODO9: Add the MathExtensions subdirectory303132