mirror of
https://github.com/reactos/CMake.git
synced 2025-02-21 12:20:48 +00:00

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();
|
|
}
|