Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Tests / RunCMake / FileAPI / codemodel-v2-data / targets / cxx_exe.json
1 {
2     "name": "cxx_exe",
3     "id": "^cxx_exe::@a56b12a3f5c0529fb296$",
4     "directorySource": "^cxx$",
5     "projectName": "Cxx",
6     "type": "EXECUTABLE",
7     "isGeneratorProvided": null,
8     "sources": [
9         {
10             "path": "^empty\\.cxx$",
11             "isGenerated": null,
12             "sourceGroupName": "Source Files",
13             "compileGroupLanguage": "CXX",
14             "backtrace": [
15                 {
16                     "file": "^cxx/CMakeLists\\.txt$",
17                     "line": 5,
18                     "command": "add_executable",
19                     "hasParent": true
20                 },
21                 {
22                     "file": "^cxx/CMakeLists\\.txt$",
23                     "line": null,
24                     "command": null,
25                     "hasParent": false
26                 }
27             ]
28         }
29     ],
30     "sourceGroups": [
31         {
32             "name": "Source Files",
33             "sourcePaths": [
34                 "^empty\\.cxx$"
35             ]
36         }
37     ],
38     "compileGroups": [
39         {
40             "language": "CXX",
41             "sourcePaths": [
42                 "^empty\\.cxx$"
43             ],
44             "includes": null,
45             "defines": null,
46             "precompileHeaders": [
47               {
48                 "header": ".*empty\\.h$",
49                 "backtrace": [
50                   {
51                     "file": "^cxx/CMakeLists\\.txt$",
52                     "line": 21,
53                     "command": "target_precompile_headers",
54                     "hasParent": true
55                   },
56                   {
57                     "file": "^cxx/CMakeLists\\.txt$",
58                     "line": null,
59                     "command": null,
60                     "hasParent": false
61                   }
62                 ]
63               }
64             ],
65             "compileCommandFragments": [
66                 {
67                     "fragment" : "TargetCompileOptions",
68                     "backtrace": [
69                         {
70                             "file": "^cxx/CMakeLists\\.txt$",
71                             "line": 17,
72                             "command": "target_compile_options",
73                             "hasParent": true
74                         },
75                         {
76                             "file" : "^cxx/CMakeLists\\.txt$",
77                             "line": null,
78                             "command": null,
79                             "hasParent": false
80                         }
81                     ]
82                 }
83             ]
84         }
85     ],
86     "backtrace": [
87         {
88             "file": "^cxx/CMakeLists\\.txt$",
89             "line": 5,
90             "command": "add_executable",
91             "hasParent": true
92         },
93         {
94             "file": "^cxx/CMakeLists\\.txt$",
95             "line": null,
96             "command": null,
97             "hasParent": false
98         }
99     ],
100     "folder": "bin",
101     "nameOnDisk": "^cxx_exe(\\.exe)?$",
102     "artifacts": [
103         {
104             "path": "^cxx/((Debug|Release|RelWithDebInfo|MinSizeRel)/)?cxx_exe(\\.exe)?$",
105             "_dllExtra": false
106         },
107         {
108             "path": "^cxx/((Debug|Release|RelWithDebInfo|MinSizeRel)/)?cxx_exe\\.pdb$",
109             "_dllExtra": true
110         }
111     ],
112     "build": "^cxx$",
113     "source": "^cxx$",
114     "install": {
115         "prefix": "^(/usr/local|[A-Za-z]:.*/codemodel-v2)$",
116         "destinations": [
117             {
118                 "path": "lib",
119                 "backtrace": [
120                     {
121                         "file": "^cxx/CMakeLists\\.txt$",
122                         "line": 38,
123                         "command": "install",
124                         "hasParent": true
125                     },
126                     {
127                         "file": "^cxx/CMakeLists\\.txt$",
128                         "line": null,
129                         "command": null,
130                         "hasParent": false
131                     }
132                 ]
133             },
134             {
135                 "path": "bin",
136                 "backtrace": [
137                     {
138                         "file": "^codemodel-v2\\.cmake$",
139                         "line": 42,
140                         "command": "install",
141                         "hasParent": true
142                     },
143                     {
144                         "file": "^codemodel-v2\\.cmake$",
145                         "line": null,
146                         "command": null,
147                         "hasParent": true
148                     },
149                     {
150                         "file": "^CMakeLists\\.txt$",
151                         "line": 3,
152                         "command": "include",
153                         "hasParent": true
154                     },
155                     {
156                         "file": "^CMakeLists\\.txt$",
157                         "line": null,
158                         "command": null,
159                         "hasParent": false
160                     }
161                 ]
162             }
163         ]
164     },
165     "link": {
166         "language": "CXX",
167         "lto": null,
168         "commandFragments": [
169             {
170                 "fragment" : "TargetLinkOptions",
171                 "role" : "flags",
172                 "backtrace": [
173                     {
174                         "file": "^cxx/CMakeLists\\.txt$",
175                         "line": 18,
176                         "command": "target_link_options",
177                         "hasParent": true
178                     },
179                     {
180                         "file" : "^cxx/CMakeLists\\.txt$",
181                         "line": null,
182                         "command": null,
183                         "hasParent": false
184                     }
185                 ]
186             },
187             {
188                 "fragment" : ".*TargetLinkDir\\\"?$",
189                 "role" : "libraryPath",
190                 "backtrace": [
191                     {
192                         "file": "^cxx/CMakeLists\\.txt$",
193                         "line": 19,
194                         "command": "target_link_directories",
195                         "hasParent": true
196                     },
197                     {
198                         "file" : "^cxx/CMakeLists\\.txt$",
199                         "line": null,
200                         "command": null,
201                         "hasParent": false
202                     }
203                 ]
204             },
205             {
206                 "fragment" : ".*cxx_lib.*",
207                 "role" : "libraries",
208                 "backtrace": [
209                     {
210                         "file": "^cxx/CMakeLists\\.txt$",
211                         "line": 6,
212                         "command": "target_link_libraries",
213                         "hasParent": true
214                     },
215                     {
216                         "file" : "^cxx/CMakeLists\\.txt$",
217                         "line": null,
218                         "command": null,
219                         "hasParent": false
220                     }
221                 ]
222             }
223         ]
224     },
225     "archive": null,
226     "dependencies": [
227         {
228             "id": "^cxx_lib::@a56b12a3f5c0529fb296$",
229             "backtrace": [
230                 {
231                     "file": "^cxx/CMakeLists\\.txt$",
232                     "line": 6,
233                     "command": "target_link_libraries",
234                     "hasParent": true
235                 },
236                 {
237                     "file": "^cxx/CMakeLists\\.txt$",
238                     "line": null,
239                     "command": null,
240                     "hasParent": false
241                 }
242             ]
243         },
244         {
245             "id": "^ZERO_CHECK::@a56b12a3f5c0529fb296$",
246             "backtrace": null
247         }
248     ]
249 }