The basis for measuring thermodynamic property of temperature is given by
The zeroth law of thermodynamics states that if two thermodynamic system are each in thermal equilibrium with a third, then they are in thermal equilibrium with each other.
Two systems are said to be in the relation of thermal equilibrium if they are linked by a wall permeable only to heat and they do not change over time.
So temperature according to this law was taken as thermodynamic property.
The zeroth law justifies the use of suitable thermodynamic systems as thermometers to provide such a labeling, which yield any number of possible emprical temperature scales.