LeetCode/cpp/.envrc
Matej Focko 231b55ed58
chore(cpp): add GTest support
* Compile with ‹_MF_TEST› macro
* Link the GTest library

Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-24 23:23:12 +01:00

2 lines
81 B
Bash

export CXXFLAGS="-std=c++20 -Wall -Wextra -g -D_MF_TEST"
export LDLIBS="-lgtest"