This class represents a path to a file, like a library or an executable.
The main entry point of this script.
This mixin template contains shared logic to generate the actual configuration.
Default configuration and paths.
This struct contains the logic for generating the configuration for dynamic linking.
This struct contains the name and filename of a library.
The options of the application.
This struct contains the logic for generating the configuration for static linking.
This file implements a configuration script that will setup the correct flags to link with libclang.
The script will try to automatically detect the location of libclang by searching through a number of preset library search paths for different platforms.
If the script fails to find libclang or fails to find the correct version, this script provides a flag,--llvm-config, which can be used by manually executing this script (./configure) and specifying the path to the LLVM configuration binary, llvm-config. The LLVM configuration binary will then be used to find the location of libclang.
The result of invoking this configuration script is a file, linker_flags.txt, which will be created. This file contains the necessary linker flags which will be read by the linker when building DStep.
This script is only intended to be used on the Posix platforms.