support debug/optimized in add_compile_options/add_link_options
https://cmake.org/cmake/help/latest/command/target_link_libraries.html supports debug, optimized and general keywords. It would be nice and also more consistent if they were supported in the compile_options/link_options variants too.