CMakeLists.txt 699 Bytes
Newer Older
Pierre Aubert's avatar
Pierre Aubert committed
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
project(Phoenix)
cmake_minimum_required(VERSION 2.8)

add_subdirectory(cmake)

phoenix_base_project("PhoenixDL" "1.4.0"
		"Library to manipulate symbols in dynamic libraries, especially list the functions"
		"https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/PhoenixDL")

include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)

phoenix_create_find(PhoenixDL phoenix_dl PhoenixDL.h "")

add_subdirectory(src)

if(SELF_TESTS_MODE)
	include(CTest)
	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")