-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba8e296
commit f3c0a7c
Showing
21 changed files
with
155 additions
and
317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,8 +44,8 @@ endif () | |
get_property(generator_is_multi_config GLOBAL | ||
PROPERTY GENERATOR_IS_MULTI_CONFIG) | ||
if (NOT CMAKE_BUILD_TYPE AND NOT generator_is_multi_config) | ||
message(STATUS "Setting build type to 'Debug' as none was specified.") | ||
set(CMAKE_BUILD_TYPE Debug CACHE STRING "Choose the type of build." FORCE) | ||
message(STATUS "Setting build type to 'Release' as none was specified.") | ||
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE) | ||
# Set the possible values of build type for cmake-gui | ||
set_property(CACHE CMAKE_BUILD_TYPE | ||
PROPERTY | ||
|
@@ -950,3 +950,47 @@ install( | |
if (PARAVIEW_ENABLE_EXAMPLES) | ||
add_subdirectory(Examples) | ||
endif () | ||
|
||
#----------------------------------------------------------------------------- | ||
# Install TTK example data | ||
install(FILES ${ParaView_SOURCE_DIR}/TTK/Data/Example1.vti | ||
DESTINATION share/paraview-5.11/examples/ | ||
COMPONENT development) | ||
|
||
install(FILES ${ParaView_SOURCE_DIR}/TTK/Data/Example2.vti | ||
DESTINATION share/paraview-5.11/examples/ | ||
COMPONENT development) | ||
|
||
install(FILES ${ParaView_SOURCE_DIR}/TTK/Data/Example3.vti | ||
DESTINATION share/paraview-5.11/examples/ | ||
COMPONENT development) | ||
|
||
#----------------------------------------------------------------------------- | ||
# Generate a .deb package | ||
set(CPACK_PACKAGE_NAME "TTK-ParaView") | ||
set(CPACK_PACKAGE_FILE_NAME "ttk-paraview") | ||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "ParaView built with TTK patches") | ||
set(CPACK_PACKAGE_CONTACT "Julien Tierny <[email protected]>") | ||
set(CPACK_PACKAGE_VENDOR "CNRS, Sorbonne University and contributors") | ||
set(CPACK_PACKAGE_HOMEPAGE_URL "https://topology-tool-kit.github.io/") | ||
|
||
option(TTK_PARAVIEW_HEADLESS_DEPS "Use headless TTK-ParaView dependencies for .deb packages" OFF) | ||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "python3-dev") | ||
if(TTK_PARAVIEW_HEADLESS_DEPS) | ||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libopenmpi-dev, libosmesa-dev, ${CPACK_DEBIAN_PACKAGE_DEPENDS}") | ||
else() | ||
set(CPACK_DEBIAN_PACKAGE_DEPENDS | ||
"qtbase5-dev, qtchooser, qt5-qmake, qtbase5-dev-tools, qttools5-dev, libqt5x11extras5-dev, qtxmlpatterns5-dev-tools, libqt5svg5-dev, libxt-dev, ${CPACK_DEBIAN_PACKAGE_DEPENDS}" | ||
) | ||
endif() | ||
|
||
set(CPACK_PACKAGE_VERSION_MAJOR ${PARAVIEW_VERSION_MAJOR}) | ||
set(CPACK_PACKAGE_VERSION_MINOR ${PARAVIEW_VERSION_MINOR}) | ||
set(CPACK_PACKAGE_VERSION_PATCH ${PARAVIEW_VERSION_PATCH}) | ||
# autogenerate dependency information | ||
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) | ||
# package will be installed under %ProgramFiles%\${CPACK_PACKAGE_INSTALL_DIRECTORY} on Windows | ||
set(CPACK_PACKAGE_INSTALL_DIRECTORY "TTK-ParaView") | ||
# let the installer uninstall previous installations on Windows | ||
set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL ON) | ||
include(CPack) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 6 additions & 12 deletions
18
Qt/ApplicationComponents/Resources/pqApplicationComponents.qrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
<RCC> | ||
<qresource prefix="/pqApplicationComponents"> | ||
<file>ExampleVisualizations/CanExample.pvsm</file> | ||
<file>ExampleVisualizations/DiskOutRefExample.pvsm</file> | ||
<file>ExampleVisualizations/HeadSQExample.pvsm</file> | ||
<file>ExampleVisualizations/HotGasAnalysisExample.pvsm</file> | ||
<file>ExampleVisualizations/TosExample.pvsm</file> | ||
<file>ExampleVisualizations/WaveletExample.pvsm</file> | ||
<file>Thumbnails/CanExample.png</file> | ||
<file>Thumbnails/DiskOutRefExample.png</file> | ||
<file>Thumbnails/HeadSQExample.png</file> | ||
<file>Thumbnails/HotGasAnalysisExample.png</file> | ||
<file>Thumbnails/TosExample.png</file> | ||
<file>Thumbnails/WaveletExample.png</file> | ||
<file>ExampleVisualizations/Example1.pvsm</file> | ||
<file>ExampleVisualizations/Example2.pvsm</file> | ||
<file>ExampleVisualizations/Example3.pvsm</file> | ||
<file>Thumbnails/Example1.png</file> | ||
<file>Thumbnails/Example2.png</file> | ||
<file>Thumbnails/Example3.png</file> | ||
</qresource> | ||
</RCC> |
Oops, something went wrong.