I have a question concerning CMake settings applied for SimpleControllers.
The function add_cnoid_simple_controller (defined in src/Body/CMakeLists.txt)
defines common settings for SimpleControllers.
My question is that why
is NOT called inside add_cnoid_simple_controller,
while it is commonly called for executables and libraries?
One particular problem I’m facing is that the dll names of SimpleControllers are
[SimpleControllerName].dll, no matter one builds in Debug or Release.
(for other files ‘d’ is appended to the filename to distinguish Debug from Release)
Because of this Debug/Release dlls are overwritten by each other every time I build in different modes. I feel it pretty inconvenient.
Is there any design decision behind this, or is this just a bug?