CMakeLists.txt 669 Bytes
Newer Older
Pierre Aubert's avatar
Pierre Aubert committed
1
project(Phoenix)
2
cmake_minimum_required(VERSION 2.8)
Pierre Aubert's avatar
Pierre Aubert committed
3 4 5

add_subdirectory(cmake)

Pierre Aubert's avatar
Pierre Aubert committed
6
phoenix_base_project("PhoenixGraph" "1.5.2"
Pierre Aubert's avatar
Pierre Aubert committed
7
		"Set of tools to simplify graph manipulation"
Pierre Aubert's avatar
Pierre Aubert committed
8
		"https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/PhoenixGraph")
Pierre Aubert's avatar
Pierre Aubert committed
9 10 11 12 13

include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)

14
phoenix_create_find(PhoenixGraph phoenix_graph Graph.h "")
Pierre Aubert's avatar
Pierre Aubert committed
15 16 17 18

add_subdirectory(src)

if(SELF_TESTS_MODE)
Pierre Aubert's avatar
Pierre Aubert committed
19
	include(CTest)
Pierre Aubert's avatar
Pierre Aubert committed
20 21 22 23 24
	add_subdirectory(TESTS)
endif(SELF_TESTS_MODE)

set(PHOENIX_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src;${PHOENIX_INCLUDE_DIRS}" CACHE INTERNAL "list of Phoenix include dirs")

Pierre Aubert's avatar
Pierre Aubert committed
25

Pierre Aubert's avatar
Pierre Aubert committed
26