You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
#################################################
|
|
#
|
|
# (C) 2016 Alexander Golubev
|
|
# fatzer2 (AT) gmail.com
|
|
#
|
|
# Improvements and feedback are welcome
|
|
#
|
|
# This file is released under GPL >= 2
|
|
#
|
|
#################################################
|
|
|
|
include_directories(
|
|
${TQT_INCLUDE_DIRS}
|
|
${CMAKE_BINARY_DIR}
|
|
${CMAKE_SOURCE_DIR}
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_SOURCE_DIR}/dcop
|
|
${CMAKE_SOURCE_DIR}/kwallet/client
|
|
${CMAKE_SOURCE_DIR}/kwallet/backend
|
|
${CMAKE_BINARY_DIR}/kdecore
|
|
${CMAKE_SOURCE_DIR}/kdecore
|
|
)
|
|
|
|
link_directories(
|
|
${TQT_LIBRARY_DIRS}
|
|
)
|
|
|
|
tde_add_check_executable( backendtest AUTOMOC
|
|
LINK kwalletbackend-shared kwalletclient-shared )
|
|
add_test( NAME "kwallet/backed/backendtest"
|
|
COMMAND sh -x "${CMAKE_CURRENT_SOURCE_DIR}/backendtest.sh" )
|
|
set_tests_properties( "kwallet/backed/backendtest" PROPERTIES TIMEOUT 30)
|
|
tde_add_check_executable( testbf AUTOMOC
|
|
SOURCES testbf.cpp ../blockcipher.cc ../blowfish.cc
|
|
LINK kwalletbackend-shared kwalletclient-shared TEST )
|
|
tde_add_check_executable( testsha AUTOMOC
|
|
SOURCES testsha.cpp ../sha1.cc
|
|
LINK kwalletbackend-shared kwalletclient-shared TEST )
|