2011/6/8 Ilias Miroslav <miroslav.il...@umb.sk>:
> Dear experts,
>
> We would like to check the generated target (main executable) after it was 
> built.
>
> For example
> .
> .
> Linking Fortran executable vibcal.x
> [100%] Built target vibcal.x
> [100%] Built target dirac.x
>
> afterwards, it would be good to get own message about properties of the 
> generated target dirac.x, for instance "ldd dirac.x",  "size dirac.x" etc. 
> How to do that with the  CMake please ?

add_custom_command(TARGET dirac.x POST_BUILD COMMAND ldd dirac.x)

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
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