cmake add_executable examples

Signatures

add_executable(<name> <options>... <sources>...)
add_executable(<name> IMPORTED [GLOBAL])
add_executable(<name> ALIAS <target>)

Examples

openvinotoolkit/openvino thirdparty/flatbuffers/CMakeLists.txt :44

add_executable(flatbuffers::flatc IMPORTED GLOBAL)

OpenKneeboard/OpenKneeboard third-party/cppwinrt.cmake :34

add_executable(ThirdParty::CppWinRT::Exe IMPORTED GLOBAL)

google/filament third_party/dawn/third_party/protobuf/CMakeLists.txt :61

add_executable(protoc IMPORTED GLOBAL)

sonosaurus/sonobus deps/juce/extras/Build/juceaide/CMakeLists.txt :142

add_executable(juceaide IMPORTED GLOBAL)

OpenDDS/OpenDDS cmake/import_common.cmake :423

add_executable(${target} IMPORTED GLOBAL)

mozilla-mobile/mozilla-vpn-client extension/CMakeLists.txt :56

add_executable(mozillavpnnp IMPORTED GLOBAL)

ClickHouse/ClickHouse contrib/google-protobuf-cmake/CMakeLists.txt :482

add_executable(protoc IMPORTED GLOBAL)

intel/intel-graphics-compiler IGC/cmake/igc_find_opencl_clang.cmake :198

add_executable(clang-tool IMPORTED GLOBAL)

Bitcoin-ABC/bitcoin-abc cmake/modules/NativeExecutable.cmake :114

add_executable(${NAME} IMPORTED GLOBAL)