aboutsummaryrefslogtreecommitdiff
path: root/modules/MacroLibrary.cmake
AgeCommit message (Collapse)Author
2008-12-14-rename the new kde4_write_basic_cmake_version_file() to ↵Alexander Neundorf
macro_write_basic_cmake_version_file(), since it is completely KDE-independent and can potentially be used in any other project remove the old macro, add the new renamed one, add it to the macro library, adjust kdepimlibs/CMakeLists.txt accordingly Alex svn path=/trunk/KDE/kdelibs/; revision=896999
2007-12-16new macro MACRO_APPEND_IF(var condition value1..valuen)Alexander Neundorf
can be used to simplify code: macro_append_if(mySrcs SOMELIB_FOUND file1.cpp file2.cpp) instead of if(SOMELIB_FOUND) set(mySrcs file1.cpp file2.cpp) endif(SOMELIB_FOUND) Alex svn path=/trunk/KDE/kdelibs/; revision=749077
2007-01-20Added new macro MACRO_OPTIONAL_ADD_SUBDIRECTORY(dir), which might be useful ↵Alexander Neundorf
e.g. for extragear. If you use this instead of the normal ADD_SUBDIRECTORY(), it adds for every directory an option so you can skip this directory, and it doesn't complain if the directory doesn't exist. E.g. if you want to compile just one project from the extragear or kdesupport you can turn the other dirs off if you use this macro instead of the normal ADD_SUBDIRECTORY() Alex CCMAIL: kde-core-devel@kde.org CCMAIL: kde-buildsystem@kde.org svn path=/trunk/KDE/kdelibs/; revision=625574
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-08-20new macros macro_add_{compile,link}_flags(target "flags ...")Oswald Buddenhagen
svn path=/trunk/KDE/kdelibs/; revision=574886
2006-07-02-remove the old makefile.am contents from the cmake files in kdelibsAlexander Neundorf
-add MacroLogFeature.cmake to the MacroLibrary Alex svn path=/trunk/KDE/kdelibs/; revision=557030 The following changes were in SVN, but were removed from git: M pics/CMakeLists.txt M pics/crystalsvg/CMakeLists.txt M pics/emoticons/CMakeLists.txt M pics/hicolor/CMakeLists.txt
2006-06-18-macro_push_required_vars() and macro_pop_required_vars() for guarding ↵Alexander Neundorf
cmake's check_something_exists() macros Alex svn path=/trunk/KDE/kdelibs/; revision=552675
2006-06-05remove MacroGetenvWinPath.cmake, this is not required anymore since cmake 2.4.1Alexander Neundorf
Alex svn path=/trunk/KDE/kdelibs/; revision=548477
2006-05-01-add a macro to convert the value of cmake variables to 0 or 1 for use in ↵Alexander Neundorf
config.h.cmake Alex svn path=/trunk/KDE/kdelibs/; revision=536102
2006-04-08-add GENERIC_LIB_VERSION and GENERIC_LIB_SOVERSION in KDE4Defaults.cmake, so ↵Alexander Neundorf
we can easily adjust the version number of our libs for each release Alex svn path=/trunk/KDE/kdelibs/; revision=527474
2006-03-20minor cleanups: indenting, adding newline to end of file, etc.Allen Winter
svn path=/trunk/KDE/kdelibs/; revision=520790
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-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-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-04-renamed optional_find_package() to macro_optional_find_package(), to make ↵Alexander Neundorf
it clear it is a macro and not a builtin command -kjsembed compiles -CheckCXXSourceCompiles now support multiple include paths -compile fix in kjsembed/value_binding.cpp: prefer the local global.h, otherwise it might end up with the global.h from kio/kio/, depending on the order of include directories -use the new "-o" switch for dcopidl -add a (temporary) workaround for David's uic problem Alex svn path=/trunk/KDE/kdelibs/; revision=505580 The following changes were in SVN, but were removed from git: M pics/CMakeLists.txt