working method for bundling up coopyhx as C++ code