mirror of
https://github.com/reactos/CMake.git
synced 2024-11-29 14:30:27 +00:00
f3cd1e06f5
Previously the Fortran test created a single executable containing C, C++, and Fortran sources. This commit divides the executable into three libraries corresponding to each language, and two executables testing Fortran/C only and Fortran/C/C++ together. The result tests more combinations of using the languages together, and that language requirements propagate through linking.
7 lines
87 B
C
7 lines
87 B
C
extern int myc(void);
|
|
extern int mycxx(void);
|
|
int main()
|
|
{
|
|
return myc() + mycxx();
|
|
}
|