Hello,

We have here several projects is this structure:

MainProj (version 1.0.0.0-1)
|
|--- proj1 (version 1.0.0.0-1)
|--- proj2 (version 1.0.0.0-1)
|             |
|             |---proj2.1 (version 1.0.0.0-1)
|--- proj3 (version 1.0.0.0-1)
                |
                |---proj3.1 (version 1.0.0.0-1)
...

Our release convention is A.B.C.D-E:
A -> major
B -> minor
C -> micro
D -> patch
E -> build number

Sometimes we make modifications on some of this projects. Suppose I change some 
code on proj1 and proj2.1.

MainProj (version 1.0.0.0-2) - this recompiled because it's dependencies have 
changed
|
|--- proj1 (version 1.0.0.1-1) - this is recompiled because it's code have 
changed
|--- proj2 (version 1.0.0.0-2) - this recompiled because it's dependencies have 
changed
|             |
|             |---proj2.1 (version 1.0.0.1-1) - this is recompiled because it's 
code have changed
|--- proj3 (version 1.0.0.0-1) - this haven't changed
                |
                |---proj3.1 (version 1.0.0.0-1) - this haven't changed

So, my question is:
Is there a way to detect a rebuilt (code has NOT changed) and increment it's 
build number? And when code change increment it's patch number?

Regards,
Renan Biegelmeyer

AVISO LEGAL

As informações contidas neste e-mail e nos arquivos anexos são confidenciais e 
para uso exclusivo do destinatário aqui indicado. 
Caso não seja o destinatário desta mensagem, por favor, apague o conteúdo do 
e-mail e notifique o remetente imediatamente. 
Qualquer utilização indevida ou divulgação do conteúdo deste e-mail, parcial ou 
total, é estritamente proibida e sujeita às penalidades legais. 
A transmissão de mensagens e arquivos pela internet não garante a integridade 
de seu conteúdo. 
O remetente não pode ser responsabilizado pela mensagem, caso ela tenha sido 
modificada.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to