This page was once part of an older version of the CMake tutorial which last appeared in CMake 4.1. See the current tutorial version here.
here
Step 10: Selecting Static or Shared Libraries
Step 12: Packaging Debug and Release