[CMake] Fw: STRING - REGEX REPLACE use

Benoit Regrain benoit.regrain at creatis.insa-lyon.fr
Wed Dec 8 04:54:32 EST 2004


Hi,

Anyone could explain me how to use the STRING command with the 
REGEX REPLACE parameter

CMake request me 6 parameters but I don't understand want I must set.

What I want exactly to do : 
I have a file like SIEMENS_MAGNETOM-12-MONO2-FileSeq0.dcm
And I would have SIEMENS_MAGNETOM-12-MONO2-FileSeq%d.dcm
The idea might be to replace the 'FileSeq0' by FileSeq%d'

Cheers

-----------------------------------------------------------------
Benoit Regrain
Ingénieur d'études CNRS (Creatis)
email : regrain at creatis.insa-lyon.fr
phone : (+33) (0) 4.72.43.82.58
fax : (+33) (0) 4.72.43.85.26
INSA - Bâtiment Blaise Pascal
7, avenue Jean Capelle
F - 69621 Villeurbanne Cedex
-----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20041208/ac990645/attachment.htm


More information about the CMake mailing list