jasmcaus / tau

A Micro (1k lines of code) Unit Test Framework for C/C++
MIT License
158 stars 30 forks source link

use local paths and remove trailing spaces #23

Closed matu3ba closed 2 years ago

matu3ba commented 2 years ago

reason: only including tau.h fails

jasmcaus commented 2 years ago

There's a reason why the <tau/...> syntax exists. If you prefer using the "..." approach, you'll need to make a small change in the include paths in CMakeLists.txt. I'm happy to merge the spacing changes, but not going to atm with the include path changes

matu3ba commented 2 years ago

There's a reason why the <tau/...> syntax exists.

So you want users of tau to either use CMake or -Ltau ? The -Ltau option to include the folder as search path is not explained in the README.

jasmcaus commented 2 years ago

Primarily CMake. Tau is really meant to be used alongside a CMake-built project. Haven't explored the -LTau option like you mentioned since I primarily use CMake. But, I guess it's worth exploring as well.

matu3ba commented 2 years ago

Pardon, it was Itau to include headers:

-I <dir>                Add directory to the end of the list of include search paths