You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
486 B
12 lines
486 B
POSITION_INDEPENDENT_CODE
|
|
-------------------------
|
|
|
|
Whether to create a position-independent target
|
|
|
|
The ``POSITION_INDEPENDENT_CODE`` property determines whether position
|
|
independent executables or shared libraries will be created. This
|
|
property is ``True`` by default for ``SHARED`` and ``MODULE`` library
|
|
targets and ``False`` otherwise. This property is initialized by the value
|
|
of the :variable:`CMAKE_POSITION_INDEPENDENT_CODE` variable if it is set
|
|
when a target is created.
|