Regenerate Build Files using CMake

Regenerate Build Files using CMake

When working on CMake-based projects, modifying the CMakeLists.txt files is a common task. Sometimes, these changes don't take effect because CMake caches values and settings from earlier runs. This tutorial...
Use AddressSanitizer with CMake

Use AddressSanitizer with CMake

Memory bugs like buffer overflows or use-after-free errors can be tricky to debug and may lead to undefined behavior or security vulnerabilities. Fortunately, AddressSanitizer is a useful tool built into...
Clean Build Directory using CMake

Clean Build Directory using CMake

When working with CMake, keeping the build directory clean is important to avoid stale or conflicting object files, especially when switching build configurations. Instead of manually deleting the build directory...