Warning, /frameworks/kdelibs4support/cmake/modules/KDE4Defaults.cmake is written in an unsupported language. File is not indexed.
0001 0002 # Always include srcdir and builddir in include path 0003 # This saves typing ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} in about every subdir 0004 # since cmake 2.4.0 0005 set(CMAKE_INCLUDE_CURRENT_DIR ON) 0006 0007 # put the include dirs which are in the source or build tree 0008 # before all other include dirs, so the headers in the sources 0009 # are preferred over the already installed ones 0010 # since cmake 2.4.1 0011 set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON) 0012 0013 # define the generic version of the libraries here 0014 # this makes it easy to advance it when the next KDE release comes 0015 # Use this version number for libraries which are at version n in KDE version n 0016 set(GENERIC_LIB_VERSION "4.14.33") 0017 set(GENERIC_LIB_SOVERSION "4") 0018 0019 # Use this version number for libraries which are already at version n+1 in KDE version n 0020 set(KDE_NON_GENERIC_LIB_VERSION "5.14.33") 0021 set(KDE_NON_GENERIC_LIB_SOVERSION "5") 0022 0023 # windows does not support LD_LIBRARY_PATH or similar 0024 # all searchable directories has to be defined by the PATH environment var 0025 # to reduce the number of required pathes executables are placed into 0026 # the build bin dir 0027 if (WIN32) 0028 set (EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin) 0029 # set (LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin) 0030 if (MINGW) 0031 set (CMAKE_RC_COMPILER_INIT windres) 0032 enable_language (RC) 0033 set (CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -O coff -i <SOURCE> -o <OBJECT>") 0034 endif(MINGW) 0035 endif(WIN32)