Thank you Michael. I think that I explained myself wrong, as I translated a definition I found of "casa cuartel". Actually, the buildings I'm talking about are used by the Civil Guard in Spain, not by the army. When I look for photos on the internet, I don't find the same kind of buildings when I type "casa cuartel" and "barracks".
This is a link about Civil Guard: https://en.wikipedia.org/wiki/Civil_Guard_(Spain)