Source archives

In our example, we decided to use the TGZ and ZIP generators for the source archive. These will result in .tar.gz and .zip archives, respectively. We can inspect the contents of the generated .tar.gz file:

$ tar tzf recipe-01-1.0.0-Source.tar.gzrecipe-01-1.0.0-Source/opt/recipe-01-1.0.0-Source/opt/recipe-01/recipe-01-1.0.0-Source/opt/recipe-01/cmake/recipe-01-1.0.0-Source/opt/recipe-01/cmake/coffee.icnsrecipe-01-1.0.0-Source/opt/recipe-01/cmake/Info.plist.inrecipe-01-1.0.0-Source/opt/recipe-01/cmake/messageConfig.cmake.inrecipe-01-1.0.0-Source/opt/recipe-01/CMakeLists.txtrecipe-01-1.0.0-Source/opt/recipe-01/src/recipe-01-1.0.0-Source/opt/recipe-01/src/Message.hpprecipe-01-1.0.0-Source/opt/recipe-01/src/CMakeLists.txtrecipe-01-1.0.0-Source/opt/recipe-01/src/Message.cpp ...

Get CMake Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.