mirror of https://github.com/CGAL/cgal
copy demo resources in the cmake module dir during release creation and fetch it from here during installation
This commit is contained in:
parent
2f4d00af15
commit
f5c32f126f
|
|
@ -42,14 +42,25 @@ install(
|
||||||
DESTINATION "${CGAL_INSTALL_INC_DIR}/CGAL/Qt"
|
DESTINATION "${CGAL_INSTALL_INC_DIR}/CGAL/Qt"
|
||||||
COMPONENT CGAL_Qt5)
|
COMPONENT CGAL_Qt5)
|
||||||
if(CGAL_HEADER_ONLY)
|
if(CGAL_HEADER_ONLY)
|
||||||
install(
|
if(EXISTS ${CGAL_MODULES_DIR}/demo/resources)
|
||||||
DIRECTORY "../../demo/resources/"
|
install(
|
||||||
DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/resources"
|
DIRECTORY "${CGAL_MODULES_DIR}/demo/resources/"
|
||||||
COMPONENT CGAL_Qt5)
|
DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/resources"
|
||||||
install(
|
COMPONENT CGAL_Qt5)
|
||||||
DIRECTORY "../../demo/icons/"
|
install(
|
||||||
DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/icons"
|
DIRECTORY "${CGAL_MODULES_DIR}/demo/icons/"
|
||||||
COMPONENT CGAL_Qt5)
|
DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/icons"
|
||||||
|
COMPONENT CGAL_Qt5)
|
||||||
|
else()
|
||||||
|
install(
|
||||||
|
DIRECTORY "../../demo/resources/"
|
||||||
|
DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/resources"
|
||||||
|
COMPONENT CGAL_Qt5)
|
||||||
|
install(
|
||||||
|
DIRECTORY "../../demo/icons/"
|
||||||
|
DESTINATION "${CGAL_INSTALL_CMAKE_DIR}/demo/icons"
|
||||||
|
COMPONENT CGAL_Qt5)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
message("libCGAL_Qt5 is configured")
|
message("libCGAL_Qt5 is configured")
|
||||||
|
|
|
||||||
|
|
@ -158,6 +158,8 @@ if(EXISTS ${GIT_REPO}/Maintenance/release_building/public_release_name)
|
||||||
file(COPY "${GIT_REPO}/Maintenance/release_building/public_release_name"
|
file(COPY "${GIT_REPO}/Maintenance/release_building/public_release_name"
|
||||||
DESTINATION "${release_dir}/doc")
|
DESTINATION "${release_dir}/doc")
|
||||||
endif()
|
endif()
|
||||||
|
file(COPY ${GIT_REPO}/GraphicsView/demo/resources ${GIT_REPO}/GraphicsView/demo/icons
|
||||||
|
DESTINATION "${release_dir}/cmake/modules")
|
||||||
|
|
||||||
#create VERSION
|
#create VERSION
|
||||||
file(WRITE ${release_dir}/VERSION "${CGAL_VERSION}")
|
file(WRITE ${release_dir}/VERSION "${CGAL_VERSION}")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue