Disabling Source Update With Winbuilder

Hello! New Kicad forums user here. I’ve been using Kicad for schematic capture at my work, generating netlists and BOMs to be used with other programs via XSLT. I’d like to make some modifications to the EESchema netform.cpp file such that Revision number and Page Title (or similar) are available in the generated XML file. I know enough to make that change, but every time I run the make.bat, it automatically updates source. Is there a way to disable this, or even better, to build EESchema alone?

Thank you for your help, I hope I can be of some help answering some other questions around here.

EDIT: In case it was unclear, I’m running Windows OS.

If no one knows how to modify the .cmake file to accomplish this,what might be a different forum that may have some folks with that knowledge?

Winbuilder development discussions are normally on the developers mailing list, you can sign up from Launchpad: https://launchpad.net/~kicad-developers

Hiya jwpartain1.

Not sure if you still need this.

KiCad-Winbuilder was put together to allow window users to get and compile kicad latest code. so it make sense that every time you run the make.bat that it will replace your changes if a new version of the code is available…

If you simple want to disable the portion of the make file that retrieve the latest code so that you can compile your changes, then you will need one of the following.

Option 1:

  1. open KiCadWinbuilder.cmake with your prefer editor.
  2. either comment out using the hash tag or delete everything from line 761 to 821. (This is the portion of of the cmake file that handles downloading the latest kicad branch.)
  3. Save your changes
  4. You’re good to go.

Option 2:

  1. Download my version from the dropbox link bellow
  2. replace the old KiCadWinbuilder.cmake with the one you just downloaded.
  3. open the new KiCadWinbuilder.cmake with your prefer editor
  4. Set UPDATE_KICAD_SOURCE to OFF
  5. Save the changes.
  6. You’re good to go.

My version has a setting (UPDATE_KICAD_SOURCE) that will allow you to turn ON or OFF the source code update. This version also revert the source code prior to an update to ensure that the source matches that of the kicad development branch.

Thanks for your answers, Nathan and Opticalworm. I’ll try both of your suggested options and look into a way to build EESchema alone. This has been on the backburner for me for a while, but now is a good time to look into it again.