cmake add_library(ALIAS) examples

apache/arrow cpp/cmake_modules/Findlz4Alt.cmake :35

add_library(LZ4::lz4 ALIAS lz4::lz4)

assimp/assimp contrib/zip/CMakeLists.txt :33

add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})

OpenChemistry/avogadrolibs avogadro/core/CMakeLists.txt :9

add_library(Avogadro::Headers ALIAS Headers)

google/benchmark CMakeLists.txt :348

add_library(gtest_main ALIAS GTest::gtest_main)

google/benchmark CMakeLists.txt :349

add_library(gmock ALIAS GTest::gmock)

capnproto/capnproto c++/src/capnp/CMakeLists.txt :147

add_library(CapnProto::capnp-websocket ALIAS capnp-websocket)

capnproto/capnproto c++/src/kj/CMakeLists.txt :81

add_library(CapnProto::kj ALIAS kj)

capnproto/capnproto c++/src/kj/CMakeLists.txt :229

add_library(CapnProto::kj-gzip ALIAS kj-gzip)

CGAL/cgal Installation/lib/cmake/CGAL/CGALConfig.cmake :190

add_library(CGAL::${cgal_lib} ALIAS ${cgal_lib})

projectchrono/chrono src/chrono_cascade/CMakeLists.txt :120

add_library(Chrono::cascade ALIAS Chrono_cascade)

projectchrono/chrono src/chrono_modal/CMakeLists.txt :89

add_library(Chrono::modal ALIAS Chrono_modal)

projectchrono/chrono src/chrono_synchrono/CMakeLists.txt :167

add_library(Chrono::synchrono ALIAS Chrono_synchrono)

projectchrono/chrono src/chrono_thirdparty/yaml-cpp/test/googletest-1.13.0/googletest/cmake/internal_utils.cmake :160

add_library(${cmake_package_name}::${name} ALIAS ${name})

mosra/corrade src/Corrade/Interconnect/CMakeLists.txt :82

add_library(Corrade::Interconnect ALIAS CorradeInterconnect)

mosra/corrade src/Corrade/TestSuite/CMakeLists.txt :124

add_library(Corrade::TestSuite ALIAS CorradeTestSuite)

cpputest/cpputest src/CppUTestExt/CMakeLists.txt :49

add_library(CppUTest::CppUTestExt ALIAS CppUTestExt)

libcpr/cpr CMakeLists.txt :344

add_library(GTest::GTest ALIAS gtest_int)

curl/curl lib/CMakeLists.txt :293

add_library(${PROJECT_NAME}::${LIB_NAME} ALIAS ${LIB_SELECTED})

doctest/doctest CMakeLists.txt :26

add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})

skypjack/entt test/CMakeLists.txt :156

add_library(cr::cr ALIAS cr)

spnda/fastgltf CMakeLists.txt :105

add_library(fastgltf::module ALIAS fastgltf_module)

xiph/flac src/libFLAC/CMakeLists.txt :115

add_library(FLAC::FLAC ALIAS FLAC)

OSGeo/gdal gdal.cmake :220

add_library(GDAL::GDAL ALIAS ${GDAL_LIB_TARGET_NAME})

cginternals/glbinding source/glbinding-aux/CMakeLists.txt :149

add_library(${META_PROJECT_NAME}::${target} ALIAS ${target})

KhronosGroup/glslang glslang/CMakeLists.txt :171

add_library(glslang::glslang ALIAS glslang)

KhronosGroup/glslang SPIRV/CMakeLists.txt :99

add_library(glslang::SPVRemapper ALIAS SPVRemapper)

google/googletest googletest/cmake/internal_utils.cmake :166

add_library(${cmake_package_name}::${name} ALIAS ${name})

sciapp/gr CMakeLists.txt :374

add_library(GR::GKS ALIAS gks_static)

sciapp/gr CMakeLists.txt :542

add_library(GR::GR3 ALIAS gr3_shared)

sciapp/gr CMakeLists.txt :1072

add_library(GR::qt4gr ALIAS qt4gr)

Microsoft/GSL CMakeLists.txt :6

add_library(Microsoft.GSL::GSL ALIAS GSL)

HDFGroup/hdf4 config/cmake/HDFLibMacros.cmake :108

add_library (${HDF_PACKAGE_NAMESPACE}aec-static ALIAS aec-static)

HDFGroup/hdf5 config/cmake/HDFLibMacros.cmake :47

add_library(${HDF_PACKAGE_NAMESPACE}zlib-static ALIAS zlib-static)

HDFGroup/hdf5 config/cmake/HDFLibMacros.cmake :92

add_library (${HDF_PACKAGE_NAMESPACE}aec-static ALIAS aec-static)

libusb/hidapi libusb/CMakeLists.txt :97

add_library(hidapi-libusb ALIAS hidapi_libusb)

libusb/hidapi netbsd/CMakeLists.txt :23

add_library(hidapi::netbsd ALIAS hidapi_netbsd)

