aboutsummaryrefslogtreecommitdiff
path: root/modules/FindKDE4.cmake
AgeCommit message (Collapse)Author
2006-02-13Define plugin dir as subdir of lib dirLaurent Montel
But for me it was better to define a variable to define just sub dir for plugins => kde4 and not all directory lib/kde4 svn path=/trunk/KDE/kdelibs/; revision=509024
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-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-11now cmake 2.3.3 is required, if you have an older version, you get a warningAlexander Neundorf
KDE cmake files are now workaround-free (if I didn't forget any): -use GET_FILENAME_COMPONENT(... ABSOLUTE) instead of QT4_GET_ABS_PATH() -use the new EXECUTE_PROCESS() instead of EXEC_PROGRAM() which discards stderr output -use check_symbol_exists() instead of check_function_exists() since this works better (mainly various windows issues) -use the new WORKING_DIRECTORY argument for ADD_CUSTOM_COMMAND() instead of cmake -E chdir ... Alex svn path=/trunk/KDE/kdelibs/; revision=508407
2006-02-10search for kdewin32 in the default install directory for applications ↵Peter Kümmel
(default of (n)make install) see also http://kennethhunt.com/archives/000933.html for variables on windows svn path=/trunk/KDE/kdelibs/; revision=508152
2006-02-10add shell32.lib and user32.lib on windowsChristian Ehrlicher
svn path=/trunk/KDE/kdelibs/; revision=508059
2006-02-09fixes for msysAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=507636
2006-02-09-move find_package(pcre) back to kdelibs/CMakeLists.txt, otherwise ↵Alexander Neundorf
HAVE_PCREPOSIX doesn't get set -use qPrintable() in kded/kbuildsycoca.cpp patches by Brad King: -fix stat.h for mingw -fix typo in FindQt4.cmake -only depend on dcopidl2ccp and kconfig_compiler when compiling kdelibs Alex svn path=/trunk/KDE/kdelibs/; revision=507620
2006-02-08-remove macro_append_directory_properties() and add ↵Alexander Neundorf
macro_additional_clean_files() -remove macro_append_source_files_properties() and add macro_add_file_dependencies() -build kICE as a static library and link to it, instead of including the sources multiple times -remove the -kdemain=main from dcop/, hope this didn't break things on windows some patches from Brad King: -rename the target dcop (the executable) to dcop_executable, otherwise MS Visual Studio complains about multiple targets with the same name , the name of the created executable stays "dcop" -add the dependency of all dcop stubs and skels to dcopidl2cpp, to make sure it is compiled before this rule is executed Alex svn path=/trunk/KDE/kdelibs/; revision=507257
2006-02-07adding KDEWIN32_INCLUDE_DIR to CMAKE_INCLUDE_PATH is pointless...Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=506939
2006-02-07two new macros: macro_append_directory_properties() and ↵Alexander Neundorf
macro_append_source_files_properties() don't use CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH in FindKDE4.cmake clean more files Alex svn path=/trunk/KDE/kdelibs/; revision=506927
2006-02-07-add -DMAKE_KDEWIN32_LIB to the build in kdelibs/win/Alexander Neundorf
-convert KDECORE_EXPORT in include/mingw to KDEWIN32_EXPORT, is this correct ? -use CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH in FindKDE4.cmake Alex CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=506879
2006-02-07-move the find_package(PCRE) from kdelibs/CMakeLists.txt to ↵Alexander Neundorf
kdelibs/kjs/CMakeLists.txt -add a check for regex.h in kjs/CMakeLists.txt and error out if neither PCRE nor regex.h have been found build kdelibs/win independent from the rest of kdelibs/ this means 1) run cmake on kdelibs/win/ 2) make kdelibs/win 3) install kdelibs/win 4) run cmake in kdelibs/ -> point it to the place where kdewin32 has been installed to 5) make kdelibs/ 6) make install Peter, can you please check that kdelibs/win/ builds and also installs this way ? It might still be possible that somewhere stuff from kdelibs/ is included directly. Also eventually $ENV{MSSDK}/include might have to be added in kdelibs/win/ ConfigureChecksWin.cmake is not used anymore, we can remove it if it works this way. Please check also that kdelibs/ configures correctly again. It is required that the include dir of kdewin32 is set. If all the HAVE_FOO_PROTO checks still fail, please post the error messages from CMakeError.log Alex CCMAIL: kde-buildsystem@kde.org CCMAIL: syntheticpp@gmx.net CCMAIL: bill.hoffman@kitware.com svn path=/trunk/KDE/kdelibs/; revision=506872
2006-02-07undo /lib=/bin for win32, todo copy Dlls to /binPeter Kümmel
svn path=/trunk/KDE/kdelibs/; revision=506651
2006-02-06unbreak compilation with cmake :-/Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=506418
2006-02-06-if (WIN32): create the libraries in the same directory as the executables, ↵Alexander Neundorf
so the linker will find them automatically Alex svn path=/trunk/KDE/kdelibs/; revision=506382
2006-02-05remove wrong macroPeter Kümmel
svn path=/trunk/KDE/kdelibs/; revision=506148
2006-02-05give msvc all it needsPeter Kümmel
svn path=/trunk/KDE/kdelibs/; revision=506141
2006-02-05remove forgotten linePeter Kümmel
svn path=/trunk/KDE/kdelibs/; revision=505832
2006-02-05remove forgotten linePeter Kümmel
svn path=/trunk/KDE/kdelibs/; revision=505831
2006-02-04more fixes for windows from Peter KuemmelAlexander Neundorf
two functional changes: kdemacros.h: -# elif defined(_MSC_VER) && (_MSC_VER >= 1300) +# elif defined(_MSC_VER) && (_MSC_VER >= 1300) && (_MSC_VER < 1400) dcopidl.bat: since yesterday the unix dcopidl supports the -o <outputfile> parameter to specify the outputfile this change is to make dcopidl.bat compatible with this behaviour, so now both can be called with the same command line: dcopidl --srcdir <somedir> -o ksycoca.kidl ksycoca.h I think it might be a good idea to use the same call scheme also in the other buildsystems Alex CCMAIL: Ch.Ehrlicher@gmx.de CCMAIL: kuemmel@coffeelogic.de CCMAIL: ralf.habacker@freenet.de svn path=/trunk/KDE/kdelibs/; revision=505607
2006-02-03more fixes for windows... Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=505471
2006-02-03for now the kdeinit stuff is also required on windows, make compiling easier ↵Alexander Neundorf
for now fix typo in mingw section Alex svn path=/trunk/KDE/kdelibs/; revision=505460
2006-02-03-major overhaul of the windows stuff: kdelibs/win/ is now built as a regular ↵Alexander Neundorf
part of the build process -an improved version of CheckIncludeFiles.cmake has been added, which takes additional include directories as argument -the check for the KDE4_LIB_DIR was wrong, it returned libkxmlcore.so instead of the directory -fix the header install commands for the win/include/ stuff Alex svn path=/trunk/KDE/kdelibs/; revision=505455
2006-02-03Add specific directory for kconf_updateLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=505157
2006-02-03Fix install into servicetypes directoryLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=505117
2006-02-02Add "KDE4_LIB_INSTALL_DIR" as discussed with alexander toLaurent Montel
fix install lib on x86_64 svn path=/trunk/KDE/kdelibs/; revision=504772
2006-02-01fix kdewin32 detectionAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=504706
2006-02-01fix typo, thanks to peterAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=504698
2006-02-01-FindQt4.cmake now checks first for include/QtCore, and only optionally for ↵Alexander Neundorf
include/Qt/ -some tweaks for windows ... quite hard to do if you neither can test it nor know how it should work... Alex svn path=/trunk/KDE/kdelibs/; revision=504695
2006-02-01Fix to use KDE4_* and CACHE STRING to define what isLaurent Montel
the usefull of macro svn path=/trunk/KDE/kdelibs/; revision=504665
2006-02-01Now we can define pos of mandir/infodirLaurent Montel
svn path=/trunk/KDE/kdelibs/; revision=504656
2006-02-01Define "KDE4_SYSCONF_DIR" which is '/etc' by defaultLaurent Montel
but now we can redefine it svn path=/trunk/KDE/kdelibs/; revision=504653
2006-01-31-DLEAN_AND_MEAN for windowsAlexander Neundorf
-search for kdewin32 library on windows Alex svn path=/trunk/KDE/kdelibs/; revision=504372
2006-01-29prepare support for the windows portAlexander Neundorf
update the kde3 cmake files Alex svn path=/trunk/KDE/kdelibs/; revision=503684
2006-01-29mess with the path only or QtTestBenjamin Reed
svn path=/trunk/KDE/kdelibs/; revision=503588
2006-01-29dont use /opt/kde4 hardcoded as KDE4DIRAlexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=503508
2006-01-28work around some kjs stuff that assumes __APPLE__ == WEBKIT, also fix ↵Benjamin Reed
definitions for QT_AND_KDECORE_LIBS to get -L and -F svn path=/trunk/KDE/kdelibs/; revision=503366
2006-01-28-new module to find agg (I don't have it installed here, so I couldn't ↵Alexander Neundorf
really test it) -some cosmetic changes -FindQt4 should now also work if only the debug libraries are present, less LOC -preparation for windows developers Alex svn path=/trunk/KDE/kdelibs/; revision=503263
2006-01-27mac os x fixes for the cmake buildBenjamin Reed
svn path=/trunk/KDE/kdelibs/; revision=503025
2006-01-25add the stuff moved from kdesdk, maybe...Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=502383
2006-01-22it seems strtoll doesn't work opn FreeBSD with -ansiAlexander Neundorf
Alex svn path=/trunk/KDE/kdesdk/cmake/; revision=501434
2006-01-22-require Qt4 in FindKDE4.cmake, as suggested by Tanner LovelaceAlexander Neundorf
Alex svn path=/trunk/KDE/kdesdk/cmake/; revision=501422
2006-01-22-kde4 stuff moved to modules/ dirAlexander Neundorf
Alex svn path=/trunk/KDE/kdesdk/cmake/; revision=501378