Added cmakelists and creaated a new library for global.
Cool. the program option is not global.