libusb/hidapi src/CMakeLists.txt :182

add_library(hidapi::hidapi ALIAS hidapi_${EXPORT_ALIAS})

BlueBrain/HighFive CMakeLists.txt :104

add_library(HighFive::Include ALIAS HighFiveInclude)

BlueBrain/HighFive CMakeLists.txt :113

add_library(HighFive::HighFive ALIAS HighFive)

redis/hiredis CMakeLists.txt :50

ADD_LIBRARY(hiredis::hiredis ALIAS hiredis)

berndporr/iir1 CMakeLists.txt :105

add_library(iir::iir_static ALIAS iir_static)

AcademySoftwareFoundation/Imath src/python/config/CMakeLists.txt :11

add_library(PyImath::Config ALIAS PyImathConfig)

InsightSoftwareConsortium/ITK Modules/ThirdParty/HDF5/src/itkhdf5/config/cmake/HDFLibMacros.cmake :73

add_library (${HDF_PACKAGE_NAMESPACE}szaec-static ALIAS szaec-static)

InsightSoftwareConsortium/ITK Modules/ThirdParty/KWSys/src/KWSys/CMakeLists.txt :762

add_library(${KWSYS_ALIAS_TARGET} ALIAS ${KWSYS_TARGET_INTERFACE})

InsightSoftwareConsortium/ITK Modules/ThirdParty/TIFF/src/itktiff/cmake/ZSTDCodec.cmake :39

add_library(ZSTD::ZSTD ALIAS zstd::libzstd_static)

nlohmann/json CMakeLists.txt :117

add_library(${PROJECT_NAME}::${NLOHMANN_JSON_TARGET_NAME} ALIAS ${NLOHMANN_JSON_TARGET_NAME})

google/jsonnet CMakeLists.txt :91

add_library(GTest::GTest ALIAS gtest)

google/jsonnet third_party/json/CMakeLists.txt :4

add_library(nlohmann_json::nlohmann_json ALIAS nlohmann_json)

KDAB/KDStateMachineEditor src/debuginterface/debuginterfacesource/CMakeLists.txt :32

add_library(KDSME::DebugInterfaceSource ALIAS kdstatemachineeditor_debuginterfacesource)

KDAB/KDStateMachineEditor src/view/CMakeLists.txt :58

add_library(KDSME::View ALIAS kdstatemachineeditor_view)

lammps/lammps unittest/CMakeLists.txt :26

add_library(GTest::GTest ALIAS gtest)

lammps/lammps unittest/CMakeLists.txt :29

add_library(GTest::GMockMain ALIAS gmock_main)

AOMediaCodec/libavif cmake/Modules/LocalLibgav1.cmake :50

add_library(libgav1::libgav1 ALIAS libgav1_static)

libical/libical src/libical/CMakeLists.txt :390

add_library(ical_cxx-static ALIAS ical_cxx)

libical/libical src/libicalvcal/CMakeLists.txt :46

add_library(icalvcal-static ALIAS icalvcal)

libuv/libuv CMakeLists.txt :808

add_library(libuv::libuv ALIAS ${LIB_SELECTED})

intel/libvpl cmake/FindVPL.cmake :27

add_library(VPL::api ALIAS vpl-api)

intel/libvpl libvpl/test/CMakeLists.txt :33

add_library(GTest::gtest ALIAS gtest)

mosra/magnum src/Magnum/DebugTools/CMakeLists.txt :195

add_library(Magnum::DebugTools ALIAS MagnumDebugTools)

mosra/magnum src/Magnum/GL/CMakeLists.txt :295

add_library(Magnum::OpenGLTester ALIAS MagnumOpenGLTester)

mosra/magnum src/Magnum/GL/CMakeLists.txt :364

add_library(Magnum::GL ALIAS MagnumGL)

mosra/magnum src/Magnum/Platform/CMakeLists.txt :272

add_library(Magnum::EmscriptenApplication ALIAS MagnumEmscriptenApplication)

mosra/magnum src/Magnum/Platform/CMakeLists.txt :861

add_library(Magnum::CglContext ALIAS MagnumCglContext)

mosra/magnum src/Magnum/Platform/CMakeLists.txt :951

add_library(Magnum::GlxContext ALIAS MagnumGlxContext)

mosra/magnum src/Magnum/Platform/CMakeLists.txt :983

add_library(Magnum::WglContext ALIAS MagnumWglContext)

mosra/magnum src/MagnumPlugins/TgaImporter/CMakeLists.txt :64

add_library(Magnum::TgaImporter ALIAS TgaImporter)

miniupnp/miniupnp miniupnpc/CMakeLists.txt :109

add_library (miniupnpc::miniupnpc ALIAS libminiupnpc-static)

rui314/mold third-party/blake3/c/CMakeLists.txt :127

add_library(BLAKE3::blake3 ALIAS blake3)

rui314/mold third-party/tbb/python/rml/CMakeLists.txt :24

add_library(TBB::irml ALIAS irml)

