cmake project examples

Signatures

project(<PROJECT-NAME> [<language-name>...])
  project(<PROJECT-NAME>
  [VERSION <major>[.<minor>[.<patch>[.<tweak>]]]]
  [DESCRIPTION <project-description-string>]
  [HOMEPAGE_URL <url-string>]
[LANGUAGES <language-name>...])

Examples

gwaldron/osgearth CMakeLists.txt :13

project(
    OSGEARTH
    DESCRIPTION "osgEarth SDK"
    HOMEPAGE_URL "https://github.com/gwaldron/osgearth"
    LANGUAGES CXX C)

jbehley/SuMa CMakeLists.txt :3

project(surfel_mapping VERSION 0.1 DESCRIPTION "SuMa --Surfel-based Mapping using LiDAR scans" LANGUAGES C CXX)

JeanPhilippeKernel/RendererEngine CMakeLists.txt :3

project (RendererEngine
	VERSION 1.0
	DESCRIPTION "Renderer Engine is an open-source 2D - 3D rendering engine written in C/C++"
	LANGUAGES CXX C
)

ANTsX/ANTs CMakeLists.txt :64

project(SuperBuild_${LOCAL_PROJECT_NAME}
    DESCRIPTION "Optional superbuild step to build external support libraries for ANTs"
  )

openvinotoolkit/openvino src/bindings/python/CMakeLists.txt :14

project(OpenVINOPython DESCRIPTION "OpenVINO Runtime Python bindings")

brainflow-dev/brainflow third_party/SimpleBLE/simpledbus/CMakeLists.txt :10

project(
    simpledbus
    VERSION ${SIMPLEBLE_VERSION}
    DESCRIPTION "A simple C++ wrapper around DBus with a commercially-friendly licence."
    HOMEPAGE_URL "https://github.com/OpenBluetoothToolbox/SimpleDBus"
    LANGUAGES CXX
)

percona/percona-xtrabackup extra/gperftools/gperftools-2.15/CMakeLists.txt :8

