When build target X we can pass -DX_FLAG When build target Y we can pass -DY_FLAG
When build target X we can pass -DX_FLAG
When build target Y we can pass -DY_FLAG