rui314/mold third-party/tbb/src/tbb/CMakeLists.txt :49

add_library(TBB::tbb ALIAS tbb)

rui314/mold third-party/tbb/src/tbbbind/CMakeLists.txt :29

add_library(TBB::${TBBBIND_NAME} ALIAS ${TBBBIND_NAME})

neocmakelsp/neocmakelsp experiment_assets/nheko.cmake :588

add_library(lmdbxx::lmdbxx ALIAS lmdbxx)

neocmakelsp/neocmakelsp experiment_assets/test3.cmake :508

add_library(cmark::cmark ALIAS cmark)

neocmakelsp/neocmakelsp experiment_assets/test3.cmake :534

add_library(lmdbxx::lmdbxx ALIAS lmdbxx)

YosysHQ/nextpnr 3rdparty/pybind11/CMakeLists.txt :230

add_library(pybind11::pybind11_headers ALIAS pybind11_headers) # to match exported target

uxlfoundation/oneTBB src/tbbmalloc_proxy/CMakeLists.txt :27

add_library(TBB::tbbmalloc_proxy ALIAS tbbmalloc_proxy)

BYVoid/OpenCC deps/google-benchmark/src/CMakeLists.txt :63

add_library(benchmark::benchmark_main ALIAS benchmark_main)

AcademySoftwareFoundation/OpenColorIO share/cmake/modules/Findyaml-cpp.cmake :58

add_library(yaml-cpp::yaml-cpp ALIAS yaml-cpp)

AcademySoftwareFoundation/openexr cmake/CMakeLists.txt :148

add_library(${PROJECT_NAME}::Config ALIAS OpenEXRConfig)

openturns/openturns CMakeLists.txt :538

add_library (Python::Module ALIAS Python::SABIModule)

AcademySoftwareFoundation/openvdb openvdb/openvdb/CMakeLists.txt :641

add_library(openvdb ALIAS openvdb_static)

qgis/QGIS cmake/FindO2.cmake :18

add_library(o2::o2 ALIAS PkgConfig::PC_O2)

qtwebkit/qtwebkit Source/cmake/WebKitMacros.cmake :230

add_library(WebKit::${_target} ALIAS ${_target}_PostBuild)

icculus/SDL_sound CMakeLists.txt :182

add_library(SDL3_sound::SDL3_sound-static ALIAS SDL3_sound-static)

SOCI/soci cmake/soci_define_backend_target.cmake :121

add_library(SOCI::${DEFINE_BACKEND_NAME} ALIAS ${DEFINE_BACKEND_TARGET_NAME})

SOCI/soci cmake/find_modules/FindMySQL.cmake :31

add_library(MySQL::MySQL ALIAS ${LIBRARY_TARGET})

SOCI/soci src/CMakeLists.txt :2

add_library(SOCI::soci ALIAS soci_interface)

albertodemichelis/squirrel squirrel/CMakeLists.txt :16

add_library(squirrel::squirrel ALIAS squirrel)

albertodemichelis/squirrel squirrel/CMakeLists.txt :37

add_library(squirrel::squirrel_static ALIAS squirrel_static)

DrTimothyAldenDavis/SuiteSparse CMakeLists.txt :290

add_library ( SuiteSparse::SuiteSparseConfig ALIAS SuiteSparseConfig )

DrTimothyAldenDavis/SuiteSparse CMakeLists.txt :340

add_library ( SuiteSparse::CAMD ALIAS CAMD_static )

DrTimothyAldenDavis/SuiteSparse CMakeLists.txt :350

add_library ( SuiteSparse::CCOLAMD ALIAS CCOLAMD )

DrTimothyAldenDavis/SuiteSparse CMakeLists.txt :379

add_library ( SuiteSparse::CHOLMOD_static ALIAS CHOLMOD_static )

DrTimothyAldenDavis/SuiteSparse CMakeLists.txt :394

add_library ( SuiteSparse::CXSparse ALIAS CXSparse )

DrTimothyAldenDavis/SuiteSparse CMakeLists.txt :418

add_library ( SuiteSparse::KLU ALIAS KLU )

DrTimothyAldenDavis/SuiteSparse CMakeLists.txt :423

add_library ( SuiteSparse::KLU_static ALIAS KLU_static )

DrTimothyAldenDavis/SuiteSparse CMakeLists.txt :430

add_library ( SuiteSparse::UMFPACK ALIAS UMFPACK )

DrTimothyAldenDavis/SuiteSparse CMakeLists.txt :444

add_library ( SuiteSparse::ParU ALIAS ParU_static )

DrTimothyAldenDavis/SuiteSparse CMakeLists.txt :504

add_library ( SuiteSparse::LAGraph ALIAS LAGraph_static )

DrTimothyAldenDavis/SuiteSparse LAGraph/cmake_modules/FindGraphBLAS.cmake :185

add_library ( GraphBLAS::GraphBLAS_static ALIAS ${_graphblas_aliased} )