Discover effective CMake techniques in this comprehensive conference talk from C++Now 2017. Learn how to leverage CMake, CTest, and CPack for building, testing, and packaging C++ projects. Explore best practices for managing dependencies, exporting libraries, and cross-compiling for different platforms. Gain insights into running tests in emulators, analyzing code coverage, and performing static and dynamic code analysis. Delve into topics such as function vs. macro usage, deprecation strategies, variable management, compile features and options, user requirements, target linking, and project boundaries. Master advanced concepts like exporting library interfaces, CPACK configuration, installing CMake projects, and working with external libraries. Enhance your C++ development workflow with practical knowledge on effective CMake usage.