Re: [gmx-users] Using libgromacs in a CMake project built on the fly?

2018-01-27 Thread Mark Abraham
Hi, In theory, one can compose CMake projects like that, but we have not tried to make that work with GROMACS. A better approach is probably to use a CMake external project to build GROMACS and thereby install it into the build tree. That installation has a FindGROMACS.cmake file that your main

[gmx-users] Using libgromacs in a CMake project built on the fly?

2018-01-26 Thread Cory J. Geesaman
Is it possible to use libgromacs in a CMake based project which links the library in at build time (but from source as opposed to a system-wide installation?) So far I have the gromacs source included as a submodule from https://github.com/gromacs/gromacs.git located in the subdirectory