summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-10 22:51:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-05-22 13:28:42 +0900
commit7a5739d94f1b459c01c7f6acf5f3b1d99829d352 (patch)
tree92ebd768f13cf56c09ff97a23e662a941397de13 /src/CMakeLists.txt
parente3823d26a868a9ebb395f4b6e6ff874acae4b595 (diff)
downloadkrecipes-7a5739d9.tar.gz
krecipes-7a5739d9.zip
Add cmake rules for tests files and make tests runnable.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 99e16012c2ddbfa877a77c2176e15c3fea5643e6)
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5634bb3..2fea57e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,6 +1,7 @@
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/src/backends
${CMAKE_BINARY_DIR}
${TQT_INCLUDE_DIRS}
${TDE_INCLUDE_DIR}
@@ -20,6 +21,7 @@ add_subdirectory( dialogs )
add_subdirectory( exporters )
add_subdirectory( importers )
add_subdirectory( widgets )
+add_subdirectory( tests )
##### krecipes (executable)
@@ -27,8 +29,7 @@ add_subdirectory( widgets )
tde_add_executable( krecipes AUTOMOC
SOURCES
main.cpp krecipes.cpp krecipesview.cpp pref.cpp
- krecipesiface.skel krecipesdbiface.skel
- propertycalculator.cpp setupwizard.cpp
+ krecipesiface.skel setupwizard.cpp
shoppingcalculator.cpp kstartuplogo.cpp
recipeactionshandler.cpp recipefilter.cpp
convert_sqlite3.cpp klomanager.cpp