Warning, /graphics/digikam/core/tests/geolocation/editor/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 #
0002 # SPDX-FileCopyrightText: 2010-2024, Gilles Caulier, <caulier dot gilles at gmail dot com>
0003 #
0004 # SPDX-License-Identifier: BSD-3-Clause
0005 #
0006 
0007 APPLY_COMMON_POLICIES()
0008 
0009 include_directories(
0010     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Xml,INTERFACE_INCLUDE_DIRECTORIES>
0011     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Test,INTERFACE_INCLUDE_DIRECTORIES>
0012     $<TARGET_PROPERTY:Qt${QT_VERSION_MAJOR}::Gui,INTERFACE_INCLUDE_DIRECTORIES>
0013 )
0014 
0015 # ----------------------------------------------------------------
0016 
0017 ecm_add_tests(${CMAKE_CURRENT_SOURCE_DIR}/correlator_utest.cpp
0018 
0019               NAME_PREFIX
0020 
0021               "digikam-"
0022 
0023               LINK_LIBRARIES
0024 
0025               digikamcore
0026 
0027               ${COMMON_TEST_LINK}
0028 )
0029 
0030 # ----------------------------------------------------------------
0031 
0032 if(NOT WIN32)
0033 
0034     ecm_add_tests(${CMAKE_CURRENT_SOURCE_DIR}/rgparsing_utest.cpp
0035 
0036                   NAME_PREFIX
0037 
0038                   "digikam-"
0039 
0040                   LINK_LIBRARIES
0041 
0042                   digikamcore
0043 
0044                   ${COMMON_TEST_LINK}
0045     )
0046 
0047 endif()
0048 
0049 # ----------------------------------------------------------------
0050 
0051 ecm_add_tests(${CMAKE_CURRENT_SOURCE_DIR}/gpsimageitem_utest.cpp
0052 
0053               NAME_PREFIX
0054 
0055               "digikam-"
0056 
0057               LINK_LIBRARIES
0058 
0059               digikamcore
0060 
0061               ${COMMON_TEST_LINK}
0062 )
0063 
0064 # ----------------------------------------------------------------
0065 
0066 ecm_add_tests(${CMAKE_CURRENT_SOURCE_DIR}/rgtagmodel_utest.cpp
0067 
0068               NAME_PREFIX
0069 
0070               "digikam-"
0071 
0072               LINK_LIBRARIES
0073 
0074               digikamcore
0075               digikamdatabase
0076 
0077               libmodeltest
0078 
0079               ${COMMON_TEST_LINK}
0080 )
0081 
0082 # ----------------------------------------------------------------
0083 
0084 ecm_add_tests(${CMAKE_CURRENT_SOURCE_DIR}/simpletreemodel_utest.cpp
0085 
0086               NAME_PREFIX
0087 
0088               "digikam-"
0089 
0090               LINK_LIBRARIES
0091 
0092               digikamcore
0093               digikamdatabase
0094 
0095               libmodeltest
0096 
0097               ${COMMON_TEST_LINK}
0098 )