Merge pull request #217 from jwillemsen/jwi-linkerflags
[MPC.git] / config / glib.mpb
blob972f6083e5bf77735f191d00bd9aeaf38ae090f6
1 project {
2   // Support alternate versions of glib:
3   expand(GLIB_VERSION) {
4     $GLIB_VERSION
5     2.0
6   }
8   expand(GLIB_LIB_DIR) {
9     $GLIB_LIB_DIR
10     lib
11   }
13   libpaths      += $(GLIB_ROOT)/lib
15   lit_libs      += glib-$(GLIB_VERSION)
18 feature(glib_versioned_includes) {
19   includes += $(GLIB_ROOT)/include/glib-$(GLIB_VERSION) \
20               $(GLIB_ROOT)/$(GLIB_LIB_DIR)/glib-$(GLIB_VERSION)/include
23 feature(!glib_versioned_includes) {
24   includes += $(GLIB_ROOT)/include
25   libpaths -= $(GLIB_ROOT)/lib
26   specific {
27     Debug::libpaths += $(GLIB_ROOT)/debug/lib
28     Release::libpaths += $(GLIB_ROOT)/lib
29   }