Warning, /frameworks/extra-cmake-modules/modules/ECMMarkNonGuiExecutable.cmake is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2012 Stephen Kelly <steveire@gmail.com> 0002 # 0003 # SPDX-License-Identifier: BSD-3-Clause 0004 0005 #[=======================================================================[.rst: 0006 ECMMarkNonGuiExecutable 0007 ----------------------- 0008 0009 Marks an executable target as not being a GUI application. 0010 0011 :: 0012 0013 ecm_mark_nongui_executable(<target1> [<target2> [...]]) 0014 0015 This will indicate to CMake that the specified targets should not be included 0016 in a MACOSX_BUNDLE and should not be WIN32_EXECUTABLEs. On platforms other 0017 than MacOS X or Windows, this will have no effect. 0018 0019 Since pre-1.0.0. 0020 #]=======================================================================] 0021 0022 function(ecm_mark_nongui_executable) 0023 foreach(_target ${ARGN}) 0024 set_target_properties(${_target} 0025 PROPERTIES 0026 WIN32_EXECUTABLE FALSE 0027 MACOSX_BUNDLE FALSE 0028 ) 0029 endforeach() 0030 endfunction()