Replies: 4 comments 4 replies
-
to answer the first "direct" question: that being said there is a bit of chaos in ofConstants.h it seems the logic of the definitions is not consistent... there is an effort like your so to answer the second question it seems the logical thing is to support the effort done in ofConstant to normalize openFrameworks/libs/openFrameworks/utils/ofConstants.h Lines 88 to 131 in 1e77cec |
Beta Was this translation helpful? Give feedback.
-
the "original" targets as defined (for instance) by apple are more precise than OF: concretely, nomenclature drift is at play but (apart from clarifying WIN32 includes 64) are there specific use-cases that need to be addressed? |
Beta Was this translation helpful? Give feedback.
-
I'd totally be up for standardizing these ( as long we kept the legacy defines for a while after ).
Also like:
etc |
Beta Was this translation helpful? Give feedback.
-
about also I'm wondering about the enum that makes me wonder about the actual usage -- perhaps an audit of the
|
Beta Was this translation helpful? Give feedback.
-
I've seen in different places of OF a define called TARGET_WIN32
like
#if defined(TARGET_WIN32)
is this true for all windows platform, including 64 bits?
should we use it or instead OF_TARGET_WINDOWS or something similar?
or maybe even better, have
OF_PLATFORM_WINDOWS
OF_PLATFORM_MACOS
OF_PLATFORM_LINUX
to define pieces of code that will run in all targets of the same platform?
thoughts?
Beta Was this translation helpful? Give feedback.
All reactions