You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in src/CMakeLists.txt we have the following code:
# if mpi is not enabled, remove the unneeded source filesif(NOT ENABLE_MPI)
# duplicate the listset(MY_SRC_BACK ${MY_SRC})
# exclude everything from parallellist(FILTER MY_SRC EXCLUDEREGEX"/parallel/")
# but include DomainDecompBase* and LoadCalc*list(FILTER MY_SRC_BACK INCLUDEREGEX"/parallel/")
list(FILTER MY_SRC_BACK INCLUDEREGEX"DomainDecompBase|LoadCalc|Zonal|ForceHelper")
list(APPEND MY_SRC ${MY_SRC_BACK})
This exclude/include with regex is not intuitive, error-prone and will get worse as more features are added. This can (and should) be mitigated with a better folder structure.
The text was updated successfully, but these errors were encountered:
Currently, in
src/CMakeLists.txt
we have the following code:This exclude/include with regex is not intuitive, error-prone and will get worse as more features are added. This can (and should) be mitigated with a better folder structure.
The text was updated successfully, but these errors were encountered: