gnucash/libgnucash/engine/test-core/CMakeLists.txt
Geert Janssens bbeb9a2b62 Drop all gnc-module dependencies and includes from compilation units that no longer use it
This also drops the python wrapper for gnc-module. As for the guile wrappers,
python should use other means of loading our shared libraries.

This commit required a few tweaks to the dependency chain as some units
inherited dependency information from gnc-module's public dependency
interface.
2020-04-24 22:16:24 +02:00

19 lines
493 B
CMake

set(libgnc_test_engine_SOURCES
test-engine-stuff.cpp
)
add_library(gnc-test-engine STATIC ${libgnc_test_engine_SOURCES})
target_include_directories(gnc-test-engine PRIVATE
${GMODULE_INCLUDE_DIRS}
${CMAKE_BINARY_DIR}/common # for config.h
${CMAKE_SOURCE_DIR}/common
${CMAKE_SOURCE_DIR}/libgnucash/engine
${CMAKE_SOURCE_DIR}/common/test-core
)
set_dist_list(engine_test_core_DIST CMakeLists.txt ${libgnc_test_engine_SOURCES}
test-engine-stuff.h test-engine-strings.h)