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