cmake-3.25.1-tutorial-source/Step4/MathFunctions/CMakeLists.txt
zhangyazhou 8a5b8b3292 init
2022-12-11 21:34:46 +08:00

10 lines
301 B
CMake

add_library(MathFunctions mysqrt.cxx)
# state that anybody linking to us needs to include the current source dir
# to find MathFunctions.h, while we don't.
target_include_directories(MathFunctions
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
)
# TODO 3: Link to tutorial_compiler_flags