Can a macro be assigned an enum in a library?

The enum must be public in the class. Also, use:

#define OPTION1 Library::O1