arturoc / ofxGStreamer

openFrameworks addon to use gstreamer under osx and windows. This addon has no code and instead uses the addon_config.mk file to add the needed files from the core + the flags needed to compile using gstreamer
56 stars 28 forks source link

Addon sources don’t show up in the Project Navigator within Xcode #25

Open timolden opened 5 years ago

timolden commented 5 years ago

After generating a project with the project generator including the addon, the OF related source files don’t show up in the Project Navigator within Xcode.

This is a minor issue because the project will build fine, but it is often convenient to have the source files available in the Navigator for quick reference.

It is these six source files that don’t show up:

ADDON_SOURCES += $(OF_ROOT)/libs/openFrameworks/video/ofGstUtils.h
ADDON_SOURCES += $(OF_ROOT)/libs/openFrameworks/video/ofGstUtils.cpp
ADDON_SOURCES += $(OF_ROOT)/libs/openFrameworks/video/ofGstVideoPlayer.h
ADDON_SOURCES += $(OF_ROOT)/libs/openFrameworks/video/ofGstVideoPlayer.cpp
ADDON_SOURCES += $(OF_ROOT)/libs/openFrameworks/video/ofGstVideoGrabber.h
ADDON_SOURCES += $(OF_ROOT)/libs/openFrameworks/video/ofGstVideoGrabber.cpp

(Have seen this behavior in Xcode 7 & 8 and OF 0.9.n & 0.10.1)

Manually adding them will result in errors, as the project does already has them included.