C++ modules: tests partition setup works on linux but not on windows. #4754
-
I want to switch to modules and was thinking about a layout for tests. It is important for me to test also not
This set-up works on Linux but not on Windows. On Windows the binary is built but running it shows zero tests. I have no clue why this is happening and if it is a CMake, Windows or gtest problem. Is anyone utlizing gtest in combination with modules? If yes, how? I attached a minimal example. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Five minutes later - the solution: setting the target sources for the tests target directly works.
No idea why this is necessary though. |
Beta Was this translation helpful? Give feedback.
Five minutes later - the solution: setting the target sources for the tests target directly works.
No idea why this is necessary though.