SRCS => GLOBAL_SRCS
@@ -4767,6 +4767,13 @@ macro MAPS_IDL_SRCS(Srcs...) {
MAPKITIDL($Srcs ${MAPS_IDL_FILTER})
}
+### @usage: MAPS_IDL_GLOBAL_SRCS(filenames...) # internal
+###
+### Warpper for MAPKITIDL macro which is used for mobile mapkit build
+macro MAPS_IDL_GLOBAL_SRCS(Srcs...) {
+ MAPKITIDL(GLOBAL_OUTPUTS $Srcs ${MAPS_IDL_FILTER})
+}
+
### @usage: MAPSMOBI_SRCS(filenames...) # internal
###
### Make all source files listed as GLOBAL or not (depending on the value of
@@ -4930,7 +4937,7 @@ module JSRC_LIBRARY: _BASE_UNIT {
### Java version is not really a library but an archive of generated Java sources
multimodule MAPS_IDL_LIBRARY {
module CPP_IDL: LIBRARY {
- .ALIASES=SRCS=MAPS_IDL_SRCS ADDINCL=MAPS_IDL_ADDINCL
+ .ALIASES=SRCS=MAPS_IDL_SRCS GLOBAL_SRCS=MAPS_IDL_GLOBAL_SRCS ADDINCL=MAPS_IDL_ADDINCL
SET(PEERDIR_TAGS CPP_IDL CPP_PROTO __EMPTY__)
SET(MAPS_IDL_FILTER)
ENABLE(CPP_IDL)
@@ -4938,7 +4945,7 @@ multimodule MAPS_IDL_LIBRARY {
}
module JAVA_IDL: JSRC_LIBRARY {
- .ALIASES=SRCS=MAPS_IDL_SRCS ADDINCL=MAPS_IDL_ADDINCL
+ .ALIASES=SRCS=MAPS_IDL_SRCS GLOBAL_SRCS=MAPS_IDL_SRCS ADDINCL=MAPS_IDL_ADDINCL
SET(PEERDIR_TAGS JAVA_IDL JAVA_PROTO)
SET(MAPS_IDL_FILTER FILTER .java)
ENABLE(JAVA_IDL)
