Support of property OUTPUT_NAME in UWP
When built as a UWP application (-DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0"), setting OUTPUT_NAME creates an error. For example, when set as below
add_executable(datachannel-copy-paste-capi-answerer answerer.c)
set_target_properties(datachannel-copy-paste-capi-answerer PROPERTIES
OUTPUT_NAME answerer)
target_link_libraries(datachannel-copy-paste-capi-answerer datachannel)
cmake creates an appxManifest file that does not reflect the OUTPUT_NAME property
As a result, since OUTPUT_NAME gets correctly applied when creating .exe files, Visual Studio reports failure to find .exe files.
The fix would be applying OUTPUT_NAME property when creating appxManifest files. If this is due to an error from myside (e.g., failure to set a variable), please let me know.