Skip to content

Commit

Permalink
Add colormaps installation step (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
Meakk authored Mar 28, 2024
1 parent 5e29e0f commit 0ded673
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
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.

0 comments on commit 0ded673

Please sign in to comment.