Skip to content

Removed ddx_driver.f90 from the ddX library source files#177

Merged
mnottoli merged 4 commits into
ddsolvation:mainfrom
robin-dahl:meson_fix
May 18, 2026
Merged

Removed ddx_driver.f90 from the ddX library source files#177
mnottoli merged 4 commits into
ddsolvation:mainfrom
robin-dahl:meson_fix

Conversation

@robin-dahl

Copy link
Copy Markdown
Contributor

Summary
This PR removes src/ddx_driver.f90 from the ddx_library source list in meson.build

ddx_driver.f90 defines a Fortran program main, so it should only be compiled as the source for the ddX_exec executable. Including it in the library means the library may also contain an executable entry point, which can conflict with test executables that define their own program main.

Keeping ddx_driver.f90 only in the ddX_exec executable target matches its role as a driver program and keeps the library limited to reusable ddX implementation sources.

@mnottoli mnottoli merged commit 5d2f7cd into ddsolvation:main May 18, 2026
5 checks passed
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