This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

before build/rebuild run my exe

Hi

    I'm a student doing an experiment.

    I want to use an exe file to automatically change the version number in a .h file.This exe file is called before keil compiles and is compiled after the version number is increased.

    After setting the options in keil, I click build/rebuild, but nothing happens.The version number was not increased, and the compile output box did not report an error.But if I double-click on the exe file, it works fine.

    Did I set it up wrong?Keil 5.26.2

thanks

tangyu

Parents
  • You can write some debug output in your ConsoleApplication2.exe to at least print out some debug info to help you to see if the program has ever been executed and what has been changed or not. 

    uVision just calls once your ConsoleApplication2.exe. Nothing more

Reply
  • You can write some debug output in your ConsoleApplication2.exe to at least print out some debug info to help you to see if the program has ever been executed and what has been changed or not. 

    uVision just calls once your ConsoleApplication2.exe. Nothing more

Children
No data