Skip to content
Snippets Groups Projects
Commit f096d4c3 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Improve installation recipes

parent c09a945c
No related branches found
No related tags found
1 merge request!200Change strategy for modules registration to the ModuleRepository
...@@ -22,6 +22,7 @@ if("${PUGS_SHORT_VERSION}" STREQUAL "") ...@@ -22,6 +22,7 @@ if("${PUGS_SHORT_VERSION}" STREQUAL "")
message(FATAL_ERROR "Unable to compute short version from PUGS_VERSION=${PUGS_VERSION}") message(FATAL_ERROR "Unable to compute short version from PUGS_VERSION=${PUGS_VERSION}")
endif() endif()
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
set(CMAKE_CONFIGURATION_TYPES "Release;Debug;Coverage" CACHE STRING INTERNAL FORCE ) set(CMAKE_CONFIGURATION_TYPES "Release;Debug;Coverage" CACHE STRING INTERNAL FORCE )
...@@ -372,6 +373,7 @@ endif() ...@@ -372,6 +373,7 @@ endif()
#------------------------------------------------------ #------------------------------------------------------
# Rang (colors? Useless thus necessary!) # Rang (colors? Useless thus necessary!)
add_subdirectory(${PUGS_SOURCE_DIR}/packages/rang/)
include_directories(SYSTEM "${PUGS_SOURCE_DIR}/packages/rang/include") include_directories(SYSTEM "${PUGS_SOURCE_DIR}/packages/rang/include")
# CLI11 # CLI11
......
...@@ -3,6 +3,21 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) ...@@ -3,6 +3,21 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
#------------------------------------------------------ #------------------------------------------------------
install(
DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/"
DESTINATION "include"
FILES_MATCHING
PATTERN "*.hpp"
)
install(
DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/"
DESTINATION "include"
FILES_MATCHING
PATTERN "*.hpp"
PATTERN "CMakeFiles" EXCLUDE
)
# Pugs utils # Pugs utils
add_subdirectory(utils) add_subdirectory(utils)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment