# These include dirs will be common for all language binding C++ glue being built, so define it here include_directories( ${MG_COMMON_DIR}/MdfModel ${MG_COMMON_DIR}/Foundation ${MG_COMMON_DIR}/Geometry ${MG_COMMON_DIR}/PlatformBase ${MG_COMMON_DIR}/MapGuideCommon ${ACE_INCLUDE_DIR} ${MG_WEB_DIR}/src/HttpHandler ${MG_WEB_DIR}/src/WebSupport ${MG_WEB_DIR}/src/WebApp ${XERCESC_INCLUDE_DIR} ) # We only need to build the .net SWIG glue libs if building for the common subset # We don't build this in a regular full end-to-end MG build if (MG_COMMON_SUBSET_ONLY) add_subdirectory(DotNet) else (MG_COMMON_SUBSET_ONLY) if (WITH_JAVA) add_subdirectory(Java) endif (WITH_JAVA) add_subdirectory(Php) endif (MG_COMMON_SUBSET_ONLY)