mesonbuild/meson

ninja build or ninja reconfigure does not detect dependency changes

Chiusa

#2475 aperta il 11 ott 2017

 (1 commento) (0 reazioni) (0 assegnatari)Python (1465 fork)batch import
bugdependencieshelp wanted

Metriche repository

Star
 (4978 stelle)
Metriche merge PR
 (Merge medio 139g 13h) (51 PR mergiate in 30 g)

Descrizione

Hi,

I've got:

gmime3   = dependency ('gmime-3.0', required : false)
gmime2   = dependency ('gmime-2.6', required : false)

if gmime3.found ()
  gmime = gmime3
  gmime_gir = 'GMime-3.0'
elif gmime2.found ()
  gmime = gmime2
  gmime_gir = 'GMime-2.6'
else
  error ('neither gmime3 or gmime2 available')
  gmime_gir = ''
endif

deps = [ gmime ]

if gmime2 or gmime3 is installed/un-installed ninja reconfigure does not reliably detect the change. E.g. uninstalling gmime3, and installing gmime2 still tries to use gmime3 build commands. Have to delete dir and re-configure. Seems to sometimes work the other way.. which keeps breaking my separate build dir.

Guida contributor