Lines Matching refs:expat
42 # add_subdirectory(${expat_SOURCE_DIR}/expat ${expat_BINARY_DIR})
65 project(expat project
72 set(PACKAGE_BUGREPORT "expat-bugs@libexpat.org")
73 set(PACKAGE_NAME "expat")
113 option(EXPAT_BUILD_TOOLS "build the xmlwf tool for expat library" ${_EXPAT_BUILD_TOOLS_DEFAULT})
114 option(EXPAT_BUILD_EXAMPLES "build the examples for expat library" ON)
115 option(EXPAT_BUILD_TESTS "build the tests for expat library" ON)
116 option(EXPAT_SHARED_LIBS "build a shared expat library" ${_EXPAT_SHARED_LIBS_DEFAULT})
118 option(EXPAT_BUILD_FUZZERS "build fuzzers for the expat library" OFF)
120 option(EXPAT_OSSFUZZ_BUILD "build fuzzers via ossfuzz for the expat library" OFF)
124 option(EXPAT_ENABLE_INSTALL "install expat files in cmake install target" ON)
380 set(_EXPAT_OUTPUT_NAME expat)
384 add_library(expat ${_SHARED} ${expat_SRCS}) target
386 target_link_libraries(expat ${LIB_BSD})
394 set_property(TARGET expat PROPERTY OUTPUT_NAME "${_EXPAT_OUTPUT_NAME}")
396 set_property(TARGET expat PROPERTY VERSION ${LIBCURRENT_MINUS_AGE}.${LIBAGE}.${LIBREVISION})
397 set_property(TARGET expat PROPERTY SOVERSION ${LIBCURRENT_MINUS_AGE})
398 set_property(TARGET expat PROPERTY NO_SONAME ${NO_SONAME})
401 target_include_directories(expat
409 target_compile_definitions(expat PUBLIC -DXML_STATIC)
412 expat_install(TARGETS expat EXPORT expat
417 expat_install(FILES lib/expat.h lib/expat_external.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
438 configure_file(expat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/expat.pc @ONLY)
439 …expat_install(FILES ${CMAKE_CURRENT_BINARY_DIR}/expat.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgco…
455 target_link_libraries(xmlwf expat)
471 add_dependencies(expat xmlwf-manpage)
484 target_link_libraries(elements expat)
488 target_link_libraries(outline expat)
663 # CMake files for find_package(expat [..] CONFIG [..])
666 cmake/expat-config.cmake.in
667 cmake/expat-config.cmake
669 ${CMAKE_INSTALL_LIBDIR}/cmake/expat-${PROJECT_VERSION}/
672 cmake/expat-config-version.cmake
677 expat
679 cmake/expat-targets.cmake # not going to be installed
683 ${CMAKE_CURRENT_BINARY_DIR}/cmake/expat-config.cmake
684 ${CMAKE_CURRENT_BINARY_DIR}/cmake/expat-config-version.cmake
686 ${CMAKE_INSTALL_LIBDIR}/cmake/expat-${PROJECT_VERSION}/
690 expat
692 ${CMAKE_INSTALL_LIBDIR}/cmake/expat-${PROJECT_VERSION}/
694 expat::