Skip to content
Snippets Groups Projects
bldxag_tools.cfg 1.42 KiB
Newer Older
Guillaume Samson's avatar
Guillaume Samson committed
# ----------------------- FCM extract configuration file -----------------------
cfg::type                           bld
cfg::version                        1.0


# ------------------------------------------------------------------------------
# Build information
# ------------------------------------------------------------------------------

inc $COMPIL_DIR/arch_tools.fcm
inc $COMPIL_DIR/cpp_tools.fcm

search_src           1

src::nemo            $TOOLS_DIR/$NEW_CONF/src

dir::root            $TOOLS_DIR/$NEW_CONF/BLD

bld::tool::cpp       %CPP
bld::tool::fpp       %CPP
bld::tool::fc        %FC
bld::tool::fflags    %FCFLAGS %USER_INC
bld::tool::ld        %LD
bld::tool::ldflags   %LDFLAGS %USER_LIB
bld::tool::ar        %AR
bld::tool::arflags   %ARFLAGS
bld::tool::make      %MK

# Pre-process code before analysing dependencies
bld::pp::nemo     1
bld::tool::fppflags::nemo      %FPPFLAGS

# Ignore the following dependencies
bld::excl_dep        inc::netcdf.inc
bld::excl_dep        use::netcdf
bld::excl_dep        use::xios
bld::excl_dep        h::netcdf.inc
bld::excl_dep        h::mpif.h
bld::excl_dep        inc::mpif.h
bld::excl_dep        use::mpi
bld::excl_dep        use::mod_oasis

# Don't generate interface files
bld::tool::geninterface none

# Allow ".h90" as an extension for CPP include files
bld::infile_ext::h90  CPP::INCLUDE
bld::infile_ext::f90  FPP::FPP9X::SOURCE

# extension for module output
bld::outfile_ext::mod .mod