set MSVC "Output Files -> Object File Name"

What is the property name for setting MSVC Output Files -> Object File Name ? I would like to handle the case where two files of different folders have the same file name. Does cmake offer something of this kind?

Where do I find a list of all available MSVC properties?

I don’t know if CMake has a property for that itself. The list of properties that CMake provides is here. VS_GLOBAL_<variable> may be of interest, but you’d need to know what Visual Studio calls the property you’re interested in.

Cc: @brad.king

CMake’s Visual Studio generator has no way to control the object file location. However, it has logic to automatically choose object file locations that do not conflict. See code here.