You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.1 KiB
54 lines
1.1 KiB
|
|
project(kreadconfig) |
|
|
|
|
|
|
|
########### next target ############### |
|
|
|
set(kreadconfig_SRCS kreadconfig.cpp ) |
|
|
|
kde4_automoc(${kreadconfig_SRCS}) |
|
|
|
kde4_add_executable(kreadconfig ${kreadconfig_SRCS}) |
|
|
|
target_link_libraries(kreadconfig ${KDE4_KDEUI_LIBS} ) |
|
|
|
install(TARGETS kreadconfig DESTINATION bin) |
|
|
|
|
|
########### next target ############### |
|
|
|
set(kwriteconfig_SRCS kwriteconfig.cpp ) |
|
|
|
kde4_automoc(${kwriteconfig_SRCS}) |
|
|
|
kde4_add_executable(kwriteconfig ${kwriteconfig_SRCS}) |
|
|
|
target_link_libraries(kwriteconfig ${KDE4_KDECORE_LIBS} ) |
|
|
|
install(TARGETS kwriteconfig DESTINATION bin) |
|
|
|
|
|
########### install files ############### |
|
|
|
|
|
|
|
|
|
|
|
#original Makefile.am contents follow: |
|
|
|
#AM_CPPFLAGS = -DQT_NO_CAST_ASCII |
|
# |
|
#INCLUDES = $(all_includes) |
|
#AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) |
|
#LDADD = $(LIB_KDECORE) |
|
#KDE_CXXFLAGS = -UQT3_SUPPORT |
|
# |
|
#bin_PROGRAMS = kreadconfig kwriteconfig |
|
#kreadconfig_SOURCES = kreadconfig.cpp |
|
#kwriteconfig_SOURCES = kwriteconfig.cpp |
|
# |
|
#### TODO: why do we need 2 POT files for one directory? |
|
#messages: |
|
# $(XGETTEXT) kreadconfig.cpp -o $(podir)/kreadconfig.pot |
|
# $(XGETTEXT) kwriteconfig.cpp -o $(podir)/kwriteconfig.pot
|
|
|