def METHOD_NAME(self):
    '''Set the build options that compile the desired launch mode.'''
    if self.launch_mode == 'sync':
        self.build_system.cppflags += ['-D SYNCKERNEL=1']
    elif self.launch_mode == 'async':
        self.build_system.cppflags += ['-D SYNCKERNEL=0']