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
Certain methods, in particular get_exe_suffix(), get_shared_lib_suffix() and get_*dir(), can be very useful to use in meson.build. For example, when using install_subdirs to install a header hierarchy it would be ideal to not hardcode 'include' as the destination, instead using something like environment.get_includedir(). I don't know if the meson object is the best place for these methods, or if a new environment object should be created.
The text was updated successfully, but these errors were encountered:
Certain methods, in particular
get_exe_suffix()
,get_shared_lib_suffix()
andget_*dir()
, can be very useful to use inmeson.build
. For example, when usinginstall_subdirs
to install a header hierarchy it would be ideal to not hardcode 'include' as the destination, instead using something likeenvironment.get_includedir()
. I don't know if themeson
object is the best place for these methods, or if a newenvironment
object should be created.The text was updated successfully, but these errors were encountered: