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