-
Notifications
You must be signed in to change notification settings - Fork 0
Building
- Delphi 7 only standard VCL components
- Borland Make, GNU make for build system
- POSIX standard (I hope)
- clean
- default
- docs - builds the Doxygen output
- NetController.exe - the GUI app
- Wakeup.exe - the Delphi Windows tool
- swakeup.mingw - the POSIX tool built using MinGW
- swakeup.posix - the POSIX tool built using Cygwin, linux
- lint - lints the C file using splint
Semantic versioning for example, will fit in nicely with the Windows Installer rules. Although there is no Wix or other Windows Installer project, be careful to use the right components of the version - http://msdn.microsoft.com/en-us/library/aa370859%28v=vs.85%29.aspx
The version numbers are contained in version.txt
- 'make lint' should be entirely clean
- 'make clean ' should produce no diagnostic output.
- when run with valid arguments, there is no output and the return code is 0, otherwise you should get usage text
If the above are true, then you should be good to build a release.
You may need to run something like 'myenv.bat' on your Windows box to lock down the tool paths. I don't have a complex linux setup, so the out of the box settings work for me with not package/path trickery of my invention.
'make clean default' is intended to do the trick. Note that due to a quirk that has yet to be tracked down and isolated, the IDE build will have no icon, which is fine by me as it prevents "secret sauce" builds from going out.
i.e. cygwin, debian
try 'make swakeup.posix'