Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add colormaps installation step #157

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions projects/f3d.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ superbuild_project_add_step("extra-install-configurations"
install
)

superbuild_project_add_step("extra-install-colormaps"
COMMAND ${CMAKE_COMMAND} --install <BINARY_DIR> --component colormaps
COMMENT
"Installing colormaps"
DEPENDEES
install
)

if (UNIX AND NOT APPLE)
superbuild_project_add_step("extra-install-mimetypes"
COMMAND ${CMAKE_COMMAND} --install <BINARY_DIR> --component mimetypes
Expand Down
2 changes: 1 addition & 1 deletion testing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ set_tests_properties(f3d-exec-exists

# Use f3d executable to ensure dependecies can be loaded and renders correctly
f3d_add_test(TestSimple cow.vtp)
f3d_add_test(TestSimpleColor dragon.vtu)
f3d_add_test(TestSimpleColor dragon.vtu --colormap-file=viridis)
f3d_add_test(TestThumbnail dragon.vtu --config=thumbnail)

if (alembic_enabled)
Expand Down
4 changes: 2 additions & 2 deletions testing/baselines/TestSimpleColor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.