~ubuntu-branches/debian/sid/baloo-kf5/sid

« back to all changes in this revision

Viewing changes to src/file/autotest/fileindexingjob/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2014-07-10 21:13:07 UTC
  • Revision ID: package-import@ubuntu.com-20140710211307-iku0qs6vlplgn06m
Tags: upstream-5.0.0b
ImportĀ upstreamĀ versionĀ 5.0.0b

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
add_executable(baloo_file_extractor_dummy extractor.cpp)
 
2
set_target_properties(baloo_file_extractor_dummy
 
3
    PROPERTIES OUTPUT_NAME baloo_file_extractor
 
4
)
 
5
if(WIN32)
 
6
    set_target_properties(baloo_file_extractor_dummy
 
7
        PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
 
8
endif()
 
9
 
 
10
target_link_libraries(baloo_file_extractor_dummy
 
11
  Qt5::Core
 
12
)
 
13
 
 
14
add_definitions("-DBALOO_TEMP_PATH=\"${CMAKE_CURRENT_BINARY_DIR}\"")
 
15
ecm_add_test(fileindexingjobtest.cpp ../../fileindexingjob.cpp
 
16
    TEST_NAME "fileindexingjobtest"
 
17
    LINK_LIBRARIES Qt5::Test Qt5::Sql KF5::CoreAddons KF5::ConfigCore KF5::FileMetaData ${XAPIAN_LIBRARIES}
 
18
)