-
Notifications
You must be signed in to change notification settings - Fork 3
Using PHP scripts for generating implementations
Keisuke Inoue edited this page Aug 31, 2017
·
3 revisions
This page describes how to use the following scripts:
- make_iriclib_singlefuncs.php
- make_iriclib_singlefuncs_header.php
- make_iric_ftoc.php
These files are used to generate source code of headers or sources of iriclib.
Please run these scripts after implementing cg_iRIC_xxxx_Mul() functions, in this order.
Run make_iriclib_singlefuncs.php
, and paste the output to iriclib_single.c
, to setup "single version" function implementations easily.
Run make_iriclib_singlefuncs_header.php
, and paste the output to iriclib.h
, to setup "single version" function definitions easily.
Run make_iric_ftoc.php
, and paste the output to iric_ftoc.c
, to setup FORTRAN interfaces easily.
Please not that the output of make_iric_ftoc.php
is not "perfect", so you have to keep the implementation of
the following functions, that are implemented manually.
- iric_check_cancel_f
- cg_iric_read_bc_indices_mul_f
- iric_geo_riversurvey_read_name_f
- cg_iric_read_bc_indices_f