include_guard(GLOBAL) macro(export_to_parent) foreach(var IN ITEMS ${ARGN}) set(${var} ${${var}} PARENT_SCOPE) endforeach() endmacro()