मैं निर्भरता प्रबंधक Biicode के लिए एक ब्लॉक बनाना चाहता हूं। मैं मौजूदा स्रोत कोड को स्पर्श करने के लिए नहीं चाहता हूं, इसलिए मुझे मौजूदा बीआई ब्लॉक से अपने स्रोत कोड में उपयोग किए गए पथों में पथ शामिल करना होगा। अपेक्षा के अनुरूप# बायिकोड (biicode.conf) में स्टेटमेंट मैपिंग शामिल करें
#include "google/gtest/include/gtest/gtest.h"
#include "florianwolters/include/fw/core/uncopyable_mixin.h"
अगर मैं की जगह भी शामिल है, सब कुछ काम कर रहा है:
#include "gtest/gtest.h"
#include "fw/core/uncopyable_mixin.h"
डिफ़ॉल्ट सेटिंग्स Bii उम्मीद निम्न पथों के साथ
:
मैं निम्नलिखित का उपयोग कर रहा अपने मौजूदा कोड में शामिल । लेकिन जैसा कि मैंने पहले ही कहा है कि मैं ऐसे बदसूरत पथों को शामिल नहीं करना चाहता हूं, लेकिन सामान्य ज्ञान का उपयोग करें (बूस्ट और अन्य पुस्तकालयों के रूप में)।
इसलिए मुझे पथों को मैप करने की आवश्यकता है। मैंने biicode.conf
पढ़ा है और [includes]
अनुभाग पर ठोकर खाई है।
मैं कोशिश की है निम्नलिखित:
[requirements]
google/gtest: 9
florianwolters/uncopyable-mixin: 0
[parent]
florianwolters/singleton: -1
[paths]
include
[dependencies]
[mains]
[hooks]
[includes]
gtest/gtest.h: google/gtest/include/gtest
fw/core/uncopyable_mixin.h: florianwolters/uncopyable-mixin/include/fw/core
[data]
लेकिन वह काम नहीं करता:
INFO: Processing changes...
WARN: Removing unused reference to "florianwolters/uncopyable-mixin: 0" from florianwolters/singleton "requirements"
WARN: Removing unused reference to "google/gtest: 9" from florianwolters/singleton "requirements"
तो मेरी सवाल यह है: इसके साथ काम करने के लिए मैं कैसे मानचित्रण कॉन्फ़िगर करने के लिए की क्या ज़रूरत है मौजूदा #include
-स्टेटमेंट्स? इसे काम करना है, अन्यथा यह एक हत्यारा-मानदंड है ...