New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
bld_tools.cfg in utils/build/mk_ENHANCE-03_domcfg – NEMO

source: utils/build/mk_ENHANCE-03_domcfg/bld_tools.cfg @ 11982

Last change on this file since 11982 was 11980, checked in by mathiot, 5 years ago

mk_ENHANCE-03_domcfg: add a pre-processing step to compile tools

  • Property svn:keywords set to Id
File size: 1.5 KB
RevLine 
[2136]1# ----------------------- FCM extract configuration file -----------------------
2cfg::type                           bld
3cfg::version                        1.0
4
5
6# ------------------------------------------------------------------------------
7# Build information
8# ------------------------------------------------------------------------------
9
10inc $COMPIL_DIR/arch_tools.fcm
[11980]11inc $COMPIL_DIR/cpp_tools.fcm
[2136]12
13search_src           1
14
[11980]15src::nemo            $TOOLS_DIR/$NEW_CONF/src
[2136]16
[11980]17dir::root            $TOOLS_DIR/$NEW_CONF/BLD
[2136]18
[4865]19bld::tool::cpp       %CPP
20bld::tool::fpp       %CPP
[2136]21bld::tool::fc        %FC 
22bld::tool::fflags    %FCFLAGS %USER_INC
23bld::tool::ld        %LD
24bld::tool::ldflags   %LDFLAGS %USER_LIB
25bld::tool::ar        %AR
26bld::tool::arflags   %ARFLAGS
27bld::tool::make      %MK
28
[11980]29# Pre-process code before analysing dependencies
30bld::pp::nemo     1
31bld::tool::fppflags::nemo      %FPPFLAGS -I$TOOLS_DIR/$NEW_CONF/NEMOFILES/inc
32
[2136]33# Ignore the following dependencies
34bld::excl_dep        inc::netcdf.inc
35bld::excl_dep        use::netcdf
[7646]36bld::excl_dep        use::xios
[2136]37bld::excl_dep        h::netcdf.inc
38bld::excl_dep        h::mpif.h
39bld::excl_dep        inc::mpif.h
40bld::excl_dep        use::mpi
[10620]41bld::excl_dep        use::mod_oasis
[2136]42
43# Don't generate interface files
44bld::tool::geninterface none
45
46# Allow ".h90" as an extension for CPP include files
47bld::infile_ext::h90  CPP::INCLUDE
[11980]48bld::infile_ext::f90  FPP::FPP9X::SOURCE
[2136]49
50# extension for module output
51bld::outfile_ext::mod .mod
Note: See TracBrowser for help on using the repository browser.