diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-03-16 23:34:43 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-03-18 12:45:23 +0100 |
commit | a6454b1658d325d6ff2d6ba6c349b772148798e0 (patch) | |
tree | 7301520567c1e8c5396af155b38d9ceb6b71334b /kmymoney2/wizards | |
parent | d855f704e838b0bcf33907ff38165fd1f745356b (diff) | |
download | kmymoney-a6454b1658d325d6ff2d6ba6c349b772148798e0.tar.gz kmymoney-a6454b1658d325d6ff2d6ba6c349b772148798e0.zip |
Conversion to the cmake building system.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kmymoney2/wizards')
-rw-r--r-- | kmymoney2/wizards/CMakeLists.txt | 4 | ||||
-rw-r--r-- | kmymoney2/wizards/newaccountwizard/CMakeLists.txt | 39 | ||||
-rw-r--r-- | kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp | 1 | ||||
-rw-r--r-- | kmymoney2/wizards/newuserwizard/CMakeLists.txt | 33 | ||||
-rw-r--r-- | kmymoney2/wizards/newuserwizard/knewuserwizard.cpp | 1 | ||||
-rw-r--r-- | kmymoney2/wizards/wizardpages/CMakeLists.txt | 30 |
6 files changed, 108 insertions, 0 deletions
diff --git a/kmymoney2/wizards/CMakeLists.txt b/kmymoney2/wizards/CMakeLists.txt new file mode 100644 index 0000000..409ee6f --- /dev/null +++ b/kmymoney2/wizards/CMakeLists.txt @@ -0,0 +1,4 @@ + +add_subdirectory( wizardpages ) +add_subdirectory( newuserwizard ) +add_subdirectory( newaccountwizard ) diff --git a/kmymoney2/wizards/newaccountwizard/CMakeLists.txt b/kmymoney2/wizards/newaccountwizard/CMakeLists.txt new file mode 100644 index 0000000..c937131 --- /dev/null +++ b/kmymoney2/wizards/newaccountwizard/CMakeLists.txt @@ -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 +) diff --git a/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp b/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp index 9e68171..377615a 100644 --- a/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp +++ b/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp @@ -1693,3 +1693,4 @@ void AccountSummaryPage::enterPage(void) } #include "knewaccountwizard.moc" +#include "knewaccountwizard_p.moc" diff --git a/kmymoney2/wizards/newuserwizard/CMakeLists.txt b/kmymoney2/wizards/newuserwizard/CMakeLists.txt new file mode 100644 index 0000000..5a0d0f2 --- /dev/null +++ b/kmymoney2/wizards/newuserwizard/CMakeLists.txt @@ -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 +) diff --git a/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp b/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp index 01b6155..abeb567 100644 --- a/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp +++ b/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp @@ -365,3 +365,4 @@ bool FilePage::isComplete(void) const } #include "knewuserwizard.moc" +#include "knewuserwizard_p.moc" diff --git a/kmymoney2/wizards/wizardpages/CMakeLists.txt b/kmymoney2/wizards/wizardpages/CMakeLists.txt new file mode 100644 index 0000000..6b4772c --- /dev/null +++ b/kmymoney2/wizards/wizardpages/CMakeLists.txt @@ -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 +) |