-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
45 lines (37 loc) · 1.66 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#-------------------------------------------------------------------------------
# Project description
#-------------------------------------------------------------------------------
cmake_minimum_required( VERSION 2.6 )
project( PROOF )
set( CMAKE_MODULE_PATH
${PROJECT_SOURCE_DIR}/src
${PROJECT_SOURCE_DIR}/cmake )
include( PROOFUtils )
CheckBuildDirectory()
include( PROOFOSDefs )
include( PROOFDefaults )
# include( PROOFSystemCheck )
# include( PROOFFindLibs )
include(RootNewMacros)
set (alien FALSE)
#-------------------------------------------------------------------------------
# VOMS Libs required
#-------------------------------------------------------------------------------
find_package( Root REQUIRED)
find_package( XRootD REQUIRED)
#-------------------------------------------------------------------------------
# Build in subdirectories
#-------------------------------------------------------------------------------
add_subdirectory( src )
#-------------------------------------------------------------------------------
# Summary
#-------------------------------------------------------------------------------
message( STATUS "----------------------------------------" )
message( STATUS "Installation path: " ${CMAKE_INSTALL_PREFIX} )
message( STATUS "Build type: " ${CMAKE_BUILD_TYPE} )
message( STATUS "ROOT Version: " ${ROOT_VERSION} )
message( STATUS "ROOT include path: " ${ROOT_INCLUDE_DIR} )
message( STATUS "ROOT library path: " ${ROOT_LIBRARY_DIR} )
message( STATUS "XRootD include path: " ${XROOTD_INCLUDE_DIR} )
message( STATUS "XRootD library path: " ${XROOTD_LIBRARY_DIR} )
message( STATUS "----------------------------------------" )