/src/CMake/Source/cmCommands.cxx
Line | Count | Source |
1 | | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying |
2 | | file LICENSE.rst or https://cmake.org/licensing for details. */ |
3 | | |
4 | | #include "cmCommands.h" |
5 | | |
6 | | #include <string> |
7 | | |
8 | | #include "cmAddCompileDefinitionsCommand.h" |
9 | | #include "cmAddCustomCommandCommand.h" |
10 | | #include "cmAddCustomRuleCommand.h" |
11 | | #include "cmAddCustomTargetCommand.h" |
12 | | #include "cmAddDefinitionsCommand.h" |
13 | | #include "cmAddDependenciesCommand.h" |
14 | | #include "cmAddExecutableCommand.h" |
15 | | #include "cmAddLibraryCommand.h" |
16 | | #include "cmAddSubDirectoryCommand.h" |
17 | | #include "cmAddTestCommand.h" |
18 | | #include "cmBlockCommand.h" |
19 | | #include "cmBreakCommand.h" |
20 | | #include "cmBuildCommand.h" |
21 | | #include "cmCMakeDiagnosticCommand.h" |
22 | | #include "cmCMakeLanguageCommand.h" |
23 | | #include "cmCMakeMinimumRequired.h" |
24 | | #include "cmCMakePathCommand.h" |
25 | | #include "cmCMakePolicyCommand.h" |
26 | | #include "cmConfigureFileCommand.h" |
27 | | #include "cmContinueCommand.h" |
28 | | #include "cmCreateTestSourceList.h" |
29 | | #include "cmDefinePropertyCommand.h" |
30 | | #include "cmDiscoverTestsCommand.h" |
31 | | #include "cmEnableLanguageCommand.h" |
32 | | #include "cmEnableTestingCommand.h" |
33 | | #include "cmExecProgramCommand.h" |
34 | | #include "cmExecuteProcessCommand.h" |
35 | | #include "cmFileCommand.h" |
36 | | #include "cmFindFileCommand.h" |
37 | | #include "cmFindLibraryCommand.h" |
38 | | #include "cmFindPackageCommand.h" |
39 | | #include "cmFindPathCommand.h" |
40 | | #include "cmFindProgramCommand.h" |
41 | | #include "cmForEachCommand.h" |
42 | | #include "cmFunctionCommand.h" |
43 | | #include "cmGetCMakePropertyCommand.h" |
44 | | #include "cmGetDirectoryPropertyCommand.h" |
45 | | #include "cmGetFilenameComponentCommand.h" |
46 | | #include "cmGetPropertyCommand.h" |
47 | | #include "cmGetSourceFilePropertyCommand.h" |
48 | | #include "cmGetTargetPropertyCommand.h" |
49 | | #include "cmGetTestPropertyCommand.h" |
50 | | #include "cmIfCommand.h" |
51 | | #include "cmIncludeCommand.h" |
52 | | #include "cmIncludeDirectoryCommand.h" |
53 | | #include "cmIncludeGuardCommand.h" |
54 | | #include "cmIncludeRegularExpressionCommand.h" |
55 | | #include "cmInstallCommand.h" |
56 | | #include "cmInstrumentationCommand.h" |
57 | | #include "cmLinkDirectoriesCommand.h" |
58 | | #include "cmListCommand.h" |
59 | | #include "cmMacroCommand.h" |
60 | | #include "cmMarkAsAdvancedCommand.h" |
61 | | #include "cmMathCommand.h" |
62 | | #include "cmMessageCommand.h" |
63 | | #include "cmOptionCommand.h" |
64 | | #include "cmParseArgumentsCommand.h" |
65 | | #include "cmPolicies.h" |
66 | | #include "cmProjectCommand.h" |
67 | | #include "cmReturnCommand.h" |
68 | | #include "cmSeparateArgumentsCommand.h" |
69 | | #include "cmSetCommand.h" |
70 | | #include "cmSetDirectoryPropertiesCommand.h" |
71 | | #include "cmSetPropertyCommand.h" |
72 | | #include "cmSetSourceFilesPropertiesCommand.h" |
73 | | #include "cmSetTargetPropertiesCommand.h" |
74 | | #include "cmSetTestsPropertiesCommand.h" |
75 | | #include "cmSiteNameCommand.h" |
76 | | #include "cmState.h" |
77 | | #include "cmStringCommand.h" |
78 | | #include "cmTargetCompileDefinitionsCommand.h" |
79 | | #include "cmTargetCompileFeaturesCommand.h" |
80 | | #include "cmTargetCompileOptionsCommand.h" |
81 | | #include "cmTargetIncludeDirectoriesCommand.h" |
82 | | #include "cmTargetLinkLibrariesCommand.h" |
83 | | #include "cmTargetLinkOptionsCommand.h" |
84 | | #include "cmTargetPrecompileHeadersCommand.h" |
85 | | #include "cmTargetSourcesCommand.h" |
86 | | #include "cmTryCompileCommand.h" |
87 | | #include "cmTryRunCommand.h" |
88 | | #include "cmUnsetCommand.h" |
89 | | #include "cmWhileCommand.h" |
90 | | |
91 | | #if !defined(CMAKE_BOOTSTRAP) |
92 | | # include "cmAddCompileOptionsCommand.h" |
93 | | # include "cmAddLinkOptionsCommand.h" |
94 | | # include "cmAuxSourceDirectoryCommand.h" |
95 | | # include "cmCMakeHostSystemInformationCommand.h" |
96 | | # include "cmCMakePkgConfigCommand.h" |
97 | | # include "cmExportCommand.h" |
98 | | # include "cmFLTKWrapUICommand.h" |
99 | | # include "cmFileAPICommand.h" |
100 | | # include "cmIncludeExternalMSProjectCommand.h" |
101 | | # include "cmInstallFilesCommand.h" |
102 | | # include "cmInstallProgramsCommand.h" |
103 | | # include "cmInstallTargetsCommand.h" |
104 | | # include "cmLinkLibrariesCommand.h" |
105 | | # include "cmLoadCacheCommand.h" |
106 | | # include "cmMakeDirectoryCommand.h" |
107 | | # include "cmQTWrapCPPCommand.h" |
108 | | # include "cmQTWrapUICommand.h" |
109 | | # include "cmRemoveCommand.h" |
110 | | # include "cmRemoveDefinitionsCommand.h" |
111 | | # include "cmSourceGroupCommand.h" |
112 | | # include "cmSubdirCommand.h" |
113 | | # include "cmTargetLinkDirectoriesCommand.h" |
114 | | # include "cmVariableWatchCommand.h" |
115 | | # include "cmWriteFileCommand.h" |
116 | | #endif |
117 | | |
118 | | void GetScriptingCommands(cmState* state) |
119 | 19.9k | { |
120 | 19.9k | state->AddFlowControlCommand("break", cmBreakCommand); |
121 | 19.9k | state->AddFlowControlCommand("continue", cmContinueCommand); |
122 | 19.9k | state->AddFlowControlCommand("foreach", cmForEachCommand); |
123 | 19.9k | state->AddFlowControlCommand("function", cmFunctionCommand); |
124 | 19.9k | state->AddFlowControlCommand("if", cmIfCommand); |
125 | 19.9k | state->AddFlowControlCommand("macro", cmMacroCommand); |
126 | 19.9k | state->AddFlowControlCommand("return", cmReturnCommand); |
127 | 19.9k | state->AddFlowControlCommand("while", cmWhileCommand); |
128 | 19.9k | state->AddFlowControlCommand("block", cmBlockCommand); |
129 | | |
130 | 19.9k | state->AddBuiltinCommand("cmake_diagnostic", cmCMakeDiagnosticCommand); |
131 | 19.9k | state->AddBuiltinCommand("cmake_language", cmCMakeLanguageCommand); |
132 | 19.9k | state->AddBuiltinCommand("cmake_minimum_required", cmCMakeMinimumRequired); |
133 | 19.9k | state->AddBuiltinCommand("cmake_path", cmCMakePathCommand); |
134 | 19.9k | state->AddBuiltinCommand("cmake_policy", cmCMakePolicyCommand); |
135 | 19.9k | state->AddBuiltinCommand("configure_file", cmConfigureFileCommand); |
136 | 19.9k | state->AddBuiltinCommand("execute_process", cmExecuteProcessCommand); |
137 | 19.9k | state->AddBuiltinCommand("file", cmFileCommand); |
138 | 19.9k | state->AddBuiltinCommand("find_file", cmFindFile); |
139 | 19.9k | state->AddBuiltinCommand("find_library", cmFindLibrary); |
140 | 19.9k | state->AddBuiltinCommand("find_package", cmFindPackage); |
141 | 19.9k | state->AddBuiltinCommand("find_path", cmFindPath); |
142 | 19.9k | state->AddBuiltinCommand("find_program", cmFindProgram); |
143 | 19.9k | state->AddBuiltinCommand("get_cmake_property", cmGetCMakePropertyCommand); |
144 | 19.9k | state->AddBuiltinCommand("get_directory_property", |
145 | 19.9k | cmGetDirectoryPropertyCommand); |
146 | 19.9k | state->AddBuiltinCommand("get_filename_component", |
147 | 19.9k | cmGetFilenameComponentCommand); |
148 | 19.9k | state->AddBuiltinCommand("get_property", cmGetPropertyCommand); |
149 | 19.9k | state->AddBuiltinCommand("include", cmIncludeCommand); |
150 | 19.9k | state->AddBuiltinCommand("include_guard", cmIncludeGuardCommand); |
151 | 19.9k | state->AddBuiltinCommand("list", cmListCommand); |
152 | 19.9k | state->AddBuiltinCommand("mark_as_advanced", cmMarkAsAdvancedCommand); |
153 | 19.9k | state->AddBuiltinCommand("math", cmMathCommand); |
154 | 19.9k | state->AddBuiltinCommand("message", cmMessageCommand); |
155 | 19.9k | state->AddBuiltinCommand("option", cmOptionCommand); |
156 | 19.9k | state->AddBuiltinCommand("cmake_parse_arguments", cmParseArgumentsCommand); |
157 | 19.9k | state->AddBuiltinCommand("separate_arguments", cmSeparateArgumentsCommand); |
158 | 19.9k | state->AddBuiltinCommand("set", cmSetCommand); |
159 | 19.9k | state->AddBuiltinCommand("set_directory_properties", |
160 | 19.9k | cmSetDirectoryPropertiesCommand); |
161 | 19.9k | state->AddBuiltinCommand("set_property", cmSetPropertyCommand); |
162 | 19.9k | state->AddBuiltinCommand("site_name", cmSiteNameCommand); |
163 | 19.9k | state->AddBuiltinCommand("string", cmStringCommand); |
164 | 19.9k | state->AddBuiltinCommand("unset", cmUnsetCommand); |
165 | | |
166 | 19.9k | state->AddUnexpectedFlowControlCommand( |
167 | 19.9k | "else", |
168 | 19.9k | "An ELSE command was found outside of a proper " |
169 | 19.9k | "IF ENDIF structure. Or its arguments did not match " |
170 | 19.9k | "the opening IF command."); |
171 | 19.9k | state->AddUnexpectedFlowControlCommand( |
172 | 19.9k | "elseif", |
173 | 19.9k | "An ELSEIF command was found outside of a proper " |
174 | 19.9k | "IF ENDIF structure."); |
175 | 19.9k | state->AddUnexpectedFlowControlCommand( |
176 | 19.9k | "endforeach", |
177 | 19.9k | "An ENDFOREACH command was found outside of a proper " |
178 | 19.9k | "FOREACH ENDFOREACH structure. Or its arguments did " |
179 | 19.9k | "not match the opening FOREACH command."); |
180 | 19.9k | state->AddUnexpectedFlowControlCommand( |
181 | 19.9k | "endfunction", |
182 | 19.9k | "An ENDFUNCTION command was found outside of a proper " |
183 | 19.9k | "FUNCTION ENDFUNCTION structure. Or its arguments did not " |
184 | 19.9k | "match the opening FUNCTION command."); |
185 | 19.9k | state->AddUnexpectedFlowControlCommand( |
186 | 19.9k | "endif", |
187 | 19.9k | "An ENDIF command was found outside of a proper " |
188 | 19.9k | "IF ENDIF structure. Or its arguments did not match " |
189 | 19.9k | "the opening IF command."); |
190 | 19.9k | state->AddUnexpectedFlowControlCommand( |
191 | 19.9k | "endmacro", |
192 | 19.9k | "An ENDMACRO command was found outside of a proper " |
193 | 19.9k | "MACRO ENDMACRO structure. Or its arguments did not " |
194 | 19.9k | "match the opening MACRO command."); |
195 | 19.9k | state->AddUnexpectedFlowControlCommand( |
196 | 19.9k | "endwhile", |
197 | 19.9k | "An ENDWHILE command was found outside of a proper " |
198 | 19.9k | "WHILE ENDWHILE structure. Or its arguments did not " |
199 | 19.9k | "match the opening WHILE command."); |
200 | 19.9k | state->AddUnexpectedFlowControlCommand( |
201 | 19.9k | "endblock", |
202 | 19.9k | "An ENDBLOCK command was found outside of a proper " |
203 | 19.9k | "BLOCK ENDBLOCK structure."); |
204 | | |
205 | 19.9k | #if !defined(CMAKE_BOOTSTRAP) |
206 | 19.9k | state->AddBuiltinCommand("cmake_host_system_information", |
207 | 19.9k | cmCMakeHostSystemInformationCommand); |
208 | 19.9k | state->AddBuiltinCommand("cmake_pkg_config", cmCMakePkgConfigCommand); |
209 | 19.9k | state->AddBuiltinCommand("load_cache", cmLoadCacheCommand); |
210 | 19.9k | state->AddBuiltinCommand("make_directory", cmMakeDirectoryCommand); |
211 | 19.9k | state->AddBuiltinCommand("remove", cmRemoveCommand); |
212 | 19.9k | state->AddBuiltinCommand("variable_watch", cmVariableWatchCommand); |
213 | 19.9k | state->AddBuiltinCommand("write_file", cmWriteFileCommand); |
214 | | |
215 | 19.9k | state->AddRemovedCommand( |
216 | 19.9k | "build_name", "The build_name command has been removed; see CMP0036."); |
217 | 19.9k | state->AddRemovedCommand( |
218 | 19.9k | "use_mangled_mesa", |
219 | 19.9k | "The use_mangled_mesa command has been removed; see CMP0030."); |
220 | 19.9k | state->AddDisallowedCommand("exec_program", cmExecProgramCommand, |
221 | 19.9k | cmPolicies::CMP0153, |
222 | 19.9k | "The exec_program command should not be called; " |
223 | 19.9k | "see CMP0153. Use execute_process() instead.", |
224 | 19.9k | "Use execute_process() instead."); |
225 | | |
226 | 19.9k | #endif |
227 | 19.9k | } |
228 | | |
229 | | void GetProjectCommands(cmState* state) |
230 | 19.8k | { |
231 | 19.8k | state->AddBuiltinCommand("add_compile_definitions", |
232 | 19.8k | cmAddCompileDefinitionsCommand); |
233 | 19.8k | state->AddBuiltinCommand("add_custom_command", cmAddCustomCommandCommand); |
234 | 19.8k | state->AddBuiltinCommand("add_custom_target", cmAddCustomTargetCommand); |
235 | 19.8k | state->AddBuiltinCommand("add_custom_rule", cmAddCustomRuleCommand); |
236 | 19.8k | state->AddBuiltinCommand("add_definitions", cmAddDefinitionsCommand); |
237 | 19.8k | state->AddBuiltinCommand("add_dependencies", cmAddDependenciesCommand); |
238 | 19.8k | state->AddBuiltinCommand("add_executable", cmAddExecutableCommand); |
239 | 19.8k | state->AddBuiltinCommand("add_library", cmAddLibraryCommand); |
240 | 19.8k | state->AddBuiltinCommand("add_subdirectory", cmAddSubDirectoryCommand); |
241 | 19.8k | state->AddBuiltinCommand("add_test", cmAddTestCommand); |
242 | 19.8k | state->AddBuiltinCommand("build_command", cmBuildCommand); |
243 | 19.8k | state->AddBuiltinCommand("create_test_sourcelist", cmCreateTestSourceList); |
244 | 19.8k | state->AddBuiltinCommand("define_property", cmDefinePropertyCommand); |
245 | 19.8k | state->AddBuiltinCommand("discover_tests", cmDiscoverTestsCommand); |
246 | 19.8k | state->AddBuiltinCommand("enable_language", cmEnableLanguageCommand); |
247 | 19.8k | state->AddBuiltinCommand("enable_testing", cmEnableTestingCommand); |
248 | 19.8k | state->AddBuiltinCommand("get_source_file_property", |
249 | 19.8k | cmGetSourceFilePropertyCommand); |
250 | 19.8k | state->AddBuiltinCommand("get_target_property", cmGetTargetPropertyCommand); |
251 | 19.8k | state->AddBuiltinCommand("get_test_property", cmGetTestPropertyCommand); |
252 | 19.8k | state->AddBuiltinCommand("include_directories", cmIncludeDirectoryCommand); |
253 | 19.8k | state->AddBuiltinCommand("include_regular_expression", |
254 | 19.8k | cmIncludeRegularExpressionCommand); |
255 | 19.8k | state->AddBuiltinCommand("install", cmInstallCommand); |
256 | 19.8k | state->AddBuiltinCommand("link_directories", cmLinkDirectoriesCommand); |
257 | 19.8k | state->AddBuiltinCommand("project", cmProjectCommand); |
258 | 19.8k | state->AddBuiltinCommand("set_source_files_properties", |
259 | 19.8k | cmSetSourceFilesPropertiesCommand); |
260 | 19.8k | state->AddBuiltinCommand("set_target_properties", |
261 | 19.8k | cmSetTargetPropertiesCommand); |
262 | 19.8k | state->AddBuiltinCommand("set_tests_properties", |
263 | 19.8k | cmSetTestsPropertiesCommand); |
264 | 19.8k | state->AddBuiltinCommand("target_compile_definitions", |
265 | 19.8k | cmTargetCompileDefinitionsCommand); |
266 | 19.8k | state->AddBuiltinCommand("target_compile_features", |
267 | 19.8k | cmTargetCompileFeaturesCommand); |
268 | 19.8k | state->AddBuiltinCommand("target_compile_options", |
269 | 19.8k | cmTargetCompileOptionsCommand); |
270 | 19.8k | state->AddBuiltinCommand("target_include_directories", |
271 | 19.8k | cmTargetIncludeDirectoriesCommand); |
272 | 19.8k | state->AddBuiltinCommand("target_link_libraries", |
273 | 19.8k | cmTargetLinkLibrariesCommand); |
274 | 19.8k | state->AddBuiltinCommand("target_link_options", cmTargetLinkOptionsCommand); |
275 | 19.8k | state->AddBuiltinCommand("target_sources", cmTargetSourcesCommand); |
276 | 19.8k | state->AddBuiltinCommand("try_compile", cmTryCompileCommand); |
277 | 19.8k | state->AddBuiltinCommand("try_run", cmTryRunCommand); |
278 | 19.8k | state->AddBuiltinCommand("target_precompile_headers", |
279 | 19.8k | cmTargetPrecompileHeadersCommand); |
280 | | |
281 | 19.8k | #if !defined(CMAKE_BOOTSTRAP) |
282 | 19.8k | state->AddBuiltinCommand("add_compile_options", cmAddCompileOptionsCommand); |
283 | 19.8k | state->AddBuiltinCommand("aux_source_directory", |
284 | 19.8k | cmAuxSourceDirectoryCommand); |
285 | 19.8k | state->AddBuiltinCommand("export", cmExportCommand); |
286 | 19.8k | state->AddBuiltinCommand("fltk_wrap_ui", cmFLTKWrapUICommand); |
287 | 19.8k | state->AddBuiltinCommand("include_external_msproject", |
288 | 19.8k | cmIncludeExternalMSProjectCommand); |
289 | 19.8k | state->AddBuiltinCommand("install_files", cmInstallFilesCommand); |
290 | 19.8k | state->AddBuiltinCommand("install_programs", cmInstallProgramsCommand); |
291 | 19.8k | state->AddBuiltinCommand("install_targets", cmInstallTargetsCommand); |
292 | 19.8k | state->AddBuiltinCommand("add_link_options", cmAddLinkOptionsCommand); |
293 | 19.8k | state->AddBuiltinCommand("link_libraries", cmLinkLibrariesCommand); |
294 | 19.8k | state->AddBuiltinCommand("target_link_directories", |
295 | 19.8k | cmTargetLinkDirectoriesCommand); |
296 | 19.8k | state->AddBuiltinCommand("qt_wrap_cpp", cmQTWrapCPPCommand); |
297 | 19.8k | state->AddBuiltinCommand("qt_wrap_ui", cmQTWrapUICommand); |
298 | 19.8k | state->AddBuiltinCommand("remove_definitions", cmRemoveDefinitionsCommand); |
299 | 19.8k | state->AddBuiltinCommand("source_group", cmSourceGroupCommand); |
300 | 19.8k | state->AddBuiltinCommand("subdirs", cmSubdirCommand); |
301 | 19.8k | state->AddBuiltinCommand("cmake_file_api", cmFileAPICommand); |
302 | 19.8k | state->AddBuiltinCommand("cmake_instrumentation", cmInstrumentationCommand); |
303 | | |
304 | 19.8k | state->AddRemovedCommand( |
305 | 19.8k | "export_library_dependencies", |
306 | 19.8k | "The export_library_dependencies command has been removed; see CMP0033."); |
307 | 19.8k | state->AddRemovedCommand( |
308 | 19.8k | "load_command", "The load_command command has been removed; see CMP0031."); |
309 | 19.8k | state->AddRemovedCommand( |
310 | 19.8k | "output_required_files", |
311 | 19.8k | "The output_required_files command has been removed; see CMP0032."); |
312 | 19.8k | state->AddRemovedCommand( |
313 | 19.8k | "subdir_depends", |
314 | 19.8k | "The subdir_depends command has been removed; see CMP0029."); |
315 | 19.8k | state->AddRemovedCommand( |
316 | 19.8k | "utility_source", |
317 | 19.8k | "The utility_source command has been removed; see CMP0034."); |
318 | 19.8k | state->AddRemovedCommand( |
319 | 19.8k | "variable_requires", |
320 | 19.8k | "The variable_requires command has been removed; see CMP0035."); |
321 | 19.8k | #endif |
322 | 19.8k | } |
323 | | |
324 | | void GetProjectCommandsInScriptMode(cmState* state) |
325 | 1 | { |
326 | 1 | #define CM_UNEXPECTED_PROJECT_COMMAND(NAME) \ |
327 | 49 | state->AddUnexpectedCommand(NAME, "command is not scriptable") |
328 | | |
329 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("add_compile_options"); |
330 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("add_custom_command"); |
331 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("add_custom_target"); |
332 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("add_definitions"); |
333 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("add_dependencies"); |
334 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("add_executable"); |
335 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("add_library"); |
336 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("add_subdirectory"); |
337 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("add_test"); |
338 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("aux_source_directory"); |
339 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("build_command"); |
340 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("cmake_file_api"); |
341 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("create_test_sourcelist"); |
342 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("define_property"); |
343 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("enable_language"); |
344 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("enable_testing"); |
345 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("export"); |
346 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("fltk_wrap_ui"); |
347 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("get_source_file_property"); |
348 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("get_target_property"); |
349 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("get_test_property"); |
350 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("include_directories"); |
351 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("include_external_msproject"); |
352 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("include_regular_expression"); |
353 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("install"); |
354 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("link_directories"); |
355 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("link_libraries"); |
356 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("project"); |
357 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("qt_wrap_cpp"); |
358 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("qt_wrap_ui"); |
359 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("remove_definitions"); |
360 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("set_source_files_properties"); |
361 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("set_target_properties"); |
362 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("set_tests_properties"); |
363 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("source_group"); |
364 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("target_compile_definitions"); |
365 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("target_compile_features"); |
366 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("target_compile_options"); |
367 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("target_include_directories"); |
368 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("target_link_libraries"); |
369 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("target_sources"); |
370 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("try_compile"); |
371 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("try_run"); |
372 | | |
373 | | // deprecated commands |
374 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("export_library_dependencies"); |
375 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("load_command"); |
376 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("output_required_files"); |
377 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("subdir_depends"); |
378 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("utility_source"); |
379 | 1 | CM_UNEXPECTED_PROJECT_COMMAND("variable_requires"); |
380 | | |
381 | 1 | #undef CM_UNEXPECTED_PROJECT_COMMAND |
382 | 1 | } |