Commit f4a81e7f authored by Arnaud Blanchard's avatar Arnaud Blanchard

Modernisation

parent 7fec85bf
......@@ -11,9 +11,7 @@
cmake_minimum_required(VERSION 2.6)
project(blc_network)
cmake_policy(SET CMP0042 NEW) #Avoid warning
add_definitions(-Wall -Wno-multichar -pthread)
#source files
set(sources
src/blc_network.cpp
......@@ -36,11 +34,6 @@ install(DIRECTORY include/ DESTINATION include/${PROJECT_NAME})
install(TARGETS ${PROJECT_NAME} static_${PROJECT_NAME} DESTINATION lib)
install(FILES ${PROJECT_NAME}-config.cmake DESTINATION share/${PROJECT_NAME})
#Package
set(CPACK_GENERATOR "DEB")
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Arnaud Blanchard")
include(CPack)
#Add a target to generate documentation
if (NOT TARGET doc_${PROJECT_NAME})
find_package(Doxygen)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment