Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
linenumberstrue
../TDD-cpp/Calculator/ $: mkdir -p ./built/
../TDD-cpp/Calculator/ $: cmake -S . -B ./built/
../TDD-cpp/Calculator/ $: cmake --build ./built/

Then both executables, source and tests, can be found in the built directory under the appropriate directories - src and tst, and run:

Code Block
languagebash
linenumberstrue
../TDD-cpp/Calculator/ $: ./built/src/src_main
../TDD-cpp/Calculator/ $: 
../TDD-cpp/Calculator/ $: ./built/tst/tests