Warning, /utilities/okteta/kasten/core/document/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set( SUTDIR ${CMAKE_CURRENT_SOURCE_DIR}/.. )
0002
0003 include_directories(
0004 ${CMAKE_CURRENT_BINARY_DIR}/../..
0005 ${SUTDIR}
0006 ${SUTDIR}/..
0007 )
0008
0009 # Configure export macros to be setup as with a static lib
0010 # as the source files are reused for the tests.
0011 # Saves doing a separate export header.
0012 add_definitions(
0013 -DOKTETAKASTENCORE_STATICLIB
0014 )
0015
0016 ########### bytearraydocumenttest ###############
0017
0018 ecm_add_test(
0019 bytearraydocumenttest.cpp
0020 ${SUTDIR}/bytearraydocument.cpp
0021 TEST_NAME bytearraydocumenttest
0022 NAME_PREFIX oktetakasten-document-
0023 LINK_LIBRARIES
0024 KastenCore
0025 testoktetacore
0026 KF5::I18n
0027 Qt5::Test
0028 )
0029
0030
0031 ########### bytearraydocumentfactorytest ###############
0032
0033 ecm_add_test(
0034 bytearraydocumentfactorytest.cpp
0035 ${SUTDIR}/bytearraydocument.cpp
0036 ${SUTDIR}/bytearraydocumentfactory.cpp
0037 TEST_NAME bytearraydocumentfactorytest
0038 NAME_PREFIX oktetakasten-document-
0039 LINK_LIBRARIES
0040 KastenCore
0041 oktetacoretestutil
0042 testoktetacore
0043 KF5::I18n
0044 Qt5::Test
0045 )