Currently, building downstream consumers of gFTL-shared such as pFUnit requires building all versions of all containers. It would be very nice if users could build only the set that they need. This would massively speed up builds.
I think this would be pretty easy to achieve. As well as adding each container to the gftl-shared library here:
|
target_sources (${v2-default} PRIVATE vector/${T}${Container}_wrap.F90) |
also make a new target just for that container:
add_library(${T}_${Container} vector/${T}${Container}_wrap.F90)
Then users could link against GTL_SHARED::String_Vector for example, and only build what they require.
Currently, building downstream consumers of gFTL-shared such as pFUnit requires building all versions of all containers. It would be very nice if users could build only the set that they need. This would massively speed up builds.
I think this would be pretty easy to achieve. As well as adding each container to the
gftl-sharedlibrary here:gFTL-shared/src/v2/CMakeLists.txt
Line 41 in 8b8a483
also make a new target just for that container:
Then users could link against
GTL_SHARED::String_Vectorfor example, and only build what they require.