Skip to content

Verification of C++ libraries using JIT and FFI - #561

Open
mscroggs wants to merge 29 commits into
mainfrom
mscroggs/cpp
Open

mscroggs wants to merge 29 commits into
mainfrom
mscroggs/cpp

Conversation

@mscroggs

@mscroggs mscroggs commented Apr 10, 2026 •

Copy link
Copy Markdown
Member

Added JIT and FFI functionality that allows verification to be run with C++ libraries.

This new functionality is currently tested and demonstrated using simplefem++.

Progress towards #500.

Still to do:

@mscroggs
mscroggs marked this pull request as draft April 10, 2026 09:49
@mscroggs
mscroggs marked this pull request as ready for review April 14, 2026 12:56
@mscroggs
mscroggs requested a review from jorgensd April 14, 2026 12:56
@mscroggs

Copy link
Copy Markdown
Member Author

Here's a screenshot of the information page on how this new interface can be used. Let me know which bits make no sense and need more detail:

screeenshot

install(FILES ${CMAKE_CURRENT_BINARY_DIR}/<!project_name>Config.cmake ${CMAKE_CURRENT_BINARY_DIR}/<!project_name>ConfigVersion.cmake
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/<!library_name> COMPONENT Development)
install(EXPORT <!project_name>Targets FILE <!project_name>Targets.cmake NAMESPACE <!project_name>::
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/<!library_name>)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'd love it if someone better at cmake than me suggested how to simplify this file

include(CMakeFindDependencyMacro)
if(NOT TARGET @PROJECT_NAME@)
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
endif()

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Is is possible to merge this into the main cmake template?

@jorgensd

Copy link
Copy Markdown
Contributor

I'll have a look over the weekend.

This branch has not been deployed

No deployments
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