cmake add_executable examples

Signatures

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

Examples

timi-liuliang/echo editor/Qt/5.10.0/msvc2017_64/lib/cmake/Qt5DBus/Qt5DBusConfigExtras.cmake :14

add_executable(Qt5::qdbusxml2cpp IMPORTED)

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

add_executable(flatbuffers::flatc IMPORTED GLOBAL)

gnss-sdr/gnss-sdr CMakeLists.txt :2667

add_executable(protobuf::protoc IMPORTED)

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

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

facebookincubator/velox velox/experimental/breeze/cmake/sycl.cmake :43

add_executable(${target}_TESTS IMPORTED)

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

add_executable(protoc IMPORTED GLOBAL)

ngscopeclient/scopehal-apps cmake/FindVulkan.cmake :623

add_executable(Vulkan::glslc IMPORTED)

prophesee-ai/openeb cmake/Modules/FindPython/Support.cmake :3008

add_executable (${_PYTHON_PREFIX}::Interpreter IMPORTED)

aseprite/aseprite src/CMakeLists.txt :76

add_executable(gen IMPORTED)

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)

stotko/stdgpu cmake/FindCppcheck.cmake :21

add_executable(Cppcheck::Cppcheck IMPORTED)

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

add_executable(${NAME} IMPORTED GLOBAL)

decaf-emu/decaf-emu src/decaf-qt/CMakeLists.txt :99

add_executable(Qt::windeployqt IMPORTED)

meemknight/ourCraft thirdparty/FastNoise2/tool/lib/cmake/FastNoise2/FastNoise2Targets.cmake :61

add_executable(FastNoise2::NoiseTool IMPORTED)

Kitware/VTK CMake/patches/3.23/FindPython/Support.cmake :3232

add_executable (${_PYTHON_PREFIX}::Interpreter IMPORTED)

qt/qtwebkit Source/PlatformQt.cmake :214

add_executable(Qt5::qhelpgenerator IMPORTED)

syslog-ng/syslog-ng modules/grpc/CMakeLists.txt :54

add_executable(protobuf::protoc-gen-upb IMPORTED)

HDFGroup/hdf5 config/examples/HDF5AsSubdirMacros.cmake :95

add_executable (h5dump IMPORTED)