-
Notifications
You must be signed in to change notification settings - Fork 24
Adding a new MET tool to the autoconf build system
David Fillmore edited this page Aug 19, 2019
·
6 revisions
The source code for individual tools resides in met/src/tools/<category>/<tool name>. The subdir can be either core, other, or tc_utils (tropical cyclone utils).
To add a new tool to the autoconf build system:
-
Create a new subdir <category>/new_tool
-
In the new_tool subdir, five files should be created:
- Makefile.am
- new_tool.cc
- new_tool.h
- new_tool_conf_info.cc
- new_tool_conf_info.h
- Edit <category>/Makefile.am and add a new_tool entry to the SUBDIRS list
SUBDIRS = <existing tool> \
...
<existing_tool> \
new_tool
- In met/data/config, one file should be created:
- NewToolConfig_default
-
Edit met/data/config/Makefile.am and add a NewToolConfig_default entry to the config_DATA list
-
Edit met/configure.ac and add the entry
src/tools/<category>/new_tool/Makefile
to the AC_CONFIG_FILES() argument list