def METHOD_NAME(self):
    options = []
    if '+use_markers' in self.spec:
        options.append('-DMSTK_USE_MARKERS=ON')
    else:
        options.append('-DMSTK_USE_MARKERS=OFF')
    # Shared or static libraries
    if '+shared' in self.spec:
        options.append('-DBUILD_SHARED_LIBS:BOOL=ON')
    else:
        options.append('-DBUILD_SHARED_LIBS:BOOL=OFF')
    # Parallel variant
    if '+parallel' in self.spec:
        options.append('-DENABLE_PARALLEL=ON')
    else:
        options.append('-DENABLE_PARALLEL=OFF')
    if 'partitioner=none' in self.spec:
        options.append('-DENABLE_METIS=OFF')
        options.append('-DENABLE_ZOLTAN=OFF')
    else:
        if 'zoltan' in self.spec:
            options.append('-DENABLE_ZOLTAN=ON')
        else:
            options.append('-DENABLE_ZOLTAN=OFF')
        if 'metis' in self.spec:
            options.append('-DENABLE_METIS=ON')
        else:
            options.append('-DENABLE_METIS=OFF')
    # ExodusII variant
    if '+exodusii' in self.spec:
        options.append('-DENABLE_ExodusII=ON')
    else:
        options.append('-DENABLE_ExodusII=OFF')
    # SEACAS build to support ExodusII variant
    if '+seacas' in self.spec:
        options.append('-DENABLE_ExodusII=ON')
    else:
        options.append('-DENABLE_ExodusII=OFF')
    # Unit test variant
    if self.run_tests:
        options.append('-DENABLE_Tests=ON')
    else:
        options.append('-DENABLE_Tests=OFF')
    return options