8f46d2f265e1efcb35ea72c4f4ab46baf4ed7092
[platform/upstream/cmake.git] / Help / prop_tgt / XCODE_GENERATE_SCHEME.rst
1 XCODE_GENERATE_SCHEME
2 ---------------------
3
4 .. versionadded:: 3.15
5
6 If enabled, the :generator:`Xcode` generator will generate schema files.  These
7 are useful to invoke analyze, archive, build-for-testing and test
8 actions from the command line.
9
10 This property is initialized by the value of the variable
11 :variable:`CMAKE_XCODE_GENERATE_SCHEME` if it is set when a target
12 is created.
13
14 The following target properties overwrite the default of the
15 corresponding settings on the "Diagnostic" tab for each schema file.
16 Each of those is initialized by the respective ``CMAKE_`` variable
17 at target creation time.
18
19 - :prop_tgt:`XCODE_SCHEME_ADDRESS_SANITIZER`
20 - :prop_tgt:`XCODE_SCHEME_ADDRESS_SANITIZER_USE_AFTER_RETURN`
21 - :prop_tgt:`XCODE_SCHEME_DISABLE_MAIN_THREAD_CHECKER`
22 - :prop_tgt:`XCODE_SCHEME_DYNAMIC_LIBRARY_LOADS`
23 - :prop_tgt:`XCODE_SCHEME_DYNAMIC_LINKER_API_USAGE`
24 - :prop_tgt:`XCODE_SCHEME_GUARD_MALLOC`
25 - :prop_tgt:`XCODE_SCHEME_MAIN_THREAD_CHECKER_STOP`
26 - :prop_tgt:`XCODE_SCHEME_MALLOC_GUARD_EDGES`
27 - :prop_tgt:`XCODE_SCHEME_MALLOC_SCRIBBLE`
28 - :prop_tgt:`XCODE_SCHEME_MALLOC_STACK`
29 - :prop_tgt:`XCODE_SCHEME_THREAD_SANITIZER`
30 - :prop_tgt:`XCODE_SCHEME_THREAD_SANITIZER_STOP`
31 - :prop_tgt:`XCODE_SCHEME_UNDEFINED_BEHAVIOUR_SANITIZER`
32 - :prop_tgt:`XCODE_SCHEME_UNDEFINED_BEHAVIOUR_SANITIZER_STOP`
33 - :prop_tgt:`XCODE_SCHEME_ZOMBIE_OBJECTS`
34
35 The following target properties will be applied on the
36 "Info", "Arguments", and "Options" tab:
37
38 - :prop_tgt:`XCODE_SCHEME_ARGUMENTS`
39 - :prop_tgt:`XCODE_SCHEME_DEBUG_AS_ROOT`
40 - :prop_tgt:`XCODE_SCHEME_DEBUG_DOCUMENT_VERSIONING`
41 - :prop_tgt:`XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE`
42 - :prop_tgt:`XCODE_SCHEME_ENVIRONMENT`
43 - :prop_tgt:`XCODE_SCHEME_EXECUTABLE`
44 - :prop_tgt:`XCODE_SCHEME_WORKING_DIRECTORY`