Files
gnucash/libgnucash/engine/test-core/CMakeLists.txt
John Ralls 1a9fcfefad More conversions from pkg-config variables to imported targets.
Also converts ICU detection from pkgconfig to FindICU.
2019-09-13 17:05:35 -07:00

22 lines
638 B
CMake

set(libgncmod_test_engine_SOURCES
gncmod-test-engine.c test-engine-stuff.cpp
)
add_library(gncmod-test-engine STATIC ${libgncmod_test_engine_SOURCES})
target_link_libraries(gncmod-test-engine PkgConfig::GMODULE)
target_include_directories(gncmod-test-engine PRIVATE
${CMAKE_PREFIX_PATH}/include
${CMAKE_SOURCE_DIR}/libgnucash/gnc-module
${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 ${libgncmod_test_engine_SOURCES}
test-engine-stuff.h test-engine-strings.h)