Changeset View
Changeset View
Standalone View
Standalone View
CMakeLists.txt
Show All 35 Lines | |||||
# Also require a minimum version of CMake | # Also require a minimum version of CMake | ||||
cmake_minimum_required(VERSION 3.11.0) | cmake_minimum_required(VERSION 3.11.0) | ||||
# Project setup | # Project setup | ||||
if(${CMAKE_VERSION} VERSION_LESS 3.12.0) | if(${CMAKE_VERSION} VERSION_LESS 3.12.0) | ||||
project(EvtGen | project(EvtGen | ||||
VERSION 2.0.0 | VERSION 2.0.0 | ||||
DESCRIPTION "Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons." | DESCRIPTION "Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons." | ||||
LANGUAGES C CXX | |||||
) | ) | ||||
else() | else() | ||||
project(EvtGen | project(EvtGen | ||||
VERSION 2.0.0 | VERSION 2.0.0 | ||||
DESCRIPTION "Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons." | DESCRIPTION "Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons." | ||||
LANGUAGES C CXX | |||||
HOMEPAGE_URL "https://evtgen.hepforge.org" | HOMEPAGE_URL "https://evtgen.hepforge.org" | ||||
) | ) | ||||
endif() | endif() | ||||
# Prepend this project's custom module path(s) to CMAKE_MODULE_PATH | # Prepend this project's custom module path(s) to CMAKE_MODULE_PATH | ||||
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Modules ${CMAKE_MODULE_PATH}) | set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Modules ${CMAKE_MODULE_PATH}) | ||||
# Include needed modules to perform any custom setup | # Include needed modules to perform any custom setup | ||||
# Install paths | # Install paths | ||||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |