openframeworks / openframeworks/projectGenerator

should filter source files to allowed extensions

Open
#17 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
90
Forks
79
Avg merge
2d 9h
Merged PRs (30d)
5

Description

i've had this problem only recently but i don't use the PG much except for creating empty projects so it might have been like this always.

when updating a project with exisiting source it should add only files with the allowed extensions:

  • c
  • cpp
  • cc
  • cxx
  • h
  • hpp
  • hxx ?
  • iml
  • ipl
  • m
  • mm
  • glsl ?
  • vert ?
  • frag ?

right now it's adding anything in the folder and some files like .orig from merges from github or backup files from some editors get into the project file which makes the compilation fail.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the project-update path that currently adds every file in the source folder. Check how file extensions are selected, then verify that the listed C/C++ and Objective-C extensions are included while .orig and editor backup files are excluded; confirm the generated project no longer includes unsupported files.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp, objective-c
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.