You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
617 B
23 lines
617 B
install( |
|
DIRECTORY pqxx "${PROJECT_BINARY_DIR}/include/pqxx" |
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} |
|
FILES_MATCHING |
|
# For each X.hxx, install both X.hxx itself and plain X. |
|
PATTERN *.hxx |
|
# TODO: Is there any way to do this with CMake's globbing? |
|
###MAKTEMPLATE:FOREACH include/pqxx/*.hxx |
|
PATTERN ###BASENAME### |
|
###MAKTEMPLATE:ENDFOREACH |
|
PATTERN internal/*.hxx |
|
PATTERN internal/gates/*.hxx |
|
PATTERN config-public-compiler.h |
|
PATTERN pqxx |
|
PATTERN doc EXCLUDE |
|
) |
|
|
|
install( |
|
DIRECTORY pqxx/doc/ |
|
DESTINATION ${CMAKE_INSTALL_DOCDIR} |
|
FILES_MATCHING |
|
PATTERN *.md |
|
)
|
|
|