comparison CMakeLists.txt @ 242:a9883eeb9757

Add tests for Base64
author David Demelier <markand@malikania.fr>
date Thu, 11 Sep 2014 21:09:58 +0200
parents f6d9fdb5eeeb
children 3b4ae8feca1c
comparison
equal deleted inserted replaced
241:d9409b338f2f 242:a9883eeb9757
54 target_include_directories(${name} PRIVATE ${CPPUNIT_INCLUDE_DIR}) 54 target_include_directories(${name} PRIVATE ${CPPUNIT_INCLUDE_DIR})
55 target_link_libraries(${name} ${CPPUNIT_LIBRARY} gtest) 55 target_link_libraries(${name} ${CPPUNIT_LIBRARY} gtest)
56 add_test(${name}-test ${name}) 56 add_test(${name}-test ${name})
57 endfunction() 57 endfunction()
58 58
59 option(WITH_BASE64 "Enable base64 tests" On)
59 option(WITH_CONVERTER "Enable converter tests" On) 60 option(WITH_CONVERTER "Enable converter tests" On)
60 option(WITH_DIRECTORY "Enable directory tests" On) 61 option(WITH_DIRECTORY "Enable directory tests" On)
61 option(WITH_DRIVER "Enable SQL drivers tests" On) 62 option(WITH_DRIVER "Enable SQL drivers tests" On)
62 option(WITH_DYNLIB "Enable DynLib tests" On) 63 option(WITH_DYNLIB "Enable DynLib tests" On)
63 option(WITH_HASH "Enable hash functions tests" On) 64 option(WITH_HASH "Enable hash functions tests" On)
67 option(WITH_PARSER "Enable parser tests" On) 68 option(WITH_PARSER "Enable parser tests" On)
68 option(WITH_SOCKET "Enable sockets tests" On) 69 option(WITH_SOCKET "Enable sockets tests" On)
69 option(WITH_UTF8 "Enable Utf8 functions tests" On) 70 option(WITH_UTF8 "Enable Utf8 functions tests" On)
70 option(WITH_XMLPARSER "Enable XML tests" On) 71 option(WITH_XMLPARSER "Enable XML tests" On)
71 option(WITH_XDG "Enable XDG standard directories tests" On) 72 option(WITH_XDG "Enable XDG standard directories tests" On)
73
74 if (WITH_BASE64)
75 add_subdirectory(C++/Tests/Base64)
76 endif ()
72 77
73 if (WITH_DIRECTORY) 78 if (WITH_DIRECTORY)
74 add_subdirectory(C++/Tests/Directory) 79 add_subdirectory(C++/Tests/Directory)
75 endif () 80 endif ()
76 81