Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8308911
CMakeLists.txt
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
996 B
Subscribers
None
CMakeLists.txt
View Options
cmake_minimum_required(VERSION 2.6)
# project name and version
project(Elegent)
set(Elegent_VERSION "2.0pre")
# search for installations of required packages
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${Elegent_SOURCE_DIR}/../cmake/modules/")
find_package(ROOT REQUIRED)
find_package(HepMC REQUIRED)
find_package(GSL REQUIRED)
# include SVN revision in project version, if available
include(FindSubversion)
if (SUBVERSION_FOUND)
Subversion_WC_INFO(${Elegent_SOURCE_DIR} SVN)
set(Elegent_VERSION "${Elegent_VERSION} (revision ${SVN_WC_REVISION})")
endif()
message(STATUS "Elegent version: " ${Elegent_VERSION})
# configuration file
configure_file(
"${PROJECT_SOURCE_DIR}/libElegent/interface/Config.h.in"
"${PROJECT_BINARY_DIR}/libElegent/interface/Config.h"
)
include_directories("${PROJECT_BINARY_DIR}/libElegent")
# compiler flags
add_definitions("-Wall -Wextra -Werror")
set(CMAKE_CXX_FLAGS "-O3")
# list of subdirectories
add_subdirectory(libElegent)
add_subdirectory(utilities)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 1:35 PM (20 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4022979
Default Alt Text
CMakeLists.txt (996 B)
Attached To
rELEGENTSVN elegentsvn
Event Timeline
Log In to Comment