openframeworks / openframeworks/openFrameworks

config.make suggests it ignores %.xcodeproj, it does not

Open
#2,890 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

automation bitesize bug prelim-analysis section-internals
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

The auto-generated project config.make says that it excludes xcodeproj folders by default, but in practice it does not appear to.

#      (default) PROJECT_EXCLUSIONS = (blank)
#
#       Will automatically exclude the following:
#
#           $(PROJECT_ROOT)/bin%
#           $(PROJECT_ROOT)/obj%
#           $(PROJECT_ROOT)/%.xcodeproj

And make output:

$ make
Compiling OF library for Release
make[2]: Nothing to be done for `ReleaseABI'.
Done!


Compiling Stingray for Release
Compiling addons/ofxIO/libs/ofxIO/src/ByteBuffer.cpp
[…]
-I./Stingray.xcodeproj/project.xcworkspace
-I./Stingray.xcodeproj/project.xcworkspace/xcshareddata
-I./Stingray.xcodeproj/project.xcworkspace/xcuserdata
-I./Stingray.xcodeproj/project.xcworkspace/xcuserdata/pizthewiz.xcuserdatad
-I./Stingray.xcodeproj/xcshareddata
-I./Stingray.xcodeproj/xcshareddata/xcschemes
-I./Stingray.xcodeproj/xcuserdata
-I./Stingray.xcodeproj/xcuserdata/pizthewiz.xcuserdatad
-I./Stingray.xcodeproj/xcuserdata/pizthewiz.xcuserdatad/xcdebugger
-I./Stingray.xcodeproj/xcuserdata/pizthewiz.xcuserdatad/xcschemes
[…]

Contributor guide

Open the contributing guide

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 by inspecting the generated config.make rules that define PROJECT_EXCLUSIONS and compare the documented %.xcodeproj pattern with the paths shown in the make output. Trace where config.make is generated, then verify with a project containing an .xcodeproj directory that the generated compile inputs no longer include it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
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.