mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add test-import-backend to CMakeLists.txt
This commit is contained in:
parent
22770a3ac4
commit
584ccd333d
@ -41,3 +41,47 @@ gnc_add_test(test-import-account-matcher gtest-import-account-matcher.cpp
|
||||
set_dist_list(test_generic_import_DIST CMakeLists.txt
|
||||
test-link.c test-import-parse.c test-import-pending-matches.cpp
|
||||
gtest-import-account-matcher.cpp)
|
||||
|
||||
set(gtest_import_backend_INCLUDE_DIRS
|
||||
${CMAKE_BINARY_DIR}/common # for config.h
|
||||
${CMAKE_SOURCE_DIR}/common
|
||||
${CMAKE_SOURCE_DIR}/gnucash/import-export
|
||||
${CMAKE_SOURCE_DIR}/libgnucash/app-utils
|
||||
${CMAKE_SOURCE_DIR}/libgnucash/core-utils
|
||||
${CMAKE_SOURCE_DIR}/libgnucash/engine
|
||||
${GTEST_INCLUDE_DIR}
|
||||
${GMOCK_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
set(gtest_import_backend_LIBS
|
||||
PkgConfig::GTK3
|
||||
${Boost_LIBRARIES}
|
||||
${GMODULE_LDFLAGS}
|
||||
${GTHREAD_LDFLAGS}
|
||||
${ICU4C_I18N_LDFLAGS}
|
||||
${GTEST_LIB}
|
||||
${GMOCK_LIB}
|
||||
)
|
||||
|
||||
set(gtest_import_backend_SOURCES
|
||||
gtest-import-backend.cpp
|
||||
${CMAKE_SOURCE_DIR}/gnucash/import-export/import-backend.c
|
||||
${CMAKE_SOURCE_DIR}/gnucash/import-export/import-settings.c
|
||||
${CMAKE_SOURCE_DIR}/gnucash/import-export/import-utilities.c
|
||||
gmock-qofinstance.cpp
|
||||
gmock-qofbook.cpp
|
||||
gmock-Account.cpp
|
||||
gmock-Transaction.cpp
|
||||
gmock-Split.cpp
|
||||
${CMAKE_SOURCE_DIR}/libgnucash/engine/gnc-numeric.cpp
|
||||
${CMAKE_SOURCE_DIR}/libgnucash/engine/gnc-rational.cpp
|
||||
${CMAKE_SOURCE_DIR}/libgnucash/engine/gnc-int128.cpp
|
||||
${CMAKE_SOURCE_DIR}/libgnucash/engine/gnc-date.cpp
|
||||
${CMAKE_SOURCE_DIR}/libgnucash/engine/gnc-datetime.cpp
|
||||
${CMAKE_SOURCE_DIR}/libgnucash/engine/gnc-timezone.cpp
|
||||
${CMAKE_SOURCE_DIR}/libgnucash/core-utils/gnc-locale-utils.cpp
|
||||
)
|
||||
|
||||
gnc_add_test(test-import-backend "${gtest_import_backend_SOURCES}"
|
||||
gtest_import_backend_INCLUDE_DIRS gtest_import_backend_LIBS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user