<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<p>Greetings, dear experts,</p>
<p><br>
</p>
<p>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.<br>
</p>
<p><br>
</p>
<p>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.<br>
</p>
<p><br>
</p>
<p>Any help, please ? Is there a way to compile/execute short program in the configuration  stage of the (big) project ?</p>
<p><br>
</p>
<p>Yours, Miro</p>
<p>( CMake co-builder for <a href="http://www.diracprogram.org">http://www.diracprogram.org</a>  )<br>
</p>
<p><br>
</p>
<p><br>
</p>
</body>
</html>