1CMP0101
2-------
3
4.. versionadded:: 3.17
5
6:command:`target_compile_options` now honors ``BEFORE`` keyword in all scopes.
7
8In CMake 3.16 and below the :command:`target_compile_options` ignores the
9``BEFORE`` keyword in private scope. CMake 3.17 and later honors
10``BEFORE`` keyword in all scopes. This policy provides compatibility for
11projects that have not been updated to expect the new behavior.
12
13The ``OLD`` behavior for this policy is to not honor ``BEFORE`` keyword in
14private scope. The ``NEW`` behavior of this policy is to honor
15``BEFORE`` keyword in all scopes.
16
17This policy was introduced in CMake version 3.17.  Use the
18:command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly.
19Unlike many policies, CMake version |release| does *not* warn
20when this policy is not set and simply uses ``OLD`` behavior.
21
22.. include:: DEPRECATED.txt
23