file_path - File path
The file path can be defined as absolute or relative path. Absolute paths start with / (Unix platform) or a drive letter (windows platforms). Relative paths begin with a folder name.
The file path specification may contain option variables. To write in a project depending path the object variables PRJ_ROOT , PRJ_PATH and all project directory option variables ( PRJ_BATCH , PRJ_SOURCE ...) can be used.
To avoid writing (exporting) a file the option no_export has to be set to true .
EXAMPLE1: file_path=%PRJ_INCLUDE%
file_name=myfile
file_ext=h
absolute=false
-->
Read/Write the file via import/export:
io_path=c:\odaba\Sample\SampleBase\SampleCtxi\include\myfile.h (Windows)
io_path=/odaba/Sample/SampleBase/SampleCtxi/include/myfile.h (Unix)
Reference the file within a c++ source or header file:
#include <SampleBase/SampleCtxi/include/myfile.h>
EXAMPLE2: file_path=%PRJ_ROOT%%PRJ_INCLUDE%
file_name=myfile
file_ext=h
absolute=true
-->
io_path=c:\odaba\Sample\include\myfile.h (Windows)
io_path=/odaba/Sample/include/myfile.h (Unix)
Reference the file within a c++ source or header file:
#include "c:/odaba/Sample/include/myfile.h" (Windows)
#include "/odaba/Sample/include/myfile.h" (Unix)
EXAMPLE3: file_path=""
file_name=map
file_ext=""
absolute=true
-->
Because this is a system include writing the file ahould be sepressed by setting the option no_exptert=true.
io_path=map
Reference the file within a c++ source or header file:
#include <map>