kdelibs/cmake/modules/KDE4Defaults.cmake

28 lines
949 B
CMake
Raw Normal View History

2015-09-03 05:08:47 +03:00
# let cmake handle mocking and UI compiling
# since cmake 2.8.6
set(CMAKE_AUTOMOC ON)
2015-09-03 05:08:47 +03:00
# since cmake 3.0.0
set(CMAKE_AUTOUIC ON)
2015-09-03 05:08:47 +03:00
# Always include srcdir and builddir in include path, this saves typing
# ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} in about every subdir
2014-11-13 01:04:59 +02:00
# since cmake 2.4.0
set(CMAKE_INCLUDE_CURRENT_DIR ON)
2015-09-03 05:08:47 +03:00
# put the include dirs which are in the source or build tree before all other
# include dirs, so the headers in the sources are preferred over the already
# installed ones
2014-11-13 01:04:59 +02:00
# since cmake 2.4.1
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
2015-09-03 05:08:47 +03:00
# define the generic version of the libraries here, this makes it easy to
# advance it when the next KDE release comes. Use this version number for
# libraries
set(GENERIC_LIB_VERSION "4.19.0")
2014-11-13 01:04:59 +02:00
set(GENERIC_LIB_SOVERSION "4")
2015-09-03 05:08:47 +03:00
# Use this version number for libraries which are experimental
2015-02-01 07:51:16 +00:00
set(KDE_NON_GENERIC_LIB_VERSION "5.15.0")
2014-11-13 01:04:59 +02:00
set(KDE_NON_GENERIC_LIB_SOVERSION "5")