INCLUDE

Specifies the path to search for the C/C++ header files on Windows when using C API in Lycia.

Syntax

INCLUDE=<path to folder>

Usage and examples

With Lycia's C API, you can use the #include directive in the ordinary way - to tell the C/C++ preprocessor to treat the contents of the specified file as if they appear in the program at the point where the directive appears.

In this case you must set the INCLUDE environment variable and add the paths to search for the necessary C/C++ header files:

INCLUDE=C:\Program Files\Querix\Lycia\my_c_files

INCLUDE=$LYCIA_DIR\my_c_files;$INCLUDE

INCLUDE applies at compilation and can be set (if necessary) in env.properties.

If you use the qxcc command to compile the C/C++ source files, you must set INCLUDE in the command line environment as well (in environ.bat).

On Linux, you set the CPATH, C_INCLUDE_PATH, and CPLUS_INCLUDE_PATH environment variables.

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.