How do I remove compile options from target

Usually you don’t remove them; you should instead not set them in the first place. However, you can go in and work with the backing properties directly (should be COMPILE_OPTIONS).