cmakeconverter icon indicating copy to clipboard operation
cmakeconverter copied to clipboard

props support for visual studio generator

Open prasooncheenan opened this issue 4 years ago • 3 comments

At present the props support is printing the cmake name and user has to manually create corresponding cmake. It would be really useful if a temporary option --combine-user-props be provided. The idea is to write a custom props file from cmakelists.txt combining all props files using cmake "file" output. this can be added to project using VS_USER_PROPS options. this would be much helpful for visual studio developers since they will get an immediate working solution. they can port to other generators gradually by changing one props at a time.

Ref:https://stackoverflow.com/questions/1005901/how-to-set-path-environment-variable-using-cmake-and-visual-studio-to-run-test https://stackoverflow.com/questions/2973263/add-visual-c-property-sheets-using-cmake

prasooncheenan avatar Aug 11 '20 14:08 prasooncheenan

just got to see VS_PROJECT_IMPORT. does this help. Update: no it doesn't only for managed .csproj

prasooncheenan avatar Aug 11 '20 14:08 prasooncheenan

@prasooncheenan , could you provide working example with your idea? I have no time to dig into it by myself now.

pavelliavonau avatar Aug 20 '20 12:08 pavelliavonau

sure once i have a prototype ready ,i will contact you.

prasooncheenan avatar Aug 21 '20 10:08 prasooncheenan