anchor.diff:  |=======================================================================
   
   
  -
  -
  -[[referencing-libraries-from-sub-projects]]
  -Referencing Libraries from Sub-Projects
  -+++++++++++++++++++++++++++++++++++++++
  +## Referencing Libraries from Sub-Projects
   
   If a sub-project creates a library, it can be referenced by other projects by
   calling the name of the project in the `target_link_libraries()` command. This
  
positive.code: = Basic Sub-Project
  
  :toc:
  :toc-placement!:
  
  toc::[]
  
  [[intro]]
  Introduction
  ------------
  
  This example shows how to setup a CMake project that includes sub-projects. The
  top level CMakeLists.txt calls the CMakeLists.txt in the sub directories to
  
negative.code: add_subdirectory(subbinary)
  ----
  
  ## Referencing Sub-Project Directories
  
  When a project is created using the `project()` command, CMake will automatically
  create a number of variables which can be used to reference details about the project.
  