1
# Due to the use of system() and some unix-style paths this test will only run
2
# under Linux. (Maybe this can be fixed later)
4
# Moreover, I'm not sure if there is a cvs commandline client for windows
5
# (need to check this out ...)
9
# Running the test only makes sense if the git command line client
10
# is present. So check for it before adding the test...
11
FIND_PROGRAM(GIT NAMES git
20
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
21
set(gitInitTest_SRCS initTest.cpp ../gitplugin.cpp ../gitclonejob.cpp ../stashmanagerdialog.cpp)
22
kde4_add_ui_files(gitInitTest_SRCS ../stashmanagerdialog.ui)
23
kde4_add_unit_test(kdevgit-test ${gitInitTest_SRCS})
24
target_link_libraries(kdevgit-test
27
${KDEVPLATFORM_VCS_LIBRARIES}
28
${KDEVPLATFORM_UTIL_LIBRARIES}
29
${KDEVPLATFORM_TESTS_LIBRARIES}