Commit 43dce866 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Remove config directory

parent e6ce62b9
......@@ -38,7 +38,7 @@ set_target_properties(static_${PROJECT_NAME} PROPERTIES OUTPUT_NAME ${PROJECT_NA
#Add a target to generate documentation
find_package(Doxygen)
if(DOXYGEN_FOUND)
configure_file(${PROJECT_SOURCE_DIR}/config/doxyfile.in doxyfile.doxy) #Replace the CMAKE variables in the Doxyfile
configure_file(${PROJECT_SOURCE_DIR}/doxyfile.in doxyfile.doxy) #Replace the CMAKE variables in the Doxyfile
add_custom_target(doc ${DOXYGEN_EXECUTABLE} doxyfile.doxy COMMENT "Generating API documentation for ${PROJECT_NAME}" VERBATIM)
else()
message("You need to install doxygen to generate the doc.")
......@@ -47,7 +47,7 @@ endif()
#Describe what will be to install or in the package by default the prefix (CMAKE_INSTALL_PREFIX) is '/usr/’
install(DIRECTORY include/ DESTINATION include/${PROJECT_NAME})
install(TARGETS ${PROJECT_NAME} static_${PROJECT_NAME} DESTINATION lib)
install(FILES ${PROJECT_SOURCE_DIR}/config/${PROJECT_NAME}-config.cmake DESTINATION share/${PROJECT_NAME})
install(FILES ${PROJECT_SOURCE_DIR}/${PROJECT_NAME}-config.cmake DESTINATION share/${PROJECT_NAME})
#Package
set(CPACK_GENERATOR "DEB")
......
Supports Markdown
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