a9be85da2e
This function builds a simple test project using a combination of Fortran and C (and optionally C++) to verify that the compilers are compatible. The idea is to help projects report very early to users that the compilers specified cannot mix languages.
17 lines
245 B
C
17 lines
245 B
C
extern void VerifyC(void);
|
|
#ifdef VERIFY_CXX
|
|
extern void VerifyCXX(void);
|
|
#endif
|
|
#include "VerifyFortran.h"
|
|
extern void VerifyFortran(void);
|
|
|
|
int main(void)
|
|
{
|
|
VerifyC();
|
|
#ifdef VERIFY_CXX
|
|
VerifyCXX();
|
|
#endif
|
|
VerifyFortran();
|
|
return 0;
|
|
}
|