~system-image-client-team/system-image-client/trunk

« back to all changes in this revision

Viewing changes to tests/indexparser/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Albert Astals
  • Date: 2012-07-16 14:52:53 UTC
  • mfrom: (60.2.1 list_versions)
  • Revision ID: tarmac-20120716145253-wx6x3uxhe7r8giis
add a --list-versions switch

returns the list of versions available for the model both in standard output and dbus signals. Approved by Ted Gould, jenkins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
add_definitions(-DDATADIR="${CMAKE_CURRENT_SOURCE_DIR}/data/")
5
5
 
6
6
qt4_generate_moc(indexparsertest.cpp indexparsertest.moc)
7
 
add_executable(indexparsertest indexparsertest.cpp indexparsertest.moc ../../indexparser.cpp ../../indexentry.cpp)
 
7
add_executable(indexparsertest indexparsertest.cpp indexparsertest.moc ../../indexparser.cpp ../../indexentry.cpp ../../hashutils.cpp)
8
8
target_link_libraries(indexparsertest ${QT_QTTEST_LIBRARIES})
9
9
add_test(NAME indexparsertest COMMAND "${CMAKE_CURRENT_BINARY_DIR}/indexparsertest" "-xunitxml" "-o" "indexparsertest-xunit.xml")