Initialization
Like any library, IXM has to do some level of bookkeeping to ensure that it is able to execute correctly. For this reason, there is an initialization step that more or less runs on every CMake execution. While the steps listed below may seem like a lot, the overhead of using IXM on every CMake configuration step is kept to a minimum.
IXM's initialization performs the following steps:
- Set internal cache variables
- Set global cache variables
- Set default values for CMake policies
- Define internal properties
- Set internal properties
- Check execution environment for ANSI Terminal Hyperlink support.
- Check execution environment for Unicode character support.
- Include source files containing IXM's required functions.
- Setup a
DEFER
call tocmake_file_api
forCMAKE_SOURCE_DIR
so that the CMake File API is generated before CMake exits execution. - Prepend the IXM module directory to
CMAKE_MODULE_PATH
.