def METHOD_NAME(self):
    if self._cmake:
        return self._cmake
    self._cmake = CMake(self);
    self._cmake.definitions["HEXL_BENCHMARK"] = False
    self._cmake.definitions["HEXL_TESTING"] = False
    self._cmake.definitions["HEXL_EXPERIMENTAL"] = self.options.experimental
    if self.options.fpga_compatibility_dyadic_multiply and self.options.fpga_compatibility_keyswitch:
        self._cmake.definitions["HEXL_FPGA_COMPATIBILITY"] = 3
    elif self.options.fpga_compatibility_dyadic_multiply:
        self._cmake.definitions["HEXL_FPGA_COMPATIBILITY"] = 1
    elif self.options.fpga_compatibility_keyswitch:
        self._cmake.definitions["HEXL_FPGA_COMPATIBILITY"] = 2
    else:
        self._cmake.definitions["HEXL_FPGA_COMPATIBILITY"] = 0
    self._cmake.definitions["HEXL_SHARED_LIB"] = self.options.shared
    self._cmake.definitions["HEXL_CROSS_COMPILED"] = cross_building(self)
    self._cmake.configure(build_folder=self._build_subfolder)
    return self._cmake