projectGeneratorSimple icon indicating copy to clipboard operation
projectGeneratorSimple copied to clipboard

Support for hyphen in project's folder name

Open AmnonOwed opened this issue 10 years ago • 0 comments

I hope this is the right place to post, since I also saw project generator issues in the main repo and a specific projectGenerator repo. Let me know if it should be posted elsewhere.

I noticed that, when confronted with a folder name with a - (hyphen) in it, the project generator automatically converts it to an _ (underscore). The end result is two directories. The original folder, with the source files, but no generated project. The new folder, with a generated project, but empty source files.

The desired behavior would be either of these two options:

  1. Support hyphen and generate the project in the original folder.
  2. Convert the original folder name, then generate the project with the actual source files.

Apparantly, the project generator used to handle this differently, since I ran into this problem, when trying out examples by others. Currently, option 2 is my manual workaround, but usually done after experiencing this problem! :-)

Additional information: OF version 0.8.4. for win_cb.

AmnonOwed avatar Apr 06 '15 11:04 AmnonOwed