I am trying to develop a Loadable module under Windows 10 + vs2022. I have a problem that I cannot create a sub folder under Logic. For example, I create an empty loadable module called “test”, and put a subfolder called as “dummy” in the Logic folder, and in the Logic CMakeLists.txt, I added
Then CMake (3.23) give me this error:
CMake Error in CMakeLists.txt:
export called with target “vtkSlicertestModuleLogic” which requires target “dummy” that is not in any export set.
This code works well on Linux and Mac, but cannot work on Windows. Could you help me with this? Thanks!