cmake-gui: set_property INSTALL scope not cleared across projects
I have noticed sense updating to 3.19.1 that if I use the "Where to build the binaries" drop down to switch between cmake projects then the GUI and underlying cmake will some how run cmake files from the previous project.
For instance if I build BioGears 7.4.X and then switch to a second project with out closing the GUI and click compile generate I will receive the following errors. The error seem to revolve around Generator statements which refer to TARGET names.
CMake Error at D:/remotes/sed-stash/core/projects/cli/CMakeLists.txt:125 (set_property): Error evaluating generator expression: $<TARGET_FILE_NAME:bg-cli> No target "bg-cli" CMake Error at D:/remotes/sed-stash/core/projects/cli/CMakeLists.txt:79 (set_property): Error evaluating generator expression: $<TARGET_FILE_NAME:bg-scenario> No target "bg-scenario"
I don't have a good feel for what is going on, but if given some direction I can help chase this down.
Recreate: Configure/Generate in CMakeGUI a project which refers to its own targets using :: notati0n which will be differed until generation. Then switch to a second project and configure/generate it in the same GUI window on WINDOWS 10