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

UV2 preprocessor

uv2 -b "project name.uv2"
build the project.
Anyone knows of any switch which will invoke preprocessor option also.
I want to create the *.I files.

Regards,
John

Parents
  • You can't, I'm afraid.

    It is part of the project file - the only way to change it is to change the project file

    "Now he wants to run my application on the project."

    If he wants to run your application on his project then, surely, it is up to him to ensure that his project is compatible with the requirements of your application - viz, that his project enables the preprocessor option?!

    Note that there is no reason for him not to do this - it will not affect his project in any way other than that the preprocessor files will be left in the listings folder.
    I always enable this as a matter of routine anyhow - it doesn't hurt, and you never know when it might come in useful!

    If he really won't change his project file, then note that the .uv2 file is just a simple text file - so your application could generate a temporary copy and enable the option in that...

Reply
  • You can't, I'm afraid.

    It is part of the project file - the only way to change it is to change the project file

    "Now he wants to run my application on the project."

    If he wants to run your application on his project then, surely, it is up to him to ensure that his project is compatible with the requirements of your application - viz, that his project enables the preprocessor option?!

    Note that there is no reason for him not to do this - it will not affect his project in any way other than that the preprocessor files will be left in the listings folder.
    I always enable this as a matter of routine anyhow - it doesn't hurt, and you never know when it might come in useful!

    If he really won't change his project file, then note that the .uv2 file is just a simple text file - so your application could generate a temporary copy and enable the option in that...

Children