FindXalanC¶
Added in version 3.5.
Finds the Apache Xalan-C++ XSL transform processor headers and libraries:
find_package(XalaxC [<version>] [...])
Note
The Xalan-C++ library depends on the Xerces-C++
library, which must be found for this module to succeed.
Imported Targets¶
This module provides the following Imported Targets:
XalanC::XalanCTarget encapsulating the Xalan-C++ library usage requirements, available only if Xalan-C++ is found.
Result Variables¶
This module defines the following variables:
XalanC_FOUNDBoolean indicating whether (the requested version of) Xalan-C++ was found.
XalanC_VERSIONThe version of the found Xalan-C++ library.
XalanC_INCLUDE_DIRSInclude directories needed for using Xalan-C++ library. These contain the Xalan-C++ and Xerces-C++ headers.
XalanC_LIBRARIESLibraries needed to link against Xalan-C++. These contain the Xalan-C++ and Xerces-C++ libraries.
XalanC_LIBRARYThe path to the Xalan-C++ library (
xalan-c), either release or debug variant.
Cache Variables¶
The following cache variables may also be set:
XalanC_INCLUDE_DIRThe directory containing the Xalan-C++ headers.
XalanC_LIBRARY_RELEASEThe path to a release (optimized) variant of the Xalan-C++ library.
XalanC_LIBRARY_DEBUGThe path to a debug variant of the Xalan-C++ library.
Examples¶
Finding Xalan-C++ library and linking it to a project target:
find_package(XalanC)
target_link_libraries(project_target PRIVATE XalanC::XalanC)