Replace ProjectName_INTERFACE_LIBRARIES by ProjectName_LIBRARIES
Summary
Replace ProjectName_INTERFACE_LIBRARIES by ProjectName_LIBRARIES and introduce an exported-libraries global property
Closes #344 (closed)
Merge request reports
Activity
added buildsystem label
requested review from @santiago.ospina
mentioned in issue #344 (closed)
changed milestone to %CMake Modernization
added 63 commits
-
4f66f4e3...3846e46a - 62 commits from branch
master
- 20d6e744 - Merge branch 'master' into 'issue/export-all-libraries'
-
4f66f4e3...3846e46a - 62 commits from branch
added 12 commits
-
20d6e744...45fa74f0 - 11 commits from branch
master
- 04a7269e - replace ProjectName_INTERFACE_LIBRARIES by ProjectName_LIBRARIES and introduce...
-
20d6e744...45fa74f0 - 11 commits from branch
changed milestone to %DUNE 2.10.0
- Resolved by Simon Praetorius
- Resolved by Simon Praetorius
- Resolved by Simon Praetorius
- Resolved by Simon Praetorius
- Resolved by Simon Praetorius
Something is wrong in this MR... Now all libraries are only added to the global property if also exported, but we distinguish between module libraries and non-module libraries. Module libraries are those you always have to link the dune-module against, and non-module libraries you might want to link tests/executables against. This is different from the description in the
DuneProject
. There might be more libraries, those that are only used locally (private) and not exported. And those libraries simply do not get a list.-
DUNE_LIBRARIES
refers to exported module-libraries and -
DUNE_EXPORTED_LIBRARIES
refers to all exported libraries
-
- Resolved by Simon Praetorius
assigned to @simon.praetorius