aboutsummaryrefslogtreecommitdiff
path: root/paludis
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2016-12-09 11:07:36 +0100
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-14 08:23:04 -0800
commit0ce59984ea7b871e9d052e06e2903c4c10cc77f2 (patch)
tree937dc56600fc2be14c537b35c6ea4f91624cc9a4 /paludis
parent269bfe321ee2523045f1a2ca85b7e99e8bd4c766 (diff)
downloadpaludis-0ce59984ea7b871e9d052e06e2903c4c10cc77f2.tar.gz
paludis-0ce59984ea7b871e9d052e06e2903c4c10cc77f2.tar.xz
build: Install headers generated from .se files
Change-Id: I66a5594bbce99d6fae533f967af767c9cede3457
Diffstat (limited to 'paludis')
-rw-r--r--paludis/CMakeLists.txt5
-rw-r--r--paludis/util/CMakeLists.txt10
2 files changed, 8 insertions, 7 deletions
diff --git a/paludis/CMakeLists.txt b/paludis/CMakeLists.txt
index 98e545e..a2c55fa 100644
--- a/paludis/CMakeLists.txt
+++ b/paludis/CMakeLists.txt
@@ -203,7 +203,9 @@ paludis_add_library(libpaludis
"${CMAKE_CURRENT_SOURCE_DIR}/tar_merger.se"
"${CMAKE_CURRENT_SOURCE_DIR}/user_dep_spec.se"
"${CMAKE_CURRENT_SOURCE_DIR}/version_operator.se"
- "${CMAKE_CURRENT_SOURCE_DIR}/version_spec.se")
+ "${CMAKE_CURRENT_SOURCE_DIR}/version_spec.se"
+ SE_HEADERS
+ libpaludis_SE_HEADERS)
target_link_libraries(libpaludis
PRIVATE
libpaludisselinux
@@ -477,6 +479,7 @@ install(FILES
"${CMAKE_CURRENT_SOURCE_DIR}/version_requirements.hh"
"${CMAKE_CURRENT_SOURCE_DIR}/version_spec-fwd.hh"
"${CMAKE_CURRENT_SOURCE_DIR}/version_spec.hh"
+ ${libpaludis_SE_HEADERS}
DESTINATION
"${CMAKE_INSTALL_FULL_INCLUDEDIR}/paludis-${PALUDIS_PKG_CONFIG_SLOT}/paludis")
install(PROGRAMS
diff --git a/paludis/util/CMakeLists.txt b/paludis/util/CMakeLists.txt
index 1d8da43..cc37657 100644
--- a/paludis/util/CMakeLists.txt
+++ b/paludis/util/CMakeLists.txt
@@ -73,7 +73,9 @@ paludis_add_library(libpaludisutil
"${CMAKE_CURRENT_SOURCE_DIR}/fs_iterator.se"
"${CMAKE_CURRENT_SOURCE_DIR}/fs_path.se"
"${CMAKE_CURRENT_SOURCE_DIR}/is_file_with_extension.se"
- "${CMAKE_CURRENT_SOURCE_DIR}/log.se")
+ "${CMAKE_CURRENT_SOURCE_DIR}/log.se"
+ SE_HEADERS
+ libpaludisutil_SE_HEADERS)
add_dependencies(libpaludisutil ${paludis_util_hh_TARGET})
target_link_libraries(libpaludisutil
PRIVATE
@@ -296,11 +298,7 @@ install(FILES
"${CMAKE_CURRENT_SOURCE_DIR}/wrapped_value-fwd.hh"
"${CMAKE_CURRENT_SOURCE_DIR}/wrapped_value-impl.hh"
"${CMAKE_CURRENT_SOURCE_DIR}/wrapped_value.hh"
- "${CMAKE_CURRENT_BINARY_DIR}/config_file-se.hh"
- "${CMAKE_CURRENT_BINARY_DIR}/fs_iterator-se.hh"
- "${CMAKE_CURRENT_BINARY_DIR}/fs_path-se.hh"
- "${CMAKE_CURRENT_BINARY_DIR}/is_file_with_extension-se.hh"
- "${CMAKE_CURRENT_BINARY_DIR}/log-se.hh"
+ ${libpaludisutil_SE_HEADERS}
DESTINATION
"${CMAKE_INSTALL_FULL_INCLUDEDIR}/paludis-${PALUDIS_PKG_CONFIG_SLOT}/paludis/util")
install(PROGRAMS