anchor.diff:  = Shared Library
  -
   :toc:
   :toc-placement!:
   
   toc::[]
   
  -
  -[[intro]]
  -Introduction
  -------------
  +# Introduction
   
   Shows a hello world example which first creates and links a shared library
   
  
positive.code: /usr/bin/c++ CMakeFiles/hello_binary.dir/src/main.cpp.o -o hello_binary -rdynamic libhello_library.so -Wl,-rpath,/home/matrim/workspace/cmake-examples/01-basic/D-shared-library/build
  ```
  
  
  [[building-the-example]]
  Building the Example
  ~~~~~~~~~~~~~~~~~~~~
  
  [source,bash]
  ----
  
negative.code:   * src/Hello.cpp - A source file to compile
    * src/main.cpp - The source file with main
  
  
  # Concepts
  
  ## Adding a Shared Library
  
  
  As with the previous example on static libraries, the +add_library()+ function
  is also used to create a shared library from some source files.
  