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.
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:
open KiCadWinbuilder.cmake with your prefer editor.
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.)
Save your changes
You’re good to go.
Option 2:
Download my version from the dropbox link bellow
replace the old KiCadWinbuilder.cmake with the one you just downloaded.
open the new KiCadWinbuilder.cmake with your prefer editor
Set UPDATE_KICAD_SOURCE to OFF
Save the changes.
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.