total descendants:: total children::1 1 ❤️ |
Prvy helper (pre-build event do MSVC, pripadne inych kompilatorov) je na svete... ** BuildTools::AutoVersion 0.9.5.20 (c)2006 Miroslav Hudak ** Usage: AutoVersion.exe [options] <sources-path> <sources-path> Path to source files of your project. All other files provided in switches are relative to this path. Options: -ms Version modify string In form '1.2.3.4' where each number stands for: 1 - Major; 2 - Minor; 3 - Release; 4 - Build and can be substituted for: * No Action, leave as it is + Increment version number - Decrement version number <num> Set to <num> constant e.g. '*.*.*.+' will increase build number each run -vh Version header file name (default 'APP_VERSION.h') -vr Version resource file name (default 'APP_VERSION.rc') -vdef Define name for storing version number (default 'APP_VERSION') Download @ http://www.maniax.sk/AutoVersion.0.9.5.20.zip Z cisla verzie je zrejme, ze je to len BETA, ale ja to pouzivam pri kompilaciach a funguje to bez problemov. Odporucam nastavit len na RELEASE build konfiguracie. A samozrejme, je potrebne mat v projekte includnuty VERSIONINFO resource. Moje nastavenie release pre-build event: del "$(InputDir)\$(IntDir)\$(InputName).res" c:\Btools\AutoVersion.exe -vr "$(InputName).rc" -ms *.*.*.+ "$(InputDir)" (ten 'del' maze .res subor, aby ho musel znova prekompilovat, asi sa to da donutit rekompilovat aj inak, ale nedosiel som na to ako :) Zaroven pracujem na postbuild eventoch pre archivaciu a podobne. (a mne je jasne, ze take nieco uz existuje, ale chcem mat vlastne -- aspon si to viem upravit v momente, ked potrebujem :)) |
| |||||||||||||||||||||||