This patch adds a new module that allows for easy integration of MinGW gfortran and the Visual Studio compiler. It is done in a function called cmake_add_fortran_subdirectory. The patch also includes a test for this feature.
8 lines
131 B
C
8 lines
131 B
C
#include <HelloWorldFCMangle.h> // created by FortranCInterface
|
|
extern void FC_hello(void);
|
|
int main()
|
|
{
|
|
FC_hello();
|
|
return 0;
|
|
}
|