(build): forbid module linking, even for tests
Description
Add a specila verification step to forbid linking with a module.
I also renamed
fw_cppunit_test
tofw_test
. This is not directly related to this MR, just cosmetics, I could of course remove it.
Closes #843 (closed)
How to test it?
Replace:
target_link_libraries(module_dataTest PUBLIC core service utest)
by :
target_link_libraries(module_dataTest PUBLIC core service module_data utest)
And try to build. It should NOT configure.