project(gperftools VERSION 2.15 LANGUAGES C CXX
        DESCRIPTION "Performance tools for C++"
        HOMEPAGE_URL https://github.com/gperftools/gperftools)

cginternals/glbinding CMakeLists.txt :117

project(${META_PROJECT_NAME}
    VERSION ${META_VERSION}
    DESCRIPTION ${META_PROJECT_DESCRIPTION}
)

complexlogic/rsgain CMakeLists.txt :13

project(rsgain
  VERSION 3.6
  DESCRIPTION "ReplayGain 2.0 loudness normalizer"
  HOMEPAGE_URL "https://github.com/complexlogic/rsgain"
  LANGUAGES CXX
)

qt/qtbase tests/auto/cmake/mockplugins/CMakeLists.txt :7

project(QtMockPlugins
    VERSION "${QT_REPO_MODULE_VERSION}"
    DESCRIPTION "Qt MockPlugins Libraries"
    HOMEPAGE_URL "https://qt.io/"
    LANGUAGES CXX C
)

martinus/robin-hood-hashing src/external_cmake/CMakeLists.txt :9

project(MyProject VERSION 1.0
                  DESCRIPTION "Very nice project"
                  LANGUAGES CXX)

munich-quantum-toolkit/ddsim CMakeLists.txt :12

project(
  mqt-ddsim
  LANGUAGES C CXX
  DESCRIPTION "MQT DDSIM - A quantum circuit simulator based on decision diagrams")

NauEngine/NauEnginePublic engine/3rdparty_libs/utfcpp/CMakeLists.txt :5

project (utf8cpp 
         VERSION 4.0.4
         LANGUAGES CXX
         DESCRIPTION "C++ portable library for working with utf-8 encoding")

rbfx/rbfx Source/ThirdParty/libdatachannel-wasm/CMakeLists.txt :2

project(datachannel-wasm
	DESCRIPTION "C++ WebRTC Data Channels for WebAssembly in browsers"
	VERSION 0.2.1
	LANGUAGES CXX)

mozilla-mobile/mozilla-vpn-client addons/CMakeLists.txt :7

project(addons VERSION 1.0.0 LANGUAGES CXX
        DESCRIPTION "Mozilla VPN Addons"
)

ihedvall/mdflib mdflibrary/CMakeLists.txt :3

project(
  mdflibrary
  VERSION 2.1
  DESCRIPTION "Interface against MDF 3/4 files"
  LANGUAGES CXX)

topling/toplingdb CMakeLists.txt :42

project(rocksdb
  VERSION ${rocksdb_VERSION}
  DESCRIPTION "An embeddable persistent key-value store for fast storage"
  HOMEPAGE_URL https://rocksdb.org/
  LANGUAGES CXX C ASM)

polyfem/polyfem CMakeLists.txt :63

project(PolyFEM DESCRIPTION "A polyvalent C++ FEM library" LANGUAGES C CXX)

Jij-Inc/OpenJij CMakeLists.txt :16

project(openjij
    DESCRIPTION "Framework for the Ising model and QUBO."
    HOMEPAGE_URL "https://www.openjij.org"
)

KDAB/KDReports CMakeLists.txt :65

project(
    KDReports
    DESCRIPTION "A Qt-based library for generating printable and exportable reports from code and XML descriptions."
    HOMEPAGE_URL "https://github.com/KDAB/KDReports"
    LANGUAGES CXX
)

Flow-IPC/ipc CMakeLists.txt :115

project(${PROJ_CAMEL} VERSION ${PROJ_VERSION} DESCRIPTION ${PROJ_HUMAN} LANGUAGES CXX)

ggarra13/mrv2 tlRender/CMakeLists.txt :17

project(
    tlRender
    VERSION ${TLRENDER_VERSION}
    DESCRIPTION "tlRender is an open source library for building playback and review applications for visual effects, film, and animation"
    HOMEPAGE_URL "https://github.com/darbyjohnston/tlRender"
    LANGUAGES CXX C)

KangLin/RabbitRemoteControl Plugins/RabbitVNC/Service/CMakeLists.txt :3

project(RabbitVNC
    DESCRIPTION "RabbitVNC server plugin"
    )

pmem/kvdk CMakeLists.txt :3

project(KVDK VERSION 1.0
        DESCRIPTION "A fast persistent KV engine for Persistent Memory"
        LANGUAGES CXX C)

TartanLlama/expected CMakeLists.txt :2

project(tl-expected
  HOMEPAGE_URL https://tl.tartanllama.xyz
  DESCRIPTION "C++11/14/17 std::expected with functional-style extensions"
  VERSION 1.3.1
  LANGUAGES CXX)

simdutf/simdutf CMakeLists.txt :3

project(simdutf
  DESCRIPTION "Fast Unicode validation, transcoding and processing"
  LANGUAGES CXX
  VERSION 7.4.0
)

trilinos/Trilinos cmake/tribits/examples/tpls/Tpl3/CMakeLists.txt :3

project(Tpl3
  DESCRIPTION
    "Simple TPL with one header file, one library, and depends on Tpl2"
  LANGUAGES C CXX
  )

hyprwm/hyprcursor CMakeLists.txt :8

project(
  hyprcursor
  VERSION ${HYPRCURSOR_VERSION}
  DESCRIPTION "A library and toolkit for the Hyprland cursor format")

trailofbits/maat CMakeLists.txt :7

project(
  maat
  VERSION ${maat_version}
  DESCRIPTION "Open-source symbolic execution framework: https://maat.re"
  HOMEPAGE_URL "https://github.com/trailofbits/maat"
  LANGUAGES C CXX
)

GreatSQL/GreatSQL extra/opensslpp/CMakeLists.txt :19

project(
  OpenSSLPP
  VERSION 1.0.0
  DESCRIPTION "C++ wrappers for OpenSSL"
  LANGUAGES CXX
)

c-jimenez/open-ocpp CMakeLists.txt :7

project(OpenOCPP DESCRIPTION "Open Source C++ implementation of the OCPP 1.6 and 2.0.1 protocols"
                 VERSION 2.0.0
)

twhl-community/halflife-unified-sdk utils/smdlexp/CMakeLists.txt :3

project(HalfLifeSMDLExp
	VERSION 1.0
	DESCRIPTION "Half-Life StudioModel 3DS Max export plugin"
	LANGUAGES CXX)

microsoft/FX11 CMakeLists.txt :8

project (Effects11
  VERSION ${FX_VERSION}
  DESCRIPTION "Effects for DirectX 11"
  HOMEPAGE_URL "http://go.microsoft.com/fwlink/?LinkId=271568"
  LANGUAGES CXX)

rpm-software-management/rpm tests/data/debugplugin/CMakeLists.txt :2

project(trpm VERSION 1.0 DESCRIPTION "test rpm plugin API" LANGUAGES C)

qt/qtmultimedia CMakeLists.txt :9

project(QtMultimedia
    VERSION "${QT_REPO_MODULE_VERSION}"
    DESCRIPTION "Qt Multimedia Libraries"
    HOMEPAGE_URL "https://qt.io/"
    LANGUAGES CXX C
)

Kitware/VTK ThirdParty/libproj/vtklibproj/CMakeLists.txt :16

project(PROJ
  DESCRIPTION "PROJ coordinate transformation software library"
  LANGUAGES C CXX
)

ViewTouch/viewtouch external/catch2/CMakeLists.txt :36

project(Catch2
  VERSION 3.8.1 # CML version placeholder, don't delete
  LANGUAGES CXX
  HOMEPAGE_URL "https://github.com/catchorg/Catch2"
  DESCRIPTION "A modern, C++-native, unit test framework."
)

SwagSoftware/Kisak-Strike thirdparty/gperftools-2.8.1/CMakeLists.txt :8

project(gperftools VERSION 2.8.1 LANGUAGES C CXX
        DESCRIPTION "Performance tools for C++"
        HOMEPAGE_URL http://code.google.com/p/gperftools/)

free-audio/clap-wrapper CMakeLists.txt :48

project(clap-wrapper
	LANGUAGES C CXX
	VERSION 0.12.1
	DESCRIPTION "CLAP-as-X wrappers"
)

qt/qtdeclarative CMakeLists.txt :9

project(QtDeclarative # special case
    VERSION "${QT_REPO_MODULE_VERSION}"
    DESCRIPTION "Qt Declarative Libraries" # special case
    HOMEPAGE_URL "https://qt.io/"
    LANGUAGES CXX C
)

percona/percona-server extra/opensslpp/CMakeLists.txt :19

project(
  OpenSSLPP
  VERSION 1.0.0
  DESCRIPTION "C++ wrappers for OpenSSL"
  LANGUAGES CXX
)

machinekit/machinekit-hal CMakeLists.txt :37

project(
  Machinekit-HAL
  VERSION "${MachinekitHALVersion}"
  DESCRIPTION "Universal framework for machine control."
  HOMEPAGE_URL "https://machinekit.io"
  LANGUAGES C CXX)

wiiuse/wiiuse CMakeLists.txt :8

project(WiiUse
	VERSION 0.15.5
	DESCRIPTION "Feature-complete cross-platform Wii Remote access library")

sandialabs/seacas cmake/tribits/examples/TribitsExampleApp/CMakeLists.txt :3

project(TribitsExApp
  DESCRIPTION
    "Example raw CMake project using packages installed from TribitsExampleProject"
  VERSION 0.0.0
  LANGUAGES NONE  # Defined below after reading in compilers
  )

nyyManni/msdfgl CMakeLists.txt :2

project(msdfgl VERSION 0.2.2 DESCRIPTION "OpenGL MSDF Generator and renderer" LANGUAGES C)

estkme-group/lpac CMakeLists.txt :3

project (lpac
    VERSION 2.3.0
    HOMEPAGE_URL "https://github.com/estkme-group/lpac"
    DESCRIPTION "C-based eUICC LPA."
    LANGUAGES C)

mudita/MuditaOS module-bluetooth/CMakeLists.txt :4

project(module-bluetooth VERSION 1.0 DESCRIPTION "Bluetooth module library")

JulNadeauCA/libagar CMakeLists.txt :9

project(AGAR
	VERSION 1.7.1
	DESCRIPTION "Agar GUI System"
	HOMEPAGE_URL "https://libagar.org"
	LANGUAGES C CXX OBJC)

BroadbandForum/obuspa CMakeLists.txt :8

project(obuspa
  DESCRIPTION "OB-USP Agent"
  VERSION ${VERSION_STRING}
  HOMEPAGE_URL "https://github.com/BroadbandForum/obuspa/"
  LANGUAGES C)