bld.cfg 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # ----------------------- FCM extract configuration file -----------------------
  2. cfg::type bld
  3. cfg::version 1.0
  4. # ------------------------------------------------------------------------------
  5. # Build information
  6. # ------------------------------------------------------------------------------
  7. # Specifying the build directory and src::blitz if necessary.
  8. inc bld_dir.cfg
  9. %CFLAGS %BASE_CFLAGS %COMPIL_CFLAGS
  10. %FFLAGS %BASE_FFLAGS %COMPIL_FFLAGS
  11. %LD_FLAGS %ARCH_LD %BASE_LD
  12. bld::infile_ext::cpp C::SOURCE
  13. bld::infile_ext::conf CPP::INCLUDE
  14. bld::infile_ext::hpp CPP::INCLUDE
  15. # IMPORTANT: as the build directory may not necessarily coincide with the source directory,
  16. # each source subfolder should be declared individually
  17. search_src false
  18. src::xios $PWD/src
  19. src::xios::config $PWD/src/config
  20. src::xios::date $PWD/src/date
  21. src::xios::filter $PWD/src/filter
  22. src::xios::functor $PWD/src/functor
  23. src::xios::interface::c $PWD/src/interface/c
  24. src::xios::interface::c_attr $PWD/src/interface/c_attr
  25. src::xios::interface::fortran $PWD/src/interface/fortran
  26. src::xios::interface::fortran_attr $PWD/src/interface/fortran_attr
  27. src::xios::io $PWD/src/io
  28. src::xios::node $PWD/src/node
  29. src::xios::parse_expr $PWD/src/parse_expr
  30. src::xios::test $PWD/src/test
  31. src::xios::transformation $PWD/src/transformation
  32. src::xios::transformation::Functions $PWD/src/transformation/Functions
  33. src::xios::type $PWD/src/type
  34. src::netcdf $PWD/extern/netcdf4
  35. src::remap $PWD/extern/remap/src
  36. bld::lib xios
  37. bld::target libxios.a
  38. #bld::target generate_fortran_interface.exe
  39. #bld::target test_remap.exe
  40. bld::target xios_server.exe
  41. #bld::target test_regular.exe
  42. #bld::target test_xios2_cmip6.exe
  43. #bld::target test_new_features.exe test_unstruct_complete.exe
  44. #bld::target test_remap.exe
  45. #bld::target test_complete.exe
  46. #bld::target test_client.exe
  47. #bld::target test_unstruct_complete.exe
  48. #bld::target test_unstructured.exe
  49. bld::exe_dep
  50. bld::tool::cc %CCOMPILER
  51. bld::tool::fc %FCOMPILER
  52. bld::tool::fpp %FPP
  53. bld::tool::cpp %CPP
  54. bld::tool::cppflags %CBASE_INC -I${PWD}/extern/src_netcdf -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I${PWD}/extern/blitz/include
  55. bld::tool::fppflags %BASE_INC -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include
  56. bld::tool::ld %LINKER
  57. bld::tool::ldflags %LD_FLAGS
  58. bld::tool::cflags %CFLAGS %CBASE_INC -I${PWD}/extern/src_netcdf -I${PWD}/extern/boost/include -I${PWD}/extern/rapidxml/include -I${PWD}/extern/blitz/include
  59. bld::tool::fflags %FFLAGS %FBASE_INC
  60. bld::tool::cppkeys %CPP_KEY
  61. bld::tool::fppkeys %CPP_KEY
  62. bld::tool::make %MAKE
  63. # Pre-process code before analysing dependencies
  64. bld::pp false
  65. bld::pp::xios::interface::fortran true
  66. bld::pp::xios::interface::fortran_attr true
  67. bld::excl_dep use::mod_prism_get_comm
  68. bld::excl_dep use::mod_prism_get_localcomm_proto
  69. bld::excl_dep use::mod_prism_proto
  70. bld::excl_dep use::mod_prism
  71. bld::excl_dep use::netcdf
  72. bld::excl_dep inc::mpif.h