Signed-off-by: Slávek Banko <slavek.banko@axis.cz>pull/2/head
parent
d855f704e8
commit
a6454b1658
@ -0,0 +1,92 @@
|
||||
############################################
|
||||
# #
|
||||
# Improvements and feedbacks are welcome #
|
||||
# #
|
||||
# This file is released under GPL >= 3 #
|
||||
# #
|
||||
############################################
|
||||
|
||||
|
||||
cmake_minimum_required( VERSION 3.1 )
|
||||
|
||||
|
||||
#### general package setup
|
||||
|
||||
project( kmymoney2 )
|
||||
set( VERSION R14.1.0 )
|
||||
set( APP_VERSION 1.0.5 )
|
||||
|
||||
|
||||
#### include essential cmake modules
|
||||
|
||||
include( FindPkgConfig )
|
||||
include( CheckFunctionExists )
|
||||
include( CheckSymbolExists )
|
||||
include( CheckIncludeFile )
|
||||
include( CheckLibraryExists )
|
||||
include( CheckCSourceCompiles )
|
||||
include( CheckCXXSourceCompiles )
|
||||
|
||||
|
||||
#### include our cmake modules
|
||||
|
||||
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
|
||||
include( TDEMacros )
|
||||
include( kmm-macros.cmake )
|
||||
|
||||
|
||||
##### setup install paths
|
||||
|
||||
include( TDESetupPaths )
|
||||
tde_setup_paths( )
|
||||
|
||||
|
||||
##### optional stuff
|
||||
|
||||
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
|
||||
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
|
||||
option( WITH_LIBOFX "Enable support for OFX" ${WITH_ALL_OPTIONS} )
|
||||
|
||||
|
||||
##### user requested modules
|
||||
|
||||
option( BUILD_ALL "Build all" ON )
|
||||
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
|
||||
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
|
||||
option( BUILD_DESIGNER_PLUGIN "Build plugin for TQt Designer" ${BUILD_ALL} )
|
||||
option( BUILD_DEVELOPER_DOCS "Build developer documentation" ${BUILD_ALL} )
|
||||
option( BUILD_PDF_DOCS "Build PDF documentation" ${BUILD_ALL} )
|
||||
|
||||
|
||||
##### configure checks
|
||||
|
||||
enable_testing( )
|
||||
include( ConfigureChecks.cmake )
|
||||
|
||||
|
||||
###### global compiler settings
|
||||
|
||||
add_definitions( -DHAVE_CONFIG_H -UTQT_NO_ASCII_CAST -UTQT_NO_COMPAT -UTQT_NO_STL )
|
||||
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
|
||||
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
|
||||
|
||||
|
||||
##### directories
|
||||
|
||||
add_subdirectory( kmymoney2 )
|
||||
add_subdirectory( libkdchart )
|
||||
add_subdirectory( libkgpgfile )
|
||||
|
||||
|
||||
##### other data
|
||||
|
||||
tde_conditional_add_project_docs( BUILD_DOC )
|
||||
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
|
||||
tde_conditional_add_subdirectory( BUILD_DEVELOPER_DOCS developer-doc )
|
||||
|
||||
|
||||
##### write configure files
|
||||
|
||||
configure_file( config.h.cmake config.h @ONLY )
|
@ -0,0 +1,91 @@
|
||||
###########################################
|
||||
# #
|
||||
# Improvements and feedback are welcome #
|
||||
# #
|
||||
# This file is released under GPL >= 3 #
|
||||
# #
|
||||
###########################################
|
||||
|
||||
|
||||
# required stuff
|
||||
find_package( TQt )
|
||||
find_package( TDE )
|
||||
|
||||
tde_setup_architecture_flags( )
|
||||
|
||||
include(TestBigEndian)
|
||||
test_big_endian(WORDS_BIGENDIAN)
|
||||
|
||||
tde_setup_largefiles( )
|
||||
|
||||
|
||||
##### check for gcc visibility support
|
||||
|
||||
if( WITH_GCC_VISIBILITY )
|
||||
tde_setup_gcc_visibility( )
|
||||
endif( )
|
||||
|
||||
|
||||
##### look for libofx
|
||||
|
||||
if( WITH_LIBOFX )
|
||||
pkg_search_module( LIBOFX libofx )
|
||||
if( NOT LIBOFX_FOUND )
|
||||
tde_message_fatal( "libofx is requested, but was not found on your system" )
|
||||
else()
|
||||
set( HAVE_LIBOFX 1 )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
##### look for functions
|
||||
check_function_exists( atoll HAVE_ATOLL )
|
||||
check_function_exists( strtoll HAVE_STRTOLL )
|
||||
check_library_exists( m round "" HAVE_ROUND )
|
||||
|
||||
|
||||
##### check for CppUnit
|
||||
|
||||
find_library(CPPUNIT_LIBRARY NAMES cppunit)
|
||||
if( CPPUNIT_LIBRARY )
|
||||
set( HAVE_LIBCPPUNIT 1 )
|
||||
endif()
|
||||
|
||||
|
||||
##### check for tqt plugins dir
|
||||
|
||||
if( BUILD_DESIGNER_PLUGIN )
|
||||
execute_process(
|
||||
COMMAND ${PKG_CONFIG_EXECUTABLE}
|
||||
tqt-mt --variable=pluginsdir
|
||||
OUTPUT_VARIABLE TQT_PLUGINS_DIR
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
##### check for programs needed for developer documentation
|
||||
|
||||
if( BUILD_DEVELOPER_DOCS )
|
||||
find_program( ICONV_EXECUTABLE NAMES iconv )
|
||||
if( NOT ICONV_EXECUTABLE )
|
||||
tde_message_fatal( "iconv is required to generate developer documentation but not found on your system")
|
||||
endif()
|
||||
|
||||
find_program( SED_EXECUTABLE NAMES gsed sed )
|
||||
if( NOT SED_EXECUTABLE )
|
||||
tde_message_fatal( "sed is required to generate developer documentation but not found on your system")
|
||||
endif()
|
||||
|
||||
if( BUILD_PDF_DOCS )
|
||||
find_program( HTML2PS_EXECUTABLE NAMES html2ps )
|
||||
if( NOT HTML2PS_EXECUTABLE )
|
||||
tde_message_fatal( "html2ps is required to generate pdf for developer documentation but not found on your system")
|
||||
endif()
|
||||
|
||||
find_program( PS2PDF_EXECUTABLE NAMES ps2pdf )
|
||||
if( NOT PS2PDF_EXECUTABLE )
|
||||
tde_message_fatal( "ps2pdf is required to generate pdf for developer documentation but not found on your system")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
@ -0,0 +1,31 @@
|
||||
#define PACKAGE "@PROJECT_NAME@"
|
||||
#define VERSION "@APP_VERSION@"
|
||||
|
||||
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
|
||||
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
|
||||
|
||||
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
|
||||
significant byte first (like Motorola and SPARC, unlike Intel). */
|
||||
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
|
||||
|
||||
/* We use a build-in copy of the kdchart library. */
|
||||
#define HAVE_KDCHART 1
|
||||
#define HAVE_KDCHART_SETPROP 1
|
||||
|
||||
/* Defined if you have the libofx library. */
|
||||
#cmakedefine HAVE_LIBOFX 1
|
||||
|
||||
/* Defined if you have the cppunit library. */
|
||||
#cmakedefine HAVE_LIBCPPUNIT 1
|
||||
|
||||
/* Define to 1 if you have the `atoll' function. */
|
||||
#cmakedefine HAVE_ATOLL 1
|
||||
|
||||
/* Define to 1 if you have the `strtoll' function. */
|
||||
#cmakedefine HAVE_STRTOLL 1
|
||||
|
||||
/* Define to 1 if you have the `round' function in the 'm' library. */
|
||||
#cmakedefine HAVE_ROUND 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#cmakedefine HAVE_STDINT_H 1
|
@ -0,0 +1,2 @@
|
||||
|
||||
add_subdirectory( phb )
|
@ -0,0 +1,36 @@
|
||||
|
||||
set( STYLESHEET tde-nochunk.xsl )
|
||||
|
||||
|
||||
##### generate developer documentation
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT phb.html
|
||||
COMMENT "Generating developer documentation"
|
||||
COMMAND ${KDE3_MEINPROC_EXECUTABLE}
|
||||
--stylesheet ${DATA_INSTALL_DIR}/ksgmltools2/customization/${STYLESHEET}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/phb.docbook --stdout |
|
||||
${ICONV_EXECUTABLE} -f ISO-8859-1 -t UTF-8 |
|
||||
${SED_EXECUTABLE} "s/ISO-8859-1/UTF-8/g" > phb.html
|
||||
)
|
||||
add_custom_target( phb-docs-html ALL
|
||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/phb.html
|
||||
)
|
||||
|
||||
|
||||
##### generate pdf for developer documentation
|
||||
|
||||
if( BUILD_PDF_DOCS)
|
||||
add_custom_command(
|
||||
OUTPUT kmymoney-phb.pdf
|
||||
COMMENT "Generating pdf for developer documentation"
|
||||
COMMAND ${KDE3_MEINPROC_EXECUTABLE}
|
||||
--stylesheet ${DATA_INSTALL_DIR}/ksgmltools2/customization/${STYLESHEET}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/phb.docbook --stdout |
|
||||
${HTML2PS_EXECUTABLE} -n |
|
||||
${PS2PDF_EXECUTABLE} - kmymoney-phb.pdf
|
||||
)
|
||||
add_custom_target( phb-docs-pdf ALL
|
||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/kmymoney-phb.pdf
|
||||
)
|
||||
endif()
|
@ -1,17 +0,0 @@
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
# Macro defined in FindMEINPROC.cmake handles building and installing
|
||||
ADD_DOCS(kmymoney2 en)
|
||||
|
||||
# Manpages we have to handle manually
|
||||
SET(_in ${CMAKE_CURRENT_SOURCE_DIR}/en/kmymoney2.1)
|
||||
SET(_out ${CMAKE_CURRENT_BINARY_DIR}/kmymoney2.1.gz)
|
||||
|
||||
ADD_CUSTOM_COMMAND(OUTPUT ${_out}
|
||||
COMMAND gzip
|
||||
ARGS -9 -c -N ${_in} > ${_out}
|
||||
DEPENDS ${_in})
|
||||
INSTALL(FILES ${_out}
|
||||
DESTINATION ${MAN_INSTALL_DIR}/man1)
|
||||
ADD_CUSTOM_TARGET(manpages ALL DEPENDS ${_out})
|
||||
ADD_DEPENDENCIES(documentation manpages)
|
@ -1,6 +1,6 @@
|
||||
####### tdevelop will overwrite this part!!! (begin)##########
|
||||
|
||||
SUBDIRS = en
|
||||
SUBDIRS = en man
|
||||
|
||||
####### tdevelop will overwrite this part!!! (end)############
|
||||
|
||||
|
@ -0,0 +1,16 @@
|
||||
EXTRA_DIST = kmymoney2.1
|
||||
|
||||
MOSTLYCLEANFILES = kmymoney2.1.gz
|
||||
|
||||
BUILT_SOURCES = kmymoney2.1.gz
|
||||
|
||||
install-data-hook: kmymoney2.1.gz
|
||||
-rm -f $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/kmymoney2/kmymoney2.1
|
||||
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1/
|
||||
$(INSTALL_DATA) kmymoney2.1.gz $(DESTDIR)$(mandir)/man1/kmymoney2.1.gz
|
||||
|
||||
kmymoney2.1.gz: kmymoney2.1
|
||||
gzip -9 -c -N $(top_srcdir)/$(subdir)/kmymoney2.1 > kmymoney2.1.gz
|
||||
|
||||
uninstall-hook:
|
||||
-rm -f $(DESTDIR)$(mandir)/man1/kmymoney2.1.gz
|
@ -0,0 +1,93 @@
|
||||
#################################################
|
||||
# #
|
||||
# Auxiliary macros for KMyMoney #
|
||||
# #
|
||||
#################################################
|
||||
|
||||
include( TDEMacros )
|
||||
|
||||
|
||||
#################################################
|
||||
#####
|
||||
##### kmm_install_includes
|
||||
#####
|
||||
##### The macro is used to determine the headers that are installed,
|
||||
##### while the symlinks in the binary include directory are created.
|
||||
#####
|
||||
##### Syntax:
|
||||
##### kmm_install_includes(
|
||||
##### [FILES] include_name [include_name]
|
||||
##### [DESTINATION subdir]
|
||||
##### )
|
||||
|
||||
macro( kmm_install_includes )
|
||||
|
||||
unset( _files )
|
||||
unset( _dest )
|
||||
set( _var _files )
|
||||
|
||||
foreach( _arg ${ARGN} )
|
||||
|
||||
# found directive "FILES"
|
||||
if( "+${_arg}" STREQUAL "+FILES" )
|
||||
unset( _files )
|
||||
set( _var _files )
|
||||
set( _directive 1 )
|
||||
endif( )
|
||||
|
||||
# found directive "DESTINATION"
|
||||
if( "+${_arg}" STREQUAL "+DESTINATION" )
|
||||
unset( _dest )
|
||||
set( _var _dest )
|
||||
set( _directive 1 )
|
||||
endif( )
|
||||
|
||||
# collect data
|
||||
if( _directive )
|
||||
unset( _directive )
|
||||
elseif( _var )
|
||||
list( APPEND ${_var} ${_arg} )
|
||||
endif( )
|
||||
|
||||
endforeach( )
|
||||
|
||||
# determine destination directory
|
||||
if( NOT IS_ABSOLUTE "${_dest}" )
|
||||
set( _dest "${INCLUDE_INSTALL_DIR}/${_dest}" )
|
||||
endif()
|
||||
file( RELATIVE_PATH _dest_sub "${INCLUDE_INSTALL_DIR}" "${_dest}" )
|
||||
file( MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/include/${_dest_sub}" )
|
||||
|
||||
# process files
|
||||
foreach( _file IN LISTS _files )
|
||||
if( NOT TARGET kmm-includes )
|
||||
add_custom_target( kmm-includes
|
||||
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
|
||||
COMMENT "Prepare includes..." )
|
||||
endif()
|
||||
|
||||
get_filename_component( _source_name "${_file}" NAME )
|
||||
get_filename_component( _source_file "${_file}" ABSOLUTE )
|
||||
file( RELATIVE_PATH _target_name "${CMAKE_SOURCE_DIR}" "${_source_file}" )
|
||||
string( REPLACE "/" "+" _target_name "${_target_name}" )
|
||||
|
||||
file( RELATIVE_PATH _link_source "${CMAKE_BINARY_DIR}/include/${_dest_sub}" ${_source_file} )
|
||||
file( RELATIVE_PATH _link_dest "${INCLUDE_INSTALL_DIR}" "${_dest}/${_source_name}" )
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT ${CMAKE_BINARY_DIR}/include/${_link_dest}
|
||||
COMMAND
|
||||
${CMAKE_COMMAND} -E create_symlink
|
||||
${_link_source} ${CMAKE_BINARY_DIR}/include/${_link_dest}
|
||||
COMMENT "Include file ${_link_dest}"
|
||||
DEPENDS ${_source_file}
|
||||
)
|
||||
add_custom_target( ${_target_name}
|
||||
DEPENDS ${CMAKE_BINARY_DIR}/include/${_link_dest}
|
||||
)
|
||||
add_dependencies( kmm-includes ${_target_name} )
|
||||
|
||||
install( FILES ${_file} DESTINATION ${_dest} )
|
||||
endforeach( _file )
|
||||
|
||||
endmacro( kmm_install_includes )
|
@ -0,0 +1,150 @@
|
||||
|
||||
add_subdirectory( mymoney )
|
||||
add_subdirectory( widgets )
|
||||
add_subdirectory( dialogs )
|
||||
add_subdirectory( wizards )
|
||||
add_subdirectory( views )
|
||||
add_subdirectory( converter )
|
||||
add_subdirectory( pics )
|
||||
add_subdirectory( icons )
|
||||
add_subdirectory( html )
|
||||
add_subdirectory( plugins )
|
||||
add_subdirectory( reports )
|
||||
add_subdirectory( misc )
|
||||
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/dialogs
|
||||
${CMAKE_SOURCE_DIR}/libkdchart
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kmymoneysettings (static)
|
||||
|
||||
tde_add_library( kmymoneysettings STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
kmymoneysettings.kcfgc
|
||||
kmymoneyglobalsettings.cpp
|
||||
kmymoneyutils.cpp
|
||||
|
||||
LINK
|
||||
dialogs-static
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
)
|
||||
|
||||
|
||||
##### kmymoney2 (executable) ####################
|
||||
|
||||
tde_add_executable( kmymoney2 AUTOMOC
|
||||
SOURCES
|
||||
kstartuplogo.cpp
|
||||
kmymoney2.cpp
|
||||
main.cpp
|
||||
kmymoney2.stub
|
||||
kmymoney2.skel
|
||||
|
||||
LINK
|
||||
kmymoneysettings-static kgpgfile-static
|
||||
settings-static views-static interfaces-static
|
||||
newaccountwizard-static newuserwizard-static wizardpages-static
|
||||
kmm_mymoney-shared kmm_plugin-shared kmm_kdchart-shared
|
||||
tdecore-shared tdeui-shared tdeio-shared tdehtml-shared tdeabc-shared
|
||||
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT kmymoney
|
||||
COMMENT "Creating kmymoney symlink"
|
||||
COMMAND ln -s kmymoney2 kmymoney
|
||||
DEPENDS kmymoney2
|
||||
)
|
||||
add_custom_target( kmymoney-symlink ALL
|
||||
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/kmymoney
|
||||
)
|
||||
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/kmymoney
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### kmymoneytest (test) #######################
|
||||
|
||||
tde_add_check_executable( kmymoneytest AUTOMOC
|
||||
SOURCES
|
||||
kmymoneytest.cpp
|
||||
|
||||
LINK
|
||||
kmymoneysettings-static
|
||||
convertertest-static
|
||||
mymoneytest-static
|
||||
reportstest-static
|
||||
storagetest-static
|
||||
kmm_mymoney-shared
|
||||
tdeio-shared
|
||||
${CPPUNIT_LIBRARY}
|
||||
)
|
||||
|
||||
|
||||
##### other data
|
||||
|
||||
tde_install_icons()
|
||||
|
||||
file( GLOB mimetype_icons RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} mimetype*.png )
|
||||
list( SORT mimetype_icons )
|
||||
foreach( mimetype_icon IN LISTS mimetype_icons )
|
||||
string( REGEX MATCH "^([0-9a-zA-Z]+)_([a-z]+)_(.*)\\.png$" _dummy "${mimetype_icon}" )
|
||||
set( _type "${CMAKE_MATCH_1}" )
|
||||
set( _name "${CMAKE_MATCH_2}" )
|
||||
set( _size "${CMAKE_MATCH_3}" )
|
||||
install(
|
||||
FILES ${mimetype_icon}
|
||||
DESTINATION ${ICON_INSTALL_DIR}/hicolor/${_size}/mimetypes RENAME ${_name}.png
|
||||
)
|
||||
endforeach()
|
||||
|
||||
tde_create_translated_desktop( kmymoney2.desktop )
|
||||
|
||||
tde_create_translated_desktop(
|
||||
SOURCE x-kmymoney2.desktop
|
||||
DESTINATION ${MIME_INSTALL_DIR}/application
|
||||
)
|
||||
|
||||
install(
|
||||
FILES kmymoney2ui.rc tips
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kmymoney2
|
||||
)
|
||||
|
||||
install(
|
||||
FILES kmymoney2.kcfg
|
||||
DESTINATION ${KCFG_INSTALL_DIR}
|
||||
)
|
||||
|
||||
install(
|
||||
DIRECTORY templates/
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kmymoney2/templates
|
||||
PATTERN "Makefile.am" EXCLUDE
|
||||
)
|
||||
|
||||
kmm_install_includes(
|
||||
FILES
|
||||
export.h
|
||||
kmymoneyutils.h
|
||||
kmymoneyglobalsettings.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/kmymoneysettings.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/kmymoney
|
||||
)
|
@ -0,0 +1,57 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kmymoney2
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### converter (static)
|
||||
|
||||
tde_add_library( converter STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
mymoneygncreader.cpp
|
||||
mymoneyqifreader.cpp
|
||||
mymoneyqifwriter.cpp
|
||||
mymoneyqifprofile.cpp
|
||||
mymoneytemplate.cpp
|
||||
mymoneystatementreader.cpp
|
||||
webpricequote.cpp
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
dialogs-static
|
||||
)
|
||||
|
||||
|
||||
##### convertertest (static)
|
||||
|
||||
tde_add_library( convertertest STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
convertertest.cpp
|
||||
|
||||
LINK
|
||||
converter-static
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
|
||||
|
||||
##### other data
|
||||
|
||||
kmm_install_includes(
|
||||
FILES mymoneytemplate.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/kmymoney
|
||||
)
|
@ -0,0 +1,134 @@
|
||||
|
||||
add_subdirectory( settings )
|
||||
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_SOURCE_DIR}/libkdchart
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../mymoney
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### dialogs (static)
|
||||
|
||||
tde_add_library( dialogs STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
kreportconfigurationfilterdlg.cpp
|
||||
kcurrencycalculator.cpp
|
||||
kcurrencyeditdlg.cpp
|
||||
keditequityentrydlg.cpp
|
||||
keditloanwizard.cpp
|
||||
knewloanwizard.cpp
|
||||
kenterscheduledlg.cpp
|
||||
tderecentfileitem.cpp
|
||||
keditscheduledlg.cpp
|
||||
mymoneyqifprofileeditor.cpp
|
||||
kaccountselectdlg.cpp
|
||||
kupdatestockpricedlg.cpp
|
||||
knewequityentrydlg.cpp
|
||||
kstartdlg.cpp
|
||||
kreconciledlg.cpp
|
||||
knewfiledlg.cpp
|
||||
knewbankdlg.cpp
|
||||
knewaccountdlg.cpp
|
||||
kfindtransactiondlg.cpp
|
||||
kendingbalancedlg.cpp
|
||||
ksplittransactiondlg.cpp
|
||||
kimportdlg.cpp
|
||||
kexportdlg.cpp
|
||||
kcsvprogressdlg.cpp
|
||||
kchooseimportexportdlg.cpp
|
||||
kbackupdlg.cpp
|
||||
kequitypriceupdatedlg.cpp
|
||||
kmymoneypricedlg.cpp
|
||||
knewinvestmentwizard.cpp
|
||||
ksecuritylisteditor.cpp
|
||||
kgncimportoptionsdlg.cpp
|
||||
konlinequoteconfigurationdlg.cpp
|
||||
kgncpricesourcedlg.cpp
|
||||
kmymoneyfileinfodlg.cpp
|
||||
tdeselectdatabasedlg.cpp
|
||||
kpayeereassigndlg.cpp
|
||||
kcategoryreassigndlg.cpp
|
||||
tdeconfirmmanualenterdlg.cpp
|
||||
kaccountselectdlgdecl.ui
|
||||
kbackupdlgdecl.ui
|
||||
kchooseimportexportdlgdecl.ui
|
||||
tdeconfirmmanualenterdlgdecl.ui
|
||||
kcsvprogressdlgdecl.ui
|
||||
kcurrencycalculatordecl.ui
|
||||
kcurrencyeditdlgdecl.ui
|
||||
keditequityentrydecl.ui
|
||||
keditscheduledlgdecl.ui
|
||||
kendingbalancedlgdecl.ui
|
||||
kenterscheduledlgdecl.ui
|
||||
kequitypriceupdatedlgdecl.ui
|
||||
kexportdlgdecl.ui
|
||||
kfindtransactiondlgdecl.ui
|
||||
kgncimportoptionsdlgdecl.ui
|
||||
kimportdlgdecl.ui
|
||||
kmymoneypricedlgdecl.ui
|
||||
knewaccountdlgdecl.ui
|
||||
knewbankdlgdecl.ui
|
||||
knewequityentrydecl.ui
|
||||
knewfiledlgdecl.ui
|
||||
knewinvestmentwizarddecl.ui
|
||||
knewloanwizarddecl.ui
|
||||
konlinequoteconfigurationdecl.ui
|
||||
kreconciledlgdecl.ui
|
||||
ksecuritylisteditordecl.ui
|
||||
ksplitcorrectiondlg.ui
|
||||
ksplittransactiondlgdecl.ui
|
||||
kupdatestockpricedlgdecl.ui
|
||||
mymoneyqifprofileeditordecl.ui
|
||||
kgncpricesourcedlgdecl.ui
|
||||
kmymoneyfileinfodlgdecl.ui
|
||||
tdeselectdatabasedlgdecl.ui
|
||||
kpayeereassigndlgdecl.ui
|
||||
kcategoryreassigndlgdecl.ui
|
||||
transactioneditor.cpp
|
||||
investtransactioneditor.cpp
|
||||
investactivities.cpp
|
||||
kbalancechartdlg.cpp
|
||||
kplugindlg.ui
|
||||
kgpgkeyselectiondlg.cpp
|
||||
transactionmatcher.cpp
|
||||
kbalancewarning.cpp
|
||||
knewbudgetdlgdecl.ui
|
||||
knewbudgetdlg.cpp
|
||||
tdeselecttransactionsdlgdecl.ui
|
||||
tdeselecttransactionsdlg.cpp
|
||||
kmergetransactionsdlg.cpp
|
||||
ksortoptiondlg.ui
|
||||
kloadtemplatedlgdecl.ui
|
||||
kloadtemplatedlg.cpp
|
||||
kmymoneysplittable.cpp
|
||||
|
||||
LINK
|
||||
widgets-static
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
)
|
||||
|
||||
|
||||
##### other data
|
||||
|
||||
kmm_install_includes(
|
||||
FILES
|
||||
kcurrencycalculator.h
|
||||
investtransactioneditor.h
|
||||
transactioneditor.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/kcurrencycalculatordecl.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/kmymoney
|
||||
)
|
@ -0,0 +1,46 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### settings (static)
|
||||
|
||||
tde_add_library( settings STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
ksettingsgeneraldecl.ui
|
||||
ksettingsgeneral.cpp
|
||||
ksettingsregisterdecl.ui
|
||||
ksettingsregister.cpp
|
||||
ksettingsgpgdecl.ui
|
||||
ksettingsgpg.cpp
|
||||
ksettingscolorsdecl.ui
|
||||
ksettingscolors.cpp
|
||||
ksettingsfontsdecl.ui
|
||||
ksettingsfonts.cpp
|
||||
ksettingsschedulesdecl.ui
|
||||
ksettingsschedules.cpp
|
||||
ksettingsonlinequotesdecl.ui
|
||||
ksettingsonlinequotes.cpp
|
||||
ksettingshomedecl.ui
|
||||
ksettingshome.cpp
|
||||
ksettingsforecastdecl.ui
|
||||
ksettingsforecast.cpp
|
||||
ksettingsplugins.cpp
|
||||
|
||||
LINK
|
||||
converter-static
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
)
|
@ -0,0 +1,11 @@
|
||||
|
||||
add_subdirectory( images )
|
||||
|
||||
|
||||
file( GLOB _pages RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" home*.html whats_new*.html *.css )
|
||||
list( SORT _pages )
|
||||
|
||||
install(
|
||||
FILES ${_pages}
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kmymoney2/html
|
||||
)
|
@ -0,0 +1,8 @@
|
||||
|
||||
file( GLOB _images RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" *.png *.gif )
|
||||
list( SORT _images )
|
||||
|
||||
install(
|
||||
FILES ${_images}
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kmymoney2/html/images
|
||||
)
|
@ -0,0 +1,18 @@
|
||||
|
||||
file( GLOB _themes RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} * )
|
||||
list( SORT _themes )
|
||||
|
||||
foreach( _theme IN LISTS _themes )
|
||||
if( NOT IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${_theme} )
|
||||
list( REMOVE_ITEM _themes "${_theme}" )
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
install(
|
||||
DIRECTORY ${_themes}
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kmymoney2/icons
|
||||
FILES_MATCHING
|
||||
PATTERN "*.gif"
|
||||
PATTERN "*.png"
|
||||
PATTERN "*.svgz"
|
||||
)
|
@ -0,0 +1,5 @@
|
||||
|
||||
install(
|
||||
FILES financequote.pl
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kmymoney2/misc
|
||||
)
|
@ -0,0 +1,134 @@
|
||||
|
||||
add_subdirectory( storage )
|
||||
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kmm_mymoney (static) ######################
|
||||
|
||||
tde_add_library( kmm_mymoney STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
mymoneymoney.cpp
|
||||
mymoneyfinancialcalculator.cpp
|
||||
mymoneytransactionfilter.cpp
|
||||
mymoneyobject.cpp
|
||||
mymoneykeyvaluecontainer.cpp
|
||||
mymoneyobserver.cpp
|
||||
mymoneysubject.cpp
|
||||
mymoneysplit.cpp
|
||||
mymoneyinstitution.cpp
|
||||
mymoneyexception.cpp
|
||||
mymoneyinvesttransaction.cpp
|
||||
mymoneyutils.cpp
|
||||
mymoneysecurity.cpp
|
||||
mymoneytransaction.cpp
|
||||
mymoneyscheduled.cpp
|
||||
mymoneypayee.cpp
|
||||
mymoneyfile.cpp
|
||||
mymoneycategory.cpp
|
||||
mymoneyaccount.cpp
|
||||
mymoneyreport.cpp
|
||||
mymoneystatement.cpp
|
||||
mymoneyprice.cpp
|
||||
mymoneybudget.cpp
|
||||
mymoneyobjectcontainer.cpp
|
||||
mymoneyforecast.cpp
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
)
|
||||
|
||||
|
||||
##### kmm_mymoney (shared) ######################
|
||||
|
||||
configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )
|
||||
|
||||
tde_add_library( kmm_mymoney SHARED AUTOMOC
|
||||
SOURCES
|
||||
dummy.cpp
|
||||
|
||||
VERSION 5.0.0
|
||||
|
||||
EMBED
|
||||
kmm_mymoney-static
|
||||
|
||||
LINK
|
||||
kmymoneysettings-static
|
||||
storage-static
|
||||
tdecore-shared
|
||||
|
||||
DESTINATION ${LIB_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### mymoneytest (static)
|
||||
|
||||
tde_add_library( mymoneytest STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
mymoneytransactiontest.cpp
|
||||
mymoneysplittest.cpp
|
||||
mymoneymoneytest.cpp
|
||||
mymoneyfiletest.cpp
|
||||
mymoneyaccounttest.cpp
|
||||
mymoneyexceptiontest.cpp
|
||||
mymoneyinstitutiontest.cpp
|
||||
mymoneykeyvaluecontainertest.cpp
|
||||
mymoneyscheduletest.cpp
|
||||
mymoneyfinancialcalculatortest.cpp
|
||||
mymoneysecuritytest.cpp
|
||||
mymoneypricetest.cpp
|
||||
mymoneyobjecttest.cpp
|
||||
mymoneyforecasttest.cpp
|
||||
mymoneypayeetest.cpp
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
|
||||
|
||||
##### other data
|
||||
|
||||
kmm_install_includes(
|
||||
FILES
|
||||
mymoneyobject.h
|
||||
mymoneyaccount.h
|
||||
mymoneycategory.h
|
||||
mymoneyexception.h
|
||||
mymoneyfile.h
|
||||
mymoneyfinancialcalculator.h
|
||||
mymoneyinstitution.h
|
||||
mymoneyinvesttransaction.h
|
||||
mymoneykeyvaluecontainer.h
|
||||
mymoneymoney.h
|
||||
mymoneyobserver.h
|
||||
mymoneypayee.h
|
||||
mymoneyprice.h
|
||||
mymoneyreport.h
|
||||
mymoneyscheduled.h
|
||||
mymoneysecurity.h
|
||||
mymoneysplit.h
|
||||
mymoneystatement.h
|
||||
mymoneysubject.h
|
||||
mymoneytransactionfilter.h
|
||||
mymoneytransaction.h
|
||||
mymoneyutils.h
|
||||
mymoneybudget.h
|
||||
mymoneyobjectcontainer.h
|
||||
mymoneyforecast.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/kmymoney
|
||||
)
|
@ -0,0 +1,63 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### storage (static)
|
||||
|
||||
tde_add_library( storage STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
imymoneystorageformat.cpp
|
||||
mymoneystoragexml.cpp
|
||||
mymoneystoragedump.cpp
|
||||
mymoneyseqaccessmgr.cpp
|
||||
mymoneydatabasemgr.cpp
|
||||
imymoneystorage.cpp
|
||||
imymoneyserialize.cpp
|
||||
mymoneystorageanon.cpp
|
||||
mymoneystoragesql.cpp
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
)
|
||||
|
||||
|
||||
##### storagetest (static)
|
||||
|
||||
tde_add_library( storagetest STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
mymoneyseqaccessmgrtest.cpp
|
||||
mymoneymaptest.cpp
|
||||
mymoneydatabasemgrtest.cpp
|
||||
|
||||
LINK
|
||||
storage-static
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
||||
|
||||
|
||||
##### other data
|
||||
|
||||
kmm_install_includes(
|
||||
FILES
|
||||
imymoneystorage.h
|
||||
imymoneyserialize.h
|
||||
imymoneystorageformat.h
|
||||
mymoneystoragesql.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/kmymoney
|
||||
)
|
@ -0,0 +1,58 @@
|
||||
|
||||
add_subdirectory( interfaces )
|
||||
tde_conditional_add_subdirectory( WITH_LIBOFX ofximport )
|
||||
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kmm_plugin (shared)
|
||||
|
||||
tde_add_library( kmm_plugin SHARED AUTOMOC
|
||||
SOURCES
|
||||
kmymoneyplugin.cpp
|
||||
pluginloader.cpp
|
||||
viewinterface.cpp
|
||||
statementinterface.cpp
|
||||
importinterface.cpp
|
||||
|
||||
VERSION 0.0.0
|
||||
|
||||
LINK
|
||||
tdecore-shared tdeutils-shared
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
|
||||
DESTINATION ${LIB_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data
|
||||
|
||||
tde_create_translated_desktop(
|
||||
SOURCE kmymoneyplugin.desktop kmymoneyimporterplugin.desktop
|
||||
DESTINATION ${SERVICETYPES_INSTALL_DIR}
|
||||
)
|
||||
|
||||
kmm_install_includes(
|
||||
FILES
|
||||
kmymoneyplugin.h
|
||||
pluginloader.h
|
||||
viewinterface.h
|
||||
statementinterface.h
|
||||
importinterface.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/kmymoney
|
||||
)
|
@ -0,0 +1,27 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### interfaces (static)
|
||||
|
||||
tde_add_library( interfaces STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
kmmviewinterface.cpp
|
||||
kmmstatementinterface.cpp
|
||||
kmmimportinterface.cpp
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
)
|
@ -0,0 +1,52 @@
|
||||
|
||||
add_subdirectory( dialogs )
|
||||
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/dialogs
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/dialogs
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kmm_ofximport (kpart)
|
||||
|
||||
tde_add_kpart( kmm_ofximport AUTOMOC
|
||||
SOURCES
|
||||
ofximporterplugin.cpp
|
||||
ofxpartner.cpp
|
||||
|
||||
LINK
|
||||
ofximport-dialogs-static
|
||||
kmm_plugin-shared kmm_mymoney-shared
|
||||
tdecore-shared tdeui-shared tdeio-shared tdehtml-shared
|
||||
${LIBOFX_LIBRARIES}
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
|
||||
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### other data
|
||||
|
||||
install(
|
||||
FILES kmm_ofximport.rc
|
||||
DESTINATION ${DATA_INSTALL_DIR}/kmm_ofximport
|
||||
)
|
||||
|
||||
tde_create_translated_desktop(
|
||||
SOURCE kmm_ofximport.desktop
|
||||
DESTINATION ${SERVICES_INSTALL_DIR}
|
||||
)
|
@ -0,0 +1,31 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### ofximport-dialogs (static)
|
||||
|
||||
tde_add_library( ofximport-dialogs STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
konlinebankingsetupdecl.ui
|
||||
konlinebankingstatusdecl.ui
|
||||
konlinebankingsetupwizard.cpp
|
||||
konlinebankingstatus.cpp
|
||||
kofxdirectconnectdlgdecl.ui
|
||||
kofxdirectconnectdlg.cpp
|
||||
mymoneyofxconnector.cpp
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
)
|
@ -0,0 +1,55 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_SOURCE_DIR}/libkdchart
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### reports (static)
|
||||
|
||||
tde_add_library( reports STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
pivotgrid.cpp
|
||||
pivottable.cpp
|
||||
listtable.cpp
|
||||
querytable.cpp
|
||||
objectinfotable.cpp
|
||||
reportaccount.cpp
|
||||
kreportchartview.cpp
|
||||
|
||||
LINK
|
||||
kmymoneysettings-static
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
)
|
||||
|
||||
|
||||
##### reportstest (static)
|
||||
|
||||
tde_add_library( reportstest STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
reportstestcommon.cpp
|
||||
pivottabletest.cpp
|
||||
pivotgridtest.cpp
|
||||
querytabletest.cpp
|
||||
|
||||
LINK
|
||||
reports-static
|
||||
kmm_kdchart-shared
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
|
||||
EXCLUDE_FROM_ALL
|
||||
)
|
@ -1,11 +0,0 @@
|
||||
########### install files ###############
|
||||
|
||||
INSTALL(DIRECTORY
|
||||
C de_AT de_CH de_DE dk el_GR en_GB en_US es_AR es_ES es_MX fr_CA
|
||||
fr_CH fr_FR gl_ES hu_HU it jp nl_NL pt_BR pt_PT ro_RO ru_RU sk tr_TR
|
||||
zh_CN zh_HK zh_TW
|
||||
DESTINATION share/apps/kmymoney2/templates
|
||||
PATTERN "CVS" EXCLUDE
|
||||
PATTERN ".cvsignore" EXCLUDE
|
||||
PATTERN "*Make*" EXCLUDE
|
||||
)
|
@ -1,31 +0,0 @@
|
||||
/***************************************************************************
|
||||
|FILENAME| - description
|
||||
-------------------
|
||||
begin : |DATE|
|
||||
copyright : (C) 2000-|YEAR| by |AUTHOR|
|
||||
email : |EMAIL|
|
||||
Javier Campos Morales <javi_c@users.sourceforge.net>
|
||||
Felix Rodriguez <frodriguez@users.sourceforge.net>
|
||||
John C <thetacoturtle@users.sourceforge.net>
|
||||
Thomas Baumgart <ipwizard@users.sourceforge.net>
|
||||
Kevin Tambascio <ktambascio@users.sourceforge.net>
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// QT Includes
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// KDE Includes
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Project Includes
|
||||
|
@ -1,17 +0,0 @@
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${TQT_INCLUDE_DIR} )
|
||||
|
||||
|
||||
########### install files ###############
|
||||
|
||||
INSTALL(FILES old-default_accounts.kmt default_categories-template.kmt ScheduleC_business.kmt ScheduleE_rental-property.kmt
|
||||
DESTINATION share/apps/kmymoney2/templates/en_US
|
||||
)
|
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow:
|
||||
|
||||
#templatedir=$(kde_datadir)/kmymoney2/templates/en_US
|
||||
#template_DATA = old-default_accounts.kmt default_categories-template.kmt ScheduleC_business.kmt ScheduleE_rental-property.kmt
|
||||
#
|
||||
#EXTRA_DIST = $(template_DATA)
|
@ -1,30 +0,0 @@
|
||||
/***************************************************************************
|
||||
|FILENAME| - description
|
||||
-------------------
|
||||
begin : |DATE|
|
||||
copyright : (C) 2000-|YEAR| by |AUTHOR|
|
||||
email : |EMAIL|
|
||||
Javier Campos Morales <javi_c@users.sourceforge.net>
|
||||
Felix Rodriguez <frodriguez@users.sourceforge.net>
|
||||
John C <thetacoturtle@users.sourceforge.net>
|
||||
Thomas Baumgart <ipwizard@users.sourceforge.net>
|
||||
Kevin Tambascio <ktambascio@users.sourceforge.net>
|
||||
***************************************************************************/
|
||||
|
||||
/***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// QT Includes
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// KDE Includes
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Project Includes
|
@ -0,0 +1,62 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_SOURCE_DIR}/libkdchart
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### views (static)
|
||||
|
||||
tde_add_library( views STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
kreportsview.cpp
|
||||
kmymoneytransaction.cpp
|
||||
kgloballedgerview.cpp
|
||||
kmymoneyfile.cpp
|
||||
kinvestmentlistitem.cpp
|
||||
kinvestmentviewdecl.ui
|
||||
kinvestmentview.cpp
|
||||
kscheduledlistitem.cpp
|
||||
kscheduledviewdecl.ui
|
||||
kscheduledview.cpp
|
||||
kpayeesview.cpp
|
||||
kpayeesviewdecl.ui
|
||||
khomeview.cpp
|
||||
kcategoriesviewdecl.ui
|
||||
kcategoriesview.cpp
|
||||
kmymoneyview.cpp
|
||||
kaccountsviewdecl.ui
|
||||
kaccountsview.cpp
|
||||
kinstitutionsviewdecl.ui
|
||||
kinstitutionsview.cpp
|
||||
kbudgetview.cpp
|
||||
kbudgetviewdecl.ui
|
||||
kforecastview.cpp
|
||||
kforecastviewdecl.ui
|
||||
|
||||
LINK
|
||||
dialogs-static
|
||||
reports-static
|
||||
storage-static
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
)
|
||||
|
||||
|
||||
##### other data
|
||||
|
||||
kmm_install_includes(
|
||||
FILES kmymoneyview.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/kmymoney
|
||||
)
|
@ -0,0 +1,205 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### generate kmmwidgets.cpp
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT kmmwidgets.cpp
|
||||
COMMENT "Generating kmymoney2/widgets/kmmwidgets.cpp"
|
||||
COMMAND ${KDE3_MAKETDEWIDGETS_EXECUTABLE}
|
||||
-g KMyMoney -n CustomWidgetPlugin -o kmmwidgets.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/kmymoney.widgets
|
||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/kmymoney.widgets
|
||||
)
|
||||
|
||||
|
||||
##### widgets (static)
|
||||
|
||||
tde_add_library( widgets STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
kbudgetvalues.cpp
|
||||
kbudgetvaluesdecl.ui
|
||||
kguiutils.cpp
|
||||
tdelistviewsearchline.cpp
|
||||
kmymoneyaccountcombo.cpp
|
||||
kmymoneyaccountcompletion.cpp
|
||||
kmymoneyaccountselector.cpp
|
||||
kmymoneyaccounttreebase.cpp
|
||||
kmymoneyaccounttree.cpp
|
||||
kmymoneyaccounttreebudget.cpp
|
||||
kmymoneyaccounttreeforecast.cpp
|
||||
kmymoneybriefschedule.cpp
|
||||
kmymoneycalculator.cpp
|
||||
kmymoneycalendar.cpp
|
||||
kmymoneycategory.cpp
|
||||
kmymoneychecklistitem.cpp
|
||||
kmymoneycombo.cpp
|
||||
kmymoneycompletion.cpp
|
||||
kmymoneycurrencyselector.cpp
|
||||
kmymoneydateinput.cpp
|
||||
kmymoneydatetbl.cpp
|
||||
kmymoneyedit.cpp
|
||||
kmymoneyforecastlistviewitem.cpp
|
||||
kmymoneygpgconfig.cpp
|
||||
kmymoneygpgconfigdecl.ui
|
||||
kmymoneylineedit.cpp
|
||||
kmymoneylistviewitem.cpp
|
||||
kmymoneyonlinequoteconfig.cpp
|
||||
kmymoneyonlinequoteconfigdecl.ui
|
||||
kmymoneypriceview.cpp
|
||||
kmymoneyreportconfigtab1decl.ui
|
||||
kmymoneyreportconfigtab2decl.ui
|
||||
kmymoneyreportconfigtab3decl.ui
|
||||
kmymoneyreportconfigtabchartdecl.ui
|
||||
kmymoneyreportcontroldecl.ui
|
||||
kmymoneyscheduledcalendar.cpp
|
||||
kmymoneyscheduleddatetbl.cpp
|
||||
kmymoneyselector.cpp
|
||||
kmymoneytitlelabel.cpp
|
||||
kmymoneywizard.cpp
|
||||
kschedulebriefwidget.ui
|
||||
register.cpp
|
||||
registeritem.cpp
|
||||
registersearchline.cpp
|
||||
transaction.cpp
|
||||
scheduledtransaction.cpp
|
||||
stdtransactiondownloaded.cpp
|
||||
stdtransactionmatched.cpp
|
||||
transactioneditorcontainer.cpp
|
||||
transactionform.cpp
|
||||
kaccounttemplateselectordecl.ui
|
||||
kaccounttemplateselector.cpp
|
||||
transactionsortoption.ui
|
||||
selectedtransaction.cpp
|
||||
|
||||
LINK
|
||||
tdeui-shared
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
)
|
||||
|
||||
|
||||
##### kmymoney (shared)
|
||||
|
||||
if( BUILD_DESIGNER_PLUGIN )
|
||||
|
||||
tde_add_library( kmymoney SHARED AUTOMOC
|
||||
SOURCES
|
||||
kmymoneycompletion.cpp
|
||||
kmymoneyaccountcombo.cpp
|
||||
kmymoneyaccountcompletion.cpp
|
||||
kmymoneycurrencyselector.cpp
|
||||
kmymoneyaccountselector.cpp
|
||||
kmymoneydatetbl.cpp
|
||||
kmymoneycalculator.cpp
|
||||
kmymoneycategory.cpp
|
||||
kmymoneycombo.cpp
|
||||
kmymoneylineedit.cpp
|
||||
kmymoneyedit.cpp
|
||||
kmymoneydateinput.cpp
|
||||
kmymoneyaccounttree.cpp
|
||||
kmymoneytitlelabel.cpp
|
||||
kguiutils.cpp
|
||||
kmymoneyaccounttreebase.cpp
|
||||
kmymoneyaccounttreebudget.cpp
|
||||
kmymoneyaccounttreeforecast.cpp
|
||||
register.cpp
|
||||
registeritem.cpp
|
||||
transaction.cpp
|
||||
scheduledtransaction.cpp
|
||||
selectedtransaction.cpp
|
||||
stdtransactiondownloaded.cpp
|
||||
stdtransactionmatched.cpp
|
||||
transactionform.cpp
|
||||
kmymoneychecklistitem.cpp
|
||||
kmymoneylistviewitem.cpp
|
||||
kmymoneyselector.cpp
|
||||
kbudgetvalues.cpp
|
||||
kaccounttemplateselector.cpp
|
||||
|
||||
${CMAKE_CURRENT_BINARY_DIR}/kbudgetvaluesdecl.cpp
|
||||
${CMAKE_CURRENT_BINARY_DIR}/kaccounttemplateselectordecl.cpp
|
||||
${CMAKE_CURRENT_BINARY_DIR}/kmmwidgets.cpp
|
||||
${CMAKE_CURRENT_BINARY_DIR}/transactionsortoption.cpp
|
||||
|
||||
void-timetrace.cpp
|
||||
|
||||
LINK
|
||||
kmymoneysettings-static
|
||||
kmm_mymoney-static
|
||||
kmm_kdchart-static
|
||||
converter-static
|
||||
dialogs-static
|
||||
reports-static
|
||||
storage-static
|
||||
tdecore-shared tdeui-shared tdeio-shared
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
|
||||
DESTINATION "${TQT_PLUGINS_DIR}/designer"
|
||||
)
|
||||
|
||||
# Make sure to compile the TQt designer version.
|
||||
set_property(
|
||||
TARGET kmymoney-shared
|
||||
APPEND PROPERTY COMPILE_DEFINITIONS KMM_DESIGNER
|
||||
)
|
||||
|
||||
endif()
|
||||
|
||||
|
||||
##### other data
|
||||
|
||||
kmm_install_includes(
|
||||
FILES
|
||||
kmymoneydateinput.h
|
||||
kmymoneyedit.h
|
||||
kmymoneytitlelabel.h
|
||||
kmymoneyaccountselector.h
|
||||
kmymoneycategory.h
|
||||
kmymoneyaccounttreebase.h
|
||||
kmymoneyaccounttree.h
|
||||
kmymoneycurrencyselector.h
|
||||
kguiutils.h
|
||||
kmymoneywizard.h
|
||||
kmymoneyaccounttreebudget.h
|
||||
kmymoneyaccounttreeforecast.h
|
||||
kmymoneyaccountcombo.h
|
||||
register.h
|
||||
registeritem.h
|
||||
transaction.h
|
||||
scheduledtransaction.h
|
||||
stdtransactiondownloaded.h
|
||||
stdtransactionmatched.h
|
||||
selectedtransaction.h
|
||||
transactionform.h
|
||||
transactioneditorcontainer.h
|
||||
kmymoneylineedit.h
|
||||
kmymoneychecklistitem.h
|
||||
kmymoneylistviewitem.h
|
||||
kmymoneyforecastlistviewitem.h
|
||||
kmymoneyselector.h
|
||||
kmymoneyaccountcompletion.h
|
||||
kmymoneycompletion.h
|
||||
kmymoneycombo.h
|
||||
kbudgetvalues.h
|
||||
kaccounttemplateselector.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/kbudgetvaluesdecl.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/transactionsortoption.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/kmymoney
|
||||
)
|
@ -0,0 +1,5 @@
|
||||
// required for the testcases, not used in TQt Designer plugin
|
||||
void timetrace(const char *txt)
|
||||
{
|
||||
Q_UNUSED(txt);
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
|
||||
add_subdirectory( wizardpages )
|
||||
add_subdirectory( newuserwizard )
|
||||
add_subdirectory( newaccountwizard )
|
@ -0,0 +1,39 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/..
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../wizardpages
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### newaccountwizard (static)
|
||||
|
||||
tde_add_library( newaccountwizard STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
knewaccountwizard.cpp
|
||||
kinstitutionpagedecl.ui
|
||||
kaccounttypepagedecl.ui
|
||||
kbrokeragepagedecl.ui
|
||||
kschedulepagedecl.ui
|
||||
kgeneralloaninfopagedecl.ui
|
||||
kloandetailspagedecl.ui
|
||||
kloanpaymentpagedecl.ui
|
||||
kloanschedulepagedecl.ui
|
||||
kloanpayoutpagedecl.ui
|
||||
khierarchypagedecl.ui
|
||||
kaccountsummarypagedecl.ui
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
dialogs-static
|
||||
)
|
@ -0,0 +1,33 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../wizardpages
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### newusertwizard (static)
|
||||
|
||||
tde_add_library( newuserwizard STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
knewuserwizard.cpp
|
||||
kgeneralpagedecl.ui
|
||||
kcurrencypagedecl.ui
|
||||
kpasswordpagedecl.ui
|
||||
kaccountpagedecl.ui
|
||||
kpreferencepagedecl.ui
|
||||
tdefilepagedecl.ui
|
||||
kintropagedecl.ui
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
)
|
@ -0,0 +1,30 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/include
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### wizardpages (static)
|
||||
|
||||
tde_add_library( wizardpages STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
userinfodecl.ui
|
||||
userinfo.cpp
|
||||
currencydecl.ui
|
||||
currency.cpp
|
||||
accountsdecl.ui
|
||||
accounts.cpp
|
||||
|
||||
DEPENDENCIES
|
||||
kmm-includes
|
||||
)
|
@ -1,51 +1,51 @@
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}
|
||||
${ZLIB_INCLUDE_DIR} )
|
||||
|
||||
########### next target ###############
|
||||
|
||||
SET(libkmm_kdchart_la_SOURCES
|
||||
KDChartAreaPainter.cpp
|
||||
KDChartAxesPainter.cpp
|
||||
KDChartAxisParams.cpp
|
||||
KDChartAxisParamsWrapper.cpp
|
||||
KDChartBarPainter.cpp
|
||||
KDChartBaseSeries.cpp
|
||||
KDChartBWPainter.cpp
|
||||
KDChart.cpp
|
||||
KDChartCustomBox.cpp
|
||||
KDChartCustomBoxWrapper.cpp
|
||||
KDChartDataIntern.cpp
|
||||
KDChartEnums.cpp
|
||||
KDChartHiLoPainter.cpp
|
||||
KDChartLinesPainter.cpp
|
||||
KDChartPainter.cpp
|
||||
KDChartParams.cpp
|
||||
KDChartParams_frame.cpp
|
||||
KDChartParams_io.cpp
|
||||
KDChartParamsWrapper.cpp
|
||||
KDChartPiePainter.cpp
|
||||
KDChartPlaneSeries.cpp
|
||||
KDChartPolarPainter.cpp
|
||||
KDChartPropertySet.cpp
|
||||
KDChartRingPainter.cpp
|
||||
KDChartSeriesCollection.cpp
|
||||
KDChartTableBase.cpp
|
||||
KDChartTableDataWrapper.cpp
|
||||
KDChartTextPiece.cpp
|
||||
KDChartVectorSeries.cpp
|
||||
KDChartVectorTable.cpp
|
||||
KDChartWidget.cpp
|
||||
KDDrawText.cpp
|
||||
KDFrame.cpp
|
||||
KDFrameProfileSection.cpp
|
||||
KDXMLTools.cpp
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kmm_kdchart (static)
|
||||
|
||||
tde_add_library( kmm_kdchart STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
KDChart.cpp KDChartAreaPainter.cpp KDChartAxesPainter.cpp
|
||||
KDChartAxisParams.cpp KDChartBarPainter.cpp KDChartBaseSeries.cpp
|
||||
KDChartBWPainter.cpp KDChartCustomBox.cpp KDChartDataIntern.cpp
|
||||
KDChartHiLoPainter.cpp KDChartLinesPainter.cpp KDChartPainter.cpp
|
||||
KDChartParams.cpp KDChartParams_frame.cpp KDChartParams_io.cpp
|
||||
KDChartPiePainter.cpp KDChartPlaneSeries.cpp KDChartPolarPainter.cpp
|
||||
KDChartPropertySet.cpp KDChartRingPainter.cpp KDChartSeriesCollection.cpp
|
||||
KDChartTableBase.cpp KDChartTextPiece.cpp KDChartVectorSeries.cpp
|
||||
KDChartVectorTable.cpp KDChartWidget.cpp KDDrawText.cpp KDFrame.cpp
|
||||
KDFrameProfileSection.cpp KDXMLTools.cpp KDChartEnums.cpp
|
||||
KDChartAxisParamsWrapper.cpp KDChartCustomBoxWrapper.cpp
|
||||
KDChartParamsWrapper.cpp KDChartTableDataWrapper.cpp
|
||||
)
|
||||
|
||||
KDE3_AUTOMOC(${libkmm_kdchart_la_SOURCES})
|
||||
ADD_LIBRARY(kmm_kdchart SHARED ${libkmm_kdchart_la_SOURCES})
|
||||
SET_TARGET_PROPERTIES(kmm_kdchart PROPERTIES VERSION 0.0.0 SOVERSION 0)
|
||||
TARGET_LINK_LIBRARIES(kmm_kdchart ${QT_AND_TDECORE_LIBS} ${ZLIB_LIBRARIES})
|
||||
|
||||
########### install files ###############
|
||||
INSTALL(TARGETS kmm_kdchart
|
||||
DESTINATION lib)
|
||||
##### kmm_kdchart (shared)
|
||||
|
||||
configure_file( ${TDE_CMAKE_TEMPLATES}/tde_dummy_cpp.cmake dummy.cpp COPYONLY )
|
||||
|
||||
tde_add_library( kmm_kdchart SHARED AUTOMOC
|
||||
SOURCES
|
||||
dummy.cpp
|
||||
|
||||
VERSION 0.0.0
|
||||
|
||||
EMBED
|
||||
kmm_kdchart-static
|
||||
|
||||
LINK
|
||||
tdecore-shared
|
||||
|
||||
DESTINATION ${LIB_INSTALL_DIR}
|
||||
)
|
||||
|
@ -0,0 +1,32 @@
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${TQT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
|
||||
##### kgpgfile (static)
|
||||
|
||||
tde_add_library( kgpgfile STATIC_PIC AUTOMOC
|
||||
SOURCES
|
||||
kgpgfile.cpp
|
||||
|
||||
LINK
|
||||
tdecore-shared tdeui-shared tdeio-shared
|
||||
)
|
||||
|
||||
|
||||
##### other data
|
||||
|
||||
kmm_install_includes(
|
||||
FILES kgpgfile.h
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/kmymoney
|
||||
)
|
@ -1,10 +1,2 @@
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
||||
|
||||
FILE(GLOB PO_FILES *.po)
|
||||
ADD_TRANSLATIONS(kmymoney2 ${PO_FILES})
|
||||
|
||||
|
||||
add_custom_target(message-stats
|
||||
COMMAND "sh" "${CMAKE_CURRENT_SOURCE_DIR}/message-stats.sh" "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
########### install files ###############
|
||||
tde_add_project_translations()
|
||||
|
Loading…
Reference in new issue