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

Pierre Aubert's avatar
Pierre Aubert committed
4
add_subdirectory(cmake)
Pierre Aubert's avatar
Pierre Aubert committed
5

Pierre Aubert's avatar
Pierre Aubert committed
6
phoenix_base_project("PhoenixClockTimer" "1.7.3"
Pierre Aubert's avatar
Pierre Aubert committed
7 8
		"Clock timer"
		"https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/PhoenixClockTimer")
Pierre Aubert's avatar
Pierre Aubert committed
9

Pierre Aubert's avatar
Pierre Aubert committed
10
add_definitions(-Wall -Werror -O3 -DCMAKE_INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")
Pierre Aubert's avatar
Pierre Aubert committed
11

Pierre Aubert's avatar
Pierre Aubert committed
12
add_subdirectory(src)
Pierre Aubert's avatar
Pierre Aubert committed
13
add_subdirectory(share)
14
add_subdirectory(install_file)
Pierre Aubert's avatar
Pierre Aubert committed
15

Pierre Aubert's avatar
Pierre Aubert committed
16 17
set(PHOENIX_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src;${PHOENIX_INCLUDE_DIRS}" CACHE INTERNAL "list of Phoenix include dirs")