Skip to content

Instantly share code, notes, and snippets.

View Quoc123123's full-sized avatar

Quoc Bui Quoc123123

View GitHub Profile
@Quoc123123
Quoc123123 / effective_modern_cmake.md
Created April 17, 2024 05:43 — forked from mbinna/effective_modern_cmake.md
Effective Modern CMake

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft

@Quoc123123
Quoc123123 / autoinstall_custom_zsh_ubuntu.sh
Created January 21, 2024 07:43 — forked from adrianfn21/autoinstall_custom_zsh_ubuntu.sh
Script to auto-install my ZSH basic settings
#!/bin/bash
ZSH_CONFIG=~/.zshrc
PLUGINS=~/.local/zsh_plugins
if [[ $EUID -eq 0 ]]; then
echo "This script must not be executed using sudo directly. Exiting..."
exit 1
fi