macro(add_module TheModule) message("-- Adding module ${TheModule}") set("MODULE_${TheModule}" ON) target_compile_definitions(wormhole PRIVATE MODULE_${TheModule}) endmacro()