Add crypto classes and tests. Link to libgcrypt.

This commit is contained in:
Felix Geyer 2010-09-11 19:49:30 +02:00
parent f5dd24fdbe
commit 6a2034fa24
15 changed files with 684 additions and 5 deletions

View file

@ -17,6 +17,8 @@ project(KeePassX)
cmake_minimum_required(VERSION 2.6.0)
set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake )
option(WITH_TESTS "Enable building of unit tests" ON)
set( KEEPASSX_VERSION "0.9.0" )
@ -41,6 +43,8 @@ include(${QT_USE_FILE})
find_package(Automoc4 REQUIRED)
find_package(Libgcrypt REQUIRED)
add_subdirectory(src)
if( WITH_TESTS )
add_subdirectory(tests)