can i add to basis of inherited property with materials and taxes paid over the years

i inherited a property that was unlivable. Can i use the money amount that i put into the house for a roof, plumbing, electrical, cabinets, flooring, insulation, appliances, utilities, insurance, and taxes to add to the cost basis? this is a property in Texas. I have put many years of labor and materials and kept the house up costing me a small fortune. thank you