aboutsummaryrefslogtreecommitdiff
path: root/modules/FindLibXml2.cmake
AgeCommit message (Collapse)Author
2011-06-30Move the modules, modules-test and systeminfo subdirs into 'attic'Allen Winter
2009-03-11Suppress 'not found' messages from pkgconfig when the module subsequentlyDavid Jarvie
attempts to locate the package by other means. svn path=/trunk/KDE/kdelibs/; revision=938476
2008-12-22-use uppercase consistently in this fileAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=900082
2008-12-22this is not necessary anymore when using find_package_handle_standard_args()Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=900080
2008-12-22-delete FindPNG.cmake and FindTIFF.cmake, they are synced with the ones from ↵Alexander Neundorf
cmake 2.6.2 -use the find_package_handle_standards_args() macro in FindLibXml2.cmake Alex svn path=/trunk/KDE/kdelibs/; revision=900078
2008-12-02-rework all uses of find_package(PkgConfig)/pkg_check_modules():Alexander Neundorf
the prefix used for pkgconfig config (e.g. SQLITE) now *always* gets an additional "PC_" prefix, so the prefix used for pkgconfig is now "PC_SQLITE_". This avoids name clashes between variables defined by the pkgconfig macro and the find module and unwanted effects. *Never* use the _CFLAGS coming from pkgconfig, but always CFLAGS_OTHER, since these shouldn't contain the include directories. If the include directories would be in the DEFINITIONS variable this could clash with the results of find_path() for finding include dirs. *Always* use both foo_INCLUDEDIR, foo_INCLUDE_DIRS for searching the include dir, and also both foo_LIBDIR and foo_LIBRARY_DIRS for searching the libraries. These directories coming from pkgconfig are *never* used exclusively, but *always* additionally to the standard search dirs, either before them (then using the "HINTS" keyword) or after them (then using the "PATHS" keyword) I hope I didn't break (too much) stuff. At least on my system it all seems to work the same way as it did before, with and without pkgconfig. Alex svn path=/trunk/KDE/kdelibs/; revision=891805
2008-11-18-use the prefix PC_ for the variables coming from pkgconfig Alexander Neundorf
(these three modules were working correctly, this is just to establish a convention how to deal with this) Alex svn path=/trunk/KDE/kdelibs/; revision=886256
2008-11-11Port them tooLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=882802
2008-07-20-rename XMLLINT_EXECUTABLE to LIBXML2_XMLLINT_EXECUTABLE so it follows the ↵Alexander Neundorf
styleguide for cmake modules and is properly prefixed -document LIBXML2_XMLLINT_EXECUTABLE -keep XMLLINT_EXECUTABLE for backwards compat. with KDE 4.0.x -consistent casing -adapt config-kdoctools.h.cmake to LIBXML2_XMLLINT_EXECUTABLE Alex svn path=/trunk/KDE/kdelibs/; revision=835259
2007-12-17-mark more variables as advancedAlexander Neundorf
-some cosmetics (indentation etc.) Alex svn path=/trunk/KDE/kdelibs/; revision=749753
2007-01-29Fix typoLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=628370
2007-01-29Search xmllint program (need to check doc generated file)Laurent Montel
svn path=/trunk/KDE/kdelibs/; revision=628365
2007-01-28-revert commit from Laurent, we have to discuss requiring cmake 2.4.5 (or ↵Alexander Neundorf
2.4.6) first before requiting it Alex CCMAIL: montel@kde.org svn path=/trunk/KDE/kdelibs/; revision=628019
2007-01-27Remove module which are now into cmake-2.4.5Laurent Montel
FindLibXslt.cmake can be remove there is different from cmake file (test xsltproc) and FindOpenSSL.cmake (I must look at difference) svn path=/trunk/KDE/kdelibs/; revision=627623
2006-12-13I don't need the copyright twice ;-)Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=613313
2006-09-19prepare for merging to cmakeAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=586500
2006-09-09added copyright notice everywhere.Alexander Neundorf
Now they all are BSD-licensed, as copyright holder I inserted everywhere the one who added it to svn (or Kitware if it is an enhanced copy from taken cmake) Some developers committed quite often but were not the ones who added the file, if you feel you have also copyright on the file add your name in the specific file. Copyright holders: CCMAIL: montel@kde.org CCMAIL: toscano.pino@tiscali.it CCMAIL: adymo@kdevelop.org CCMAIL: ranger@befunk.com CCMAIL: zack@kde.org CCMAIL: caslav.ilic@gmx.net CCMAIL: syntheticpp@yahoo.com CCMAIL: js@iidea.pl CCMAIL: michael.larouche@kdemail.net CCMAIL: ossi@kde.org CCMAIL: faure@kde.org Committers, but no files added so that they are not listed as copyright holders: CCMAIL: ch.ehrlicher@gmx.de CCMAIL: winter@kde.org CCMAIL: ralf.habacker@freenet.de CCMAIL: moura@kdewebdev.org CCMAIL: kde-buildsystem@kde.org Alex svn path=/trunk/KDE/kdelibs/; revision=582410
2006-09-04Add a short version of the BSD copyright notice.Alexander Neundorf
Is it ok that way ? I just reference licenses/BSD without further explanation where to find the licenses/ subdirectory. This is legal stuff, so I could need some good advice from somebody who knows this better than me. The BSD license in kdelibs/licenses/BSD also doesn't contain the no-endorsement clause: # The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. Is there a special reason why it doesn't ? If I would like to have this clause too, do I need to add another license file to licenses/ or should I simply put it in the same directory as the cmake scripts ? Then one could simply state: # This code is available under the BSD license, see the accompanying cmake-script-licensing. So, what's the correct and best way to deal with this ? Alex CCMAIL: kde-core-devel@kde.org svn path=/trunk/KDE/kdelibs/; revision=580959
2006-05-11Remove my CACHED_ hacks which break when people install libxml2 after seeing ↵David Faure
the error message about it - only use the cache when the check was previously successful, as discussed. svn path=/trunk/KDE/kdelibs/; revision=539759
2006-04-18More use of the cache; fixing previous commit to not recheck everytime when ↵David Faure
something isn't available (e.g. agg for me). svn path=/trunk/KDE/kdelibs/; revision=531000
2006-04-14Actually use the cache whenever possible. Should speed up the re-configuring ↵David Faure
that happens so often. svn path=/trunk/KDE/kdelibs/; revision=529759
2006-04-08optimized gnuwin32 detection on windowsRalf Habacker
- find gnuwin32 package location very early - removed GNUWIN32_INCLUDE_DIR/GNUWIN32_LIBRARY_DIR macros, because FindGNUWIN32.cmake sets now CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH - don't use pkgconfig on windows svn path=/trunk/KDE/kdelibs/; revision=527634
2006-04-08limit gnuwin32 package to windowsRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=527490
2006-03-21-change FindLibXml2.cmake to the new enhanced cmake style by using PATH_SUFFIXESAlexander Neundorf
for linux/bsd/OS X developers this shouldn't change anything ...but for the windows developers it should ! So: for the stuff which comes from gnuwin32: set the environment variable CMAKE_LIBRARY_PATH to the directory where the gnuwin32 libs are located and set CMAKE_INCLUDE_PATH to the directory where the gnuwin32 headers are installed to. Please let me know whether this works for. So, don't set CMAKE_INCLUDE_PATH to the directory which contains libxml/xpath.h, but to the one which contains libxml2/libxml/xpath.h This should make writing the FindSomething.cmake modules much easier. CCMAIL: kde-buildsystem@kde.org CCMAIL: Ch.Ehrlicher@gmx.de CCMAIL: ralf.habacker@freenet.de CCMAIL: syntheticpp@gmx.net Alex svn path=/trunk/KDE/kdelibs/; revision=521183
2006-03-20minor cleanups: indenting, adding newline to end of file, etc.Allen Winter
svn path=/trunk/KDE/kdelibs/; revision=520790
2006-02-15Hmm, "NOT" can't be lowercased. I tested before lowercasing that last one, ↵David Faure
of course... svn path=/trunk/KDE/kdelibs/; revision=509625
2006-02-15Lowercase some common keywords to improve readabilityDavid Faure
svn path=/trunk/KDE/kdelibs/; revision=509624
2006-02-12-moved the cmake code to find kdewin32 out of FindKDE4.cmake and into its ↵Alexander Neundorf
own FindKDEWIN32.cmake file -added a new FindGNUWIN32.cmake file, which tries to find the gnuwin32 base directory -changed all "FOO_LIBRARY" variable names to "FOO_LIBRARIES" to be more consistent with the other cmake modules -added a macro_getenv_win_path() which replaces all backslahes with slashes from environment variables -modified the kde4_add_kcfg_files() command, so that the generated header is also processed by moc -all tests compile and link Alex CCMAIL:kde-buildsystem@kde.org The changes to the windows stuff are untested, since I don't have a windows box. Please check that everything still works. Please have a look at FindGNUWIN32.cmake, there are probably ways to improve this. The resulting GNUWIN32_DIR variable is used in other cmake modules as default path to search for headers and libraries. svn path=/trunk/KDE/kdelibs/; revision=508648
2006-02-11workaround for detecting libxml2 on windows when using a path list in ↵Ralf Habacker
CMAKE_INCLUDE_PATH svn path=/trunk/KDE/kdelibs/; revision=508470
2006-02-11-changed kde4_create_libtool_file (target dir_relative_to_libdir) Alexander Neundorf
to kde4_install_libtool_file(dir_relative_to_install_prefix target) -added variable KDE4_PLUGIN_INSTALL_DIR, used usually for installing plugins -changed am2cmake accordingly -edited FindLibXml2.cmake and FindLibArt so that they work correctly with CMAKE_INSTALL_PATH -changed generated_findpackage_file accordingly -some minor formatting changes Alex CCMAIL: montel@kde.org svn path=/trunk/KDE/kdelibs/; revision=508458
2006-02-10added CMAKE_INCLUDE_PATH related path check for include filesRalf Habacker
svn path=/trunk/KDE/kdelibs/; revision=507831
2006-02-08add some libnamesChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=507241
2006-01-23-fix Foo_FIND_REQUIRED and Foo_FIND_QUIETYL handling:Alexander Neundorf
Alex svn path=/trunk/KDE/kdesdk/cmake/; revision=501687
2006-01-22-generate_findpackage_file: a script to simplify generating simple ↵Alexander Neundorf
FindFoo.cmake files -FindLibXml2.cmake and FindLibXslt.cmake: modules to find libxml2 and libxslt, generated by the script above -some tuning in the other modules Alex svn path=/trunk/KDE/kdesdk/cmake/; revision=501125