comparison CMakeLists.txt @ 311:ed3cc10761e4

Json: * Split Json class into several classes * Add unit tests * Json is considered usable
author David Demelier <markand@malikania.fr>
date Fri, 13 Feb 2015 13:42:21 +0100
parents 9ce6d771b4fc
children d52a69f9f029
comparison
equal deleted inserted replaced
310:46e2211fed58 311:ed3cc10761e4
50 option(WITH_DIRECTORY "Enable directory tests" On) 50 option(WITH_DIRECTORY "Enable directory tests" On)
51 option(WITH_DRIVER "Enable SQL drivers tests" On) 51 option(WITH_DRIVER "Enable SQL drivers tests" On)
52 option(WITH_DYNLIB "Enable DynLib tests" On) 52 option(WITH_DYNLIB "Enable DynLib tests" On)
53 option(WITH_FLAGS "Enable Flags tests" On) 53 option(WITH_FLAGS "Enable Flags tests" On)
54 option(WITH_HASH "Enable hash functions tests" On) 54 option(WITH_HASH "Enable hash functions tests" On)
55 option(WITH_JSON "Enable Jansson wrapper tests" On)
55 option(WITH_OPTIONPARSER "Enable option parser tests" On) 56 option(WITH_OPTIONPARSER "Enable option parser tests" On)
56 option(WITH_PACK "Enable pack functions" On) 57 option(WITH_PACK "Enable pack functions" On)
57 option(WITH_PARSER "Enable parser tests" On) 58 option(WITH_PARSER "Enable parser tests" On)
58 option(WITH_SOCKETS "Enable sockets tests" On) 59 option(WITH_SOCKETS "Enable sockets tests" On)
59 option(WITH_TREENODE "Enable treenode tests" On) 60 option(WITH_TREENODE "Enable treenode tests" On)
80 add_subdirectory(C++/Tests/Flags) 81 add_subdirectory(C++/Tests/Flags)
81 endif () 82 endif ()
82 83
83 if (WITH_HASH) 84 if (WITH_HASH)
84 add_subdirectory(C++/Tests/Hash) 85 add_subdirectory(C++/Tests/Hash)
86 endif ()
87
88 if (WITH_JSON)
89 add_subdirectory(C++/Tests/Json)
85 endif () 90 endif ()
86 91
87 if (WITH_OPTIONPARSER) 92 if (WITH_OPTIONPARSER)
88 add_subdirectory(C++/Tests/OptionParser) 93 add_subdirectory(C++/Tests/OptionParser)
89 endif () 94 endif ()