Page MenuHomeHEPForge

No OneTemporary

Index: trunk/src/CMakeLists.txt
===================================================================
--- trunk/src/CMakeLists.txt (revision 102)
+++ trunk/src/CMakeLists.txt (revision 103)
@@ -1,37 +1,36 @@
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
-# TODO: uncomment
-#include(FindSubversion)
-#if (SUBVERSION_FOUND)
-# Subversion_WC_INFO(${Elegent_SOURCE_DIR} SVN)
-# set(Elegent_VERSION "${Elegent_VERSION} (revision ${SVN_WC_REVISION})")
-#endif()
+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

Mime Type
text/x-diff
Expires
Tue, Nov 19, 5:32 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3805404
Default Alt Text
(1 KB)

Event Timeline