Project configuration VSCode + PlatformIO + arduinoespressif32

Is there a way to configure project settings like sdkconfig.h does? We have a global sdkconfig.h file for the entire framework. How can I use Platformio to change some of the settings listed in the global sdkconfig.h file just for my project?

If it is a pure Arduino project (framework = arduino) please see this post:
Modifying Arduino ESP32 setup with menuconfig and maxgerhard’s answer.