Re: [CMake] Post-build copy

2011-07-01 Thread pellegrini
Forget my question. I placed my add_custom_command at th wrong place ... sorry Eric pellegrini a écrit : Hello everybody, I build a static fortran library using CMake 2.8.0. Once the built is done I would like to copy the library archive and its related Fortran mod files stored in say, my_d

[CMake] Post-build copy

2011-07-01 Thread pellegrini
Hello everybody, I build a static fortran library using CMake 2.8.0. Once the built is done I would like to copy the library archive and its related Fortran mod files stored in say, my_dir1, in another directory say, my_dir2. Looking on the mailing list and on the web, I tried the following bu