def _save_cmake_spec(args):
    'Save the CMake spec to disk'
    try:
        os.makedirs(os.path.dirname(CMAKE_SPEC_FILE()))
    except OSError:
        pass
    with open(CMAKE_SPEC_FILE(), 'w+') as fp:
        json.dump(args, fp)
Save the CMake spec to disk
def _save_cmake_spec(args):
    
    try:
        os.makedirs(os.path.dirname(CMAKE_SPEC_FILE()))
    except OSError:
        pass
    with open(CMAKE_SPEC_FILE(), 'w+') as fp:
        json.dump(args, fp)