Output.cmake
Go to the documentation of this file.
1 # Global symbol without underscore.
2 set(FortranCInterface_GLOBAL_SYMBOL "mysub_")
3 set(FortranCInterface_GLOBAL_PREFIX "")
4 set(FortranCInterface_GLOBAL_SUFFIX "_")
5 set(FortranCInterface_GLOBAL_CASE "LOWER")
6 set(FortranCInterface_GLOBAL_MACRO "(name,NAME) name##_")
7 
8 # Global symbol with underscore.
9 set(FortranCInterface_GLOBAL__SYMBOL "my_sub_")
10 set(FortranCInterface_GLOBAL__PREFIX "")
11 set(FortranCInterface_GLOBAL__SUFFIX "_")
12 set(FortranCInterface_GLOBAL__CASE "LOWER")
13 set(FortranCInterface_GLOBAL__MACRO "(name,NAME) name##_")
14 
15 # Module symbol without underscore.
16 set(FortranCInterface_MODULE_SYMBOL "__mymodule_MOD_mysub")
17 set(FortranCInterface_MODULE_PREFIX "__")
18 set(FortranCInterface_MODULE_MIDDLE "_MOD_")
19 set(FortranCInterface_MODULE_SUFFIX "")
20 set(FortranCInterface_MODULE_CASE "LOWER")
21 set(FortranCInterface_MODULE_MACRO "(mod_name,name, mod_NAME,NAME) __##mod_name##_MOD_##name")
22 
23 # Module symbol with underscore.
24 set(FortranCInterface_MODULE__SYMBOL "__my_module_MOD_my_sub")
25 set(FortranCInterface_MODULE__PREFIX "__")
26 set(FortranCInterface_MODULE__MIDDLE "_MOD_")
27 set(FortranCInterface_MODULE__SUFFIX "")
28 set(FortranCInterface_MODULE__CASE "LOWER")
29 set(FortranCInterface_MODULE__MACRO "(mod_name,name, mod_NAME,NAME) __##mod_name##_MOD_##name")
30 
31 # Summarize what was found.
32 set(FortranCInterface_GLOBAL_FOUND 1)
33 set(FortranCInterface_MODULE_FOUND 1)
34