You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would allow a lot of abstraction layers, such as GLFW, where the platform-dependence cannot be avoided, to be built quite naturally with clang-build. The goal should again be that the easiest solution is to have no platform-dependence, but to allow it if actually necessary.
Aside from abstraction layers, one sometimes has to apply platform-specific linkage, e.g. to the pthreads library on unix systems.
The following would allow it to be composable and non-intrusive:
The corresponding osx, linux and windows subdicts would be merged into the main one if the corresponding platform is detected. This of course only makes sense for lists, i.e. include_directories, sources and flags (what about dependencies?).
The text was updated successfully, but these errors were encountered:
Added platform-dependent flags with 3e75731 on branch feature-improved-config. The approach there should be rewritten to take mytarget.osx.flags instead of mytarget.flags.osx, what I wrote above seems more general and therefore better.
This would allow a lot of abstraction layers, such as GLFW, where the platform-dependence cannot be avoided, to be built quite naturally with
clang-build
. The goal should again be that the easiest solution is to have no platform-dependence, but to allow it if actually necessary.Aside from abstraction layers, one sometimes has to apply platform-specific linkage, e.g. to the
pthreads
library on unix systems.The following would allow it to be composable and non-intrusive:
The corresponding
osx
,linux
andwindows
subdicts would be merged into the main one if the corresponding platform is detected. This of course only makes sense for lists, i.e.include_directories
,sources
andflags
(what aboutdependencies
?).The text was updated successfully, but these errors were encountered: