If a spouse dies & 8 years later, you sell the vacation home that you built. Do you file as purchase or inheritance & do you use cost basis or actual cost?

I purchased property and built a vacation home.  My spouse died in 2010.  We are a community state so I became sole owner.  I sold the home in 2018 and need to claim.  Do I claim as purchase with costs, or inheritance with an adjusted value on value of home in 2010?