I am trying to make some sort of easy way to define mcu that I use, and by defining mcu, different header files should be included. I tried doing it with #if and #elif directives :
#include "Parameters.h"
#if MCU_IN_USE == ESP32_S3_MINI_1
#include "ESP32_S3_MINI_1_PINOUT.h"
#elif MCU_IN_USE == ESP32_S3_WROOM
#include "ESP32_S3_WROOM_PINOUT.h"
#endif
and in Parameters.h file I defined MCU like this:
//#define MCU_IN_USE ESP32_S3_MINI_1
#define MCU_IN_USE ESP32_S3_WROOM
I plan to uncomment the one I use and comment the other one, but the problem is that no matter which define is uncommented, I always get first option in #if statement even though, I am using #elif define:

What causes this problem?
ESP32_S3_MINI_1andESP32_S3_WROOMdefined to?