Remove unused EXE_FLAGS option from qt_internal_add_executable()

The EXE_FLAGS option wasn't being used anywhere in any Qt repo
and it had no documentation as to its intended use. Remove it.

Pick-to: 6.2
Change-Id: I2f67ec57c1da7dc6eab81d5351361e770d19d7d5
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Craig Scott 2021-09-17 16:38:07 +10:00
parent c780708bd3
commit b57f7f07cf
2 changed files with 1 additions and 3 deletions

View File

@ -491,7 +491,6 @@ set(__qt_internal_add_executable_single_args
${__default_target_info_args}
)
set(__qt_internal_add_executable_multi_args
EXE_FLAGS
${__default_private_args}
${__default_public_args}
)

View File

@ -19,8 +19,7 @@ function(qt_internal_add_executable name)
set(arg_INSTALL_DIRECTORY "${INSTALL_BINDIR}")
endif()
# TODO: EXE_FLAGS doesn't seem to be used anywhere, we can probably remove it
_qt_internal_create_executable(${name} ${arg_EXE_FLAGS})
_qt_internal_create_executable(${name})
if (ANDROID)
qt_android_generate_deployment_settings("${name}")
qt_android_add_apk_target("${name}")