1
0
Fork 0
mirror of https://gitlab.com/mfocko/LeetCode.git synced 2024-09-19 17:56:55 +02:00

chore(cpp): add GTest support

* Compile with ‹_MF_TEST› macro
* Link the GTest library

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2024-02-24 23:23:12 +01:00
parent d924020c46
commit 231b55ed58
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -1 +1,2 @@
export CXXFLAGS="-std=c++20 -Wall -Wextra -g"
export CXXFLAGS="-std=c++20 -Wall -Wextra -g -D_MF_TEST"
export LDLIBS="-lgtest"