Lambda functions, CMakeLists.txt to avoid duplicating compilation.