The building codes or fire regulations when adopted by the board of county commissioners shall be applicable to all the area of the county situated outside the corporate limits of any city or town, or to such portion thereof as may be prescribed in such building code or fire regulation.