CMakeLists.txt 529 B

12345678910111213
  1. # TODO1: Add an executable target for the tests
  2. # TODO2: Add the TestMathFunctions.cxx file to the test target's sources
  3. # TODO3: Add the MathFunctions library to the test target's link libraries
  4. # TODO4: Write a function that takes a single operation name as an argument.
  5. # The function will call add_test() with the operation name as the NAME
  6. # of the test, and a COMMAND of the form: <TestTarget> <operation name>
  7. # TODO5: Call the function for all four supported operations:
  8. # add, mul, sqrt, sub