Skip to content

Instantly share code, notes, and snippets.

@Peilix
Peilix / effective_modern_cmake.md
Created November 15, 2020 15:49 — 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

@Peilix
Peilix / Manjaro_Legion_Y530.md
Last active May 9, 2019 03:53
Installation of Manjaro 18 Legion Y530

Installation of Manjaro to Lenovo Legion Y530/Y7000

Tips

  • Before Installation, to avoid freezes while trying to configure the Hardware, use 1 of 3 ways below:

  • Add "acpi=off" to grub when reboot

  • run sudo rmmod ideapad_laptop to enable wifi connection (ur keyboard and touchpad might banned when u use sudo modprobe -r ideapad_laptop)

  • Install graphic drivers

  • add line blacklist ideapad_laptop to any file in "/etc/modprobe.d/" path