[CMake] execute short program during cmake configuration ?
Ilias Miroslav
Miroslav.Ilias at umb.sk
Thu Jun 2 16:10:28 EDT 2016
Greetings, dear experts,
we have (two) short Fortran programs (detection of integer*4/8 for math libraries) which we would like to build and execute during project's configuration phase.
There is the " CheckFortranSourceCompiles" command to compile a Fortran source code during project's configure time. However, we would be glad also to execute the resulting a.out binary and check if it passes or crashes.
Any help, please ? Is there a way to compile/execute short program in the configuration stage of the (big) project ?
Yours, Miro
( CMake co-builder for http://www.diracprogram.org )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160602/a4708308/attachment.html>
More information about the CMake
mailing list