2025-02-25 1:24 AM
I run my python script in C/C++ Build --> Settings --> Build Steps --> Pre-build steps by running command:
cd ${ProjDirPath}/menu_language_generator && python generate.py
This script generates header files to my project with langauge translations. Script works fine and generates these files but then they are not visible and compilator shows errors. After second compilation when files has been already generated the process end up successfully.
How can I refresh files after pre-build and compile project on first time after generating files?