Skip to content
Snippets Groups Projects
CMakeLists.txt 898 B
project(Phoenix)
cmake_minimum_required(VERSION 2.8)

add_subdirectory(cmake)

phoenix_base_project("PhoenixFileBinaryAnalyzer" "1.6.0"
		"Programm to automatically get offset of data attribute in abstract binary data"
		"https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/PhoenixFileBinaryAnalyzer")

pull_extra_module("StringUtils" "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/StringUtils.git")
pull_extra_module("OptionParser" "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/OptionParser.git")
pull_extra_module("PhoenixBinaryAnalyzer" "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/PhoenixBinaryAnalyzer.git")

include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)

add_subdirectory(src)

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