CMAKE_POSITION_INDEPENDENT_CODE.rst 366 B

123456789
  1. CMAKE_POSITION_INDEPENDENT_CODE
  2. -------------------------------
  3. Default value for :prop_tgt:`POSITION_INDEPENDENT_CODE` of targets.
  4. This variable is used to initialize the
  5. :prop_tgt:`POSITION_INDEPENDENT_CODE` property on all the targets.
  6. See that target property for additional information. If set, it's
  7. value is also used by the :command:`try_compile` command.