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

h5pp works in cpp20 by killing off use of fmt #7

Merged
merged 2 commits into from
Aug 21, 2024
Merged

h5pp works in cpp20 by killing off use of fmt #7

merged 2 commits into from
Aug 21, 2024

Conversation

mtao
Copy link
Contributor

@mtao mtao commented Aug 20, 2024

No description provided.

@mtao mtao requested a review from teseoch August 20, 2024 20:39
CMakeLists.txt Outdated
@@ -66,7 +66,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/recipes/")

# Set default minimum C++ standard
if(PARAVIEWO_TOPLEVEL_PROJECT)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we dont need this here, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eh, it was useful for making sure paraviewo was built in cpp20 - we could do this cleaner i guess (by only assigning it to the single paraviewo target), but it's a minor detail

@@ -8,8 +8,9 @@ endif()
message(STATUS "Third-party: creating target 'h5pp'")

SET(H5PP_ENABLE_EIGEN3 ON)
SET(H5PP_ENABLE_FMT ON)
SET(H5PP_ENABLE_FMT OFF)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this is not required anymore, can we drop the fmt cmake recipe and include?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fmt is theoretically required downstream - it would be good to keep the recipe in the wildmeshing repo perhaps? I got the habit of manually packaging fmt when i used spdlog from before fmt::join was in not in the fmt version packaged with spdlog - using the spdlog packaged version of fmt always felt a bit awkward in general :(.

@teseoch teseoch merged commit 2e0cbba into main Aug 21, 2024
6 checks passed
@teseoch teseoch deleted the mtao/cpp20 branch August 21, 2024 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants