-
Notifications
You must be signed in to change notification settings - Fork 0
SaltPepperVinegar/leetcode-cpp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# Configure & build cmake --preset=gcc-debug # or clang-debug / clang-asan ... cmake --build --preset=build # Run ./build/gcc-debug/your_app_cli # Tests ctest --test-dir build/gcc-debug -j # Static analysis clang-tidy --version # (CMake Tools will run clang-tidy automatically if configured) # Format clang-format -i $(git ls-files '*.cpp' '*.hpp' '*.h' '*.cc') # Address/UB Sanitizers cmake --preset=clang-asan && cmake --build --preset=build ASAN_OPTIONS=detect_leaks=1 ./build/clang-asan/your_app_cli # Valgrind (memory) valgrind --leak-check=full ./build/gcc-debug/your_app_cli # Coverage (gcc-coverage preset) ctest --test-dir build/gcc-coverage gcovr -r . --xml -o coverage.xml --html-details -o coverage.html
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published