Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 73 lines (50 sloc) 1.844 kB
cb25241 @kelvie Fix the linking -lgeneral problem with LINK_LIBRARIES
authored
1 cmake_minimum_required(VERSION 2.4)
4d5f5ab @kelvie Ran am2cmake.
authored
2
3 find_package(KDE4 REQUIRED)
4cb57ce @kelvie Note: Ported the KPixmapEffect call
authored
4 find_package(QImageBlitz REQUIRED)
105a484 @kelvie Correctly find GPGME using CMake.
authored
5 find_package(Gpgme)
4d5f5ab @kelvie Ran am2cmake.
authored
6
7 add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
8
3e9dc91 @kelvie Change the CMakeLists file to not compile with the deprecated warnings.
authored
9 add_definitions(-DQT3_SUPPORT)
10
11 # fix these warnings after we get it to compile
12 #add_definitions(-DQT3_SUPPORT_WARNINGS)
cb18b52 @kelvie Ran remove-qt3-support.pl
authored
13
4d5f5ab @kelvie Ran am2cmake.
authored
14 include(KDE4Defaults)
15
16 include(MacroLibrary)
17
18 include(ConvenienceLibs.cmake)
19
de4b9cf @kelvie Fixed CMakeLists generated by am2cmake
authored
20 #include(ManualStuff.cmake)
4d5f5ab @kelvie Ran am2cmake.
authored
21
105a484 @kelvie Correctly find GPGME using CMake.
authored
22 IF(GPGME_FOUND)
de4b9cf @kelvie Fixed CMakeLists generated by am2cmake
authored
23 SET(HAVE_LIBGPGME 1)
24 ADD_DEFINITIONS(-D_FILE_OFFSET_BITS=64)
105a484 @kelvie Correctly find GPGME using CMake.
authored
25 ELSE(GPGME_FOUND)
de4b9cf @kelvie Fixed CMakeLists generated by am2cmake
authored
26 MESSAGE("GPG not found, configuring without")
105a484 @kelvie Correctly find GPGME using CMake.
authored
27 ENDIF(GPGME_FOUND)
de4b9cf @kelvie Fixed CMakeLists generated by am2cmake
authored
28
29 #TODO: find meinproc
30
31 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
32 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
33
34
35 #include(ConfigureChecks.cmake)
4d5f5ab @kelvie Ran am2cmake.
authored
36
37 include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
38
5702a67 @kelvie Disable the building of the docs.
authored
39 #add_subdirectory(doc)
de4b9cf @kelvie Fixed CMakeLists generated by am2cmake
authored
40 add_subdirectory(src)
41
4d5f5ab @kelvie Ran am2cmake.
authored
42 message(STATUS "${CMAKE_CURRENT_SOURCE_DIR}: skipped subdir $(TOPSUBDIRS)")
43
44 ########### install files ###############
45
46
47
48
49 #original Makefile.am contents follow:
50
51 #SUBDIRS = $(TOPSUBDIRS)
52 #
53 #$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
54 # cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
55 #
56 #$(top_srcdir)/subdirs:
57 # cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
58 #
59 #$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
60 # @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
61 #
62 #MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
63 #
64 #package-messages:
65 # $(MAKE) -f admin/Makefile.common package-messages
66 # $(MAKE) -C po merge
67 #
68 #EXTRA_DIST = admin COPYING configure.in.in
69 #
70 #dist-hook:
71 # cd $(top_distdir) && perl admin/am_edit -padmin
72 # cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
Something went wrong with that request. Please try again.