search for: clang_have_libxml

Displaying 3 results from an estimated 3 matches for "clang_have_libxml".

2013 Sep 03
4
[LLVMdev] Adding a library to CMake deps
...t on the build.ninja file under the "build bin/c-index-test"'s LINK_LIBRARIES (which is the only one that cares about it). I couldn't find the place to add -llzma into the deps, and the only mention of libxml2 is in config-ix.cmake: find_package(LibXml2) if (LIBXML2_FOUND) set(CLANG_HAVE_LIBXML 1) endif () Which I could do the same with lzma? Any ideas on what the problem is, and possibly how to fix it? thanks, --renato PS: The work around is to edit the build.ninja file manually after CMake runs, but that's sub-optimal. -------------- next part -------------- An HTML attachment wa...
2013 Sep 03
0
[LLVMdev] Adding a library to CMake deps
...uot;build bin/c-index-test"'s LINK_LIBRARIES > (which is the only one that cares about it). > > I couldn't find the place to add -llzma into the deps, and the only > mention of libxml2 is in config-ix.cmake: > > find_package(LibXml2) > if (LIBXML2_FOUND) > set(CLANG_HAVE_LIBXML 1) > endif () > > Which I could do the same with lzma? Any ideas on what the problem is, > and possibly how to fix it? libxml2 comes with a 'xml2-config' shell script to get the right compilation / linking flags for the platform libxml2 was built on. Is '|xml2-config --lib...
2013 Sep 03
0
[LLVMdev] Adding a library to CMake deps
...uot;build bin/c-index-test"'s LINK_LIBRARIES (which > is the only one that cares about it). > > I couldn't find the place to add -llzma into the deps, and the only mention > of libxml2 is in config-ix.cmake: > > find_package(LibXml2) > if (LIBXML2_FOUND) > set(CLANG_HAVE_LIBXML 1) > endif () > > Which I could do the same with lzma? Any ideas on what the problem is, and > possibly how to fix it? A quick and dirty fix is to change this on clang/tools/c-index-test/CMakeLists.txt: target_link_libraries(c-index-test ${LIBXML2_LIBRARIES} lzma) That affects that...