From 014e4b95648f2b8e7deb57acb0cdd8cefc363477 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 May 2024 18:26:24 +0900 Subject: Allow generation of build time data files in out-of-source builds. Also fix generation of data file for devices/mem24 subfolder Signed-off-by: Michele Calgaro (cherry picked from commit ac3f0014232619edc41865f6e42e6510bdd8acc6) --- src/devices/mem24/xml/mem24_xml_to_data.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/devices/mem24/xml/mem24_xml_to_data.cpp') diff --git a/src/devices/mem24/xml/mem24_xml_to_data.cpp b/src/devices/mem24/xml/mem24_xml_to_data.cpp index d2a4da5..43f3ba5 100644 --- a/src/devices/mem24/xml/mem24_xml_to_data.cpp +++ b/src/devices/mem24/xml/mem24_xml_to_data.cpp @@ -18,6 +18,9 @@ namespace Mem24 class XmlToData : public Device::XmlToData { +public: + XmlToData(const TQString &folder) : Device::XmlToData(folder) {} + private: virtual uint nbOutputFiles(uint) const { return 1; } virtual bool isIncluded(uint, uint) const { return true; } -- cgit v1.